/* --- DR Curriculum Unified Design + Link Status --- */
body.page .site-content:has(a.topic-link) header[class*="bg-white/95"],
body.page .site-content:has(a.topic-link) nav.hidden.md\:flex,
body.page .site-content:has(a.topic-link) .elementor-widget-html > header {
  display: none !important;
}

body.page .site-content:has(a.topic-link) > .ast-container {
  width: 100% !important;
  max-width: 1220px !important;
  padding-left: clamp(10px, 2.5vw, 24px) !important;
  padding-right: clamp(10px, 2.5vw, 24px) !important;
}

body.page .site-content:has(a.topic-link) .bg-gradient-to-br[class*="rounded-3xl"] {
  max-width: 100% !important;
  border: 1px solid rgba(196,181,253,.55) !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, rgba(243,232,255,.72), rgba(255,255,255,.96) 58%, rgba(236,254,255,.54)) !important;
  box-shadow: none !important;
}

body.page .site-content:has(a.topic-link) .bg-gradient-to-br[class*="rounded-3xl"] h1 {
  color: #111827 !important;
  letter-spacing: -0.035em !important;
  text-wrap: balance !important;
}

body.page .site-content:has(a.topic-link) section[class*="bg-gray-50"] {
  background: linear-gradient(180deg, rgba(250,245,255,.42), rgba(255,255,255,.96)) !important;
  border-radius: 24px !important;
  border: 1px solid rgba(221,214,254,.55) !important;
  margin-top: 20px !important;
}

body.page .site-content:has(a.topic-link) .bg-white.rounded-2xl,
body.page .site-content:has(a.topic-link) [class*="bg-white"][class*="rounded-2xl"] {
  border: 1px solid rgba(221,214,254,.72) !important;
  border-radius: 20px !important;
  background: rgba(255,255,255,.98) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.page .site-content:has(a.topic-link) .grid:has(a.topic-link),
body.page .entry-content:has(a.topic-link) .grid:has(a.topic-link) {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: 1fr !important;
  align-items: stretch !important;
  width: min(100%, 940px) !important;
  max-width: 940px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  gap: .55rem !important;
}

body.page .site-content a.topic-link,
body.page .entry-content a.topic-link {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 46px !important;
  padding: .82rem 1rem !important;
  margin: 0 !important;
  border: 1px solid rgba(148,163,184,.24) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  color: #334155 !important;
  text-decoration: none !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
}

body.page .site-content a.topic-link::before,
body.page .entry-content a.topic-link::before {
  content: "" !important;
  width: .48rem !important;
  height: .48rem !important;
  border-radius: 999px !important;
  background: #94a3b8 !important;
  margin-right: .75rem !important;
  flex: 0 0 auto !important;
}

body.page .site-content a.topic-link[href]:not([href=""]):not([href^="#"]),
body.page .entry-content a.topic-link[href]:not([href=""]):not([href^="#"]),
body.page .site-content a.topic-link[href]:not([href=""]):not([href^="#"]):visited,
body.page .entry-content a.topic-link[href]:not([href=""]):not([href^="#"]):visited {
  color: #6d28d9 !important;
  border-color: rgba(124,58,237,.34) !important;
  background: linear-gradient(90deg, rgba(250,245,255,.98), rgba(255,255,255,1)) !important;
  font-weight: 800 !important;
}

body.page .site-content a.topic-link[href]:not([href=""]):not([href^="#"])::before,
body.page .entry-content a.topic-link[href]:not([href=""]):not([href^="#"])::before {
  background: #7c3aed !important;
  box-shadow: 0 0 0 4px rgba(124,58,237,.11) !important;
}

body.page .site-content a.topic-link[href^="#"],
body.page .entry-content a.topic-link[href^="#"],
body.page .site-content a.topic-link:not([href]),
body.page .entry-content a.topic-link:not([href]) {
  color: #475569 !important;
  border-color: rgba(148,163,184,.24) !important;
  background: #ffffff !important;
  font-weight: 650 !important;
  cursor: default !important;
}

body.page .site-content a.topic-link[href]:not([href=""]):not([href^="#"]):hover,
body.page .entry-content a.topic-link[href]:not([href=""]):not([href^="#"]):hover {
  color: #4c1d95 !important;
  border-color: rgba(124,58,237,.5) !important;
  background: #faf5ff !important;
  transform: translateY(-1px) !important;
}

@media(max-width:768px){
  body.page .site-content:has(a.topic-link) > .ast-container { padding-left: 8px !important; padding-right: 8px !important; }
  body.page .site-content:has(a.topic-link) .bg-gradient-to-br[class*="rounded-3xl"] { padding: 22px 14px !important; border-radius: 18px !important; }
  body.page .site-content:has(a.topic-link) section[class*="bg-gray-50"] { padding: 28px 10px !important; border-radius: 18px !important; }
  body.page .site-content:has(a.topic-link) .bg-white.rounded-2xl,
  body.page .site-content:has(a.topic-link) [class*="bg-white"][class*="rounded-2xl"] { border-radius: 16px !important; }
  body.page .site-content a.topic-link,
  body.page .entry-content a.topic-link { min-height: 48px !important; padding: .86rem .92rem !important; border-radius: 13px !important; font-size: .96rem !important; }
}
/* --- End DR Curriculum Unified Design + Link Status --- */

/* --- DR Curriculum Topic Link Weight Softening --- */
body.page .site-content a.topic-link,
body.page .entry-content a.topic-link,
body.page .site-content a.topic-link[href]:not([href=""]):not([href^="#"]),
body.page .entry-content a.topic-link[href]:not([href=""]):not([href^="#"]),
body.page .site-content a.topic-link[href^="#"],
body.page .entry-content a.topic-link[href^="#"] {
  font-weight: 500 !important;
}
/* --- End DR Curriculum Topic Link Weight Softening --- */

/* --- DR Clinical Medicine Curriculum Redesign --- */
html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) {
  --dr-clinical-ink: #111827;
  --dr-clinical-text: #334155;
  --dr-clinical-muted: #64748b;
  --dr-clinical-purple: #7c3aed;
  --dr-clinical-purple-2: #a855f7;
  --dr-clinical-teal: #14b8a6;
  --dr-clinical-blue: #0284c7;
  --dr-clinical-soft: #faf5ff;
  --dr-clinical-soft-2: #f0f9ff;
  --dr-clinical-line: rgba(168, 85, 247, .22);
}

html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content * {
  box-shadow: none !important;
}

html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content {
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ff 42%, #f8fbff 100%) !important;
}

html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .ast-container,
html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .content-area,
html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .site-main,
html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content article,
html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .entry-content,
html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .elementor,
html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .elementor-widget-container {
  max-width: 100% !important;
  width: 100% !important;
}

html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .ast-container,
html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .entry-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content header[class*="bg-white/95"],
html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .elementor-widget-html > header[class*="border-gray-200"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content section,
html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content main > div {
  max-width: 100% !important;
}

html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content div[class*="max-w-7xl"],
html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content div[class*="max-w-5xl"],
html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content div[class*="max-w-4xl"] {
  max-width: min(100%, 1180px) !important;
  width: 100% !important;
}

html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .bg-gradient-to-br[class*="rounded-3xl"] {
  width: calc(100% - clamp(16px, 4vw, 48px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border: 1px solid var(--dr-clinical-line) !important;
  border-radius: clamp(20px, 3vw, 30px) !important;
  background: radial-gradient(circle at 15% 10%, rgba(168,85,247,.16), transparent 34%),
              radial-gradient(circle at 90% 0%, rgba(20,184,166,.13), transparent 32%),
              linear-gradient(135deg, rgba(250,245,255,.98) 0%, rgba(245,243,255,.92) 48%, rgba(240,249,255,.9) 100%) !important;
  padding: clamp(24px, 5vw, 56px) !important;
}

html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .bg-gradient-to-br[class*="rounded-3xl"] h1,
html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .bg-gradient-to-br[class*="rounded-3xl"] h2 {
  color: var(--dr-clinical-ink) !important;
  text-align: center !important;
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
}

html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .bg-gradient-to-br[class*="rounded-3xl"] h1 {
  font-size: clamp(2rem, 4vw, 4.2rem) !important;
}

html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .bg-gradient-to-br[class*="rounded-3xl"] p {
  color: var(--dr-clinical-text) !important;
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  font-size: clamp(1rem, 1.6vw, 1.2rem) !important;
}

html body.page-id-1949 .site-content div[class*="max-w-2xl"][class*="text-center"] {
  max-width: 860px !important;
}

html body.page-id-1949 .site-content div[class*="grid"][class*="max-w-2xl"][class*="lg:grid-cols-3"] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(16px, 2.4vw, 28px) !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: clamp(28px, 4vw, 48px) !important;
}

html body.page-id-1949 .site-content div[class*="grid"][class*="max-w-2xl"][class*="lg:grid-cols-3"] > div[class*="rounded-2xl"] {
  min-width: 0 !important;
  height: auto !important;
  justify-content: flex-start !important;
  gap: 1rem !important;
  border: 1px solid var(--dr-clinical-line) !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,245,255,.78)) !important;
  padding: clamp(18px, 2.6vw, 30px) !important;
  color: var(--dr-clinical-text) !important;
}

html body.page-id-1949 .site-content div[class*="grid"][class*="max-w-2xl"][class*="lg:grid-cols-3"] h3 {
  color: #4c1d95 !important;
  font-size: clamp(1.25rem, 1.9vw, 1.55rem) !important;
  line-height: 1.18 !important;
  font-weight: 700 !important;
}

html body.page-id-1949 .site-content a[href*="clinical-medicine-year"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--dr-clinical-purple), var(--dr-clinical-purple-2)) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.6) !important;
  padding: .85rem 1.1rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

html body.page-id-1949 .site-content section[class*="from-purple-200"] {
  max-width: 1180px !important;
  margin: clamp(28px, 4vw, 48px) auto !important;
  border: 1px solid var(--dr-clinical-line) !important;
  border-radius: clamp(20px, 3vw, 30px) !important;
  background: linear-gradient(135deg, rgba(250,245,255,.96), rgba(240,249,255,.9)) !important;
  padding: clamp(22px, 4vw, 52px) !important;
}

html body.page-id-1949 .site-content section[class*="from-purple-200"] h2,
html body.page-id-1949 .site-content section[class*="from-purple-200"] h3 {
  color: #4c1d95 !important;
}

html body.page-id-1949 .site-content section[class*="from-purple-200"] h3 {
  display: flex !important;
  align-items: center !important;
  gap: .6rem !important;
  border-bottom: 1px solid rgba(168,85,247,.22) !important;
  padding-bottom: .65rem !important;
  margin-top: clamp(20px, 3vw, 34px) !important;
}

html body.page-id-1949 .site-content section[class*="from-purple-200"] h3::before {
  content: "" !important;
  width: .7rem !important;
  height: .7rem !important;
  border-radius: 999px !important;
  background: var(--dr-clinical-teal) !important;
  flex: 0 0 auto !important;
}

html body.page-id-1949 .site-content section[class*="from-purple-200"] ul[class*="space-y-2"] {
  display: grid !important;
  gap: .65rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.page-id-1949 .site-content section[class*="from-purple-200"] li[class*="rounded-md"] {
  list-style: none !important;
  border: 1px solid rgba(168,85,247,.18) !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.82) !important;
  padding: .78rem .95rem !important;
}

html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content div[class*="bg-white"][class*="rounded-2xl"][class*="overflow-hidden"] {
  width: calc(100% - clamp(16px, 4vw, 48px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border: 1px solid var(--dr-clinical-line) !important;
  border-radius: clamp(20px, 3vw, 28px) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,245,255,.55)) !important;
  overflow: hidden !important;
}

html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content div[class*="bg-white"][class*="rounded-2xl"][class*="overflow-hidden"] > div:first-child {
  background: linear-gradient(135deg, rgba(250,245,255,.98), rgba(240,253,250,.85)) !important;
  border-bottom: 1px solid rgba(168,85,247,.18) !important;
}

html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content h1[class*="text-2xl"][class*="font-bold"] {
  color: #4c1d95 !important;
  line-height: 1.12 !important;
  letter-spacing: -.025em !important;
}

html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content div[class*="p-6"][class*="md:p-10"][class*="space-y-12"] {
  padding: clamp(16px, 3vw, 34px) !important;
}

html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content div[class*="border-t"][class*="space-y-6"] {
  border-top: 1px solid rgba(168,85,247,.18) !important;
  border-radius: 18px !important;
  background: linear-gradient(90deg, rgba(250,245,255,.76), rgba(248,250,252,.74)) !important;
  padding: clamp(16px, 2.4vw, 26px) !important;
}

html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content h3[class*="uppercase"][class*="tracking-wider"] {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  border: 1px solid rgba(20,184,166,.24) !important;
  border-radius: 999px !important;
  background: rgba(204,251,241,.72) !important;
  color: #0f766e !important;
  padding: .32rem .72rem !important;
  letter-spacing: .08em !important;
  font-weight: 700 !important;
}

html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content h2[class*="text-xl"][class*="font-bold"] {
  color: #312e81 !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  margin-top: .55rem !important;
}

html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content ul[class*="list-disc"] {
  display: grid !important;
  gap: .55rem !important;
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content ul[class*="list-disc"] > li {
  position: relative !important;
  list-style: none !important;
  border: 1px solid rgba(168,85,247,.16) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.88) !important;
  color: var(--dr-clinical-text) !important;
  padding: .68rem .82rem .68rem 2rem !important;
  line-height: 1.45 !important;
}

html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content ul[class*="list-disc"] > li::before {
  content: "" !important;
  position: absolute !important;
  left: .82rem !important;
  top: 1.1rem !important;
  width: .45rem !important;
  height: .45rem !important;
  border-radius: 999px !important;
  background: var(--dr-clinical-teal) !important;
}

html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content a.content-link,
html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content a.content-link:visited {
  color: var(--dr-clinical-purple) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content a.content-link:hover {
  color: #5b21b6 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
}

html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content a.content-link[href="#"] {
  color: #64748b !important;
  font-weight: 500 !important;
  border-bottom: 1px dashed rgba(100,116,139,.5) !important;
  cursor: default !important;
}

@media (max-width: 900px) {
  html body.page-id-1949 .site-content div[class*="grid"][class*="max-w-2xl"][class*="lg:grid-cols-3"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .bg-gradient-to-br[class*="rounded-3xl"],
  html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content div[class*="bg-white"][class*="rounded-2xl"][class*="overflow-hidden"],
  html body.page-id-1949 .site-content section[class*="from-purple-200"] {
    width: calc(100% - 14px) !important;
    border-radius: 18px !important;
    padding: 16px !important;
  }

  html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .bg-gradient-to-br[class*="rounded-3xl"] h1 {
    font-size: clamp(1.75rem, 9vw, 2.8rem) !important;
  }

  html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content div[class*="p-6"][class*="md:p-10"][class*="space-y-12"] {
    padding: 12px !important;
  }

  html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content div[class*="border-t"][class*="space-y-6"] {
    padding: 13px !important;
    border-radius: 15px !important;
  }

  html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content ul[class*="list-disc"] > li {
    padding: .62rem .7rem .62rem 1.8rem !important;
    border-radius: 12px !important;
  }
}
/* --- End DR Clinical Medicine Curriculum Redesign --- */

/* --- DR Clinical Medicine Mobile Width Tightening --- */
@media (max-width: 768px) {
  html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .elementor-widget-html,
  html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content .elementor-widget-container,
  html body:is(.page-id-1949,.page-id-643,.page-id-1993,.page-id-2008) .site-content div[class*="container"][class*="mx-auto"] {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content div[class*="bg-white"][class*="rounded-2xl"][class*="overflow-hidden"] {
    width: calc(100% - 8px) !important;
    max-width: calc(100% - 8px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content div[class*="bg-white"][class*="rounded-2xl"][class*="overflow-hidden"] > div:first-child {
    padding: 16px !important;
  }

  html body:is(.page-id-643,.page-id-1993,.page-id-2008) .site-content div[class*="p-6"][class*="md:p-10"][class*="space-y-12"] {
    padding: 10px !important;
  }

  html body.page-id-1949 .site-content div[class*="grid"][class*="max-w-2xl"][class*="lg:grid-cols-3"] {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  html body.page-id-1949 .site-content div[class*="grid"][class*="max-w-2xl"][class*="lg:grid-cols-3"] > div[class*="rounded-2xl"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px !important;
  }
}
/* --- End DR Clinical Medicine Mobile Width Tightening --- */
/* --- DR Curriculum Outlier Uniformity Layer --- */
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) {
  --dr-curr-ink: #111827;
  --dr-curr-text: #334155;
  --dr-curr-muted: #64748b;
  --dr-curr-purple: #7c3aed;
  --dr-curr-purple-2: #a855f7;
  --dr-curr-teal: #14b8a6;
  --dr-curr-line: rgba(168, 85, 247, .22);
}

html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content * {
  box-shadow: none !important;
}

html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .ast-container,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .content-area,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .site-main,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content article,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .entry-content,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .elementor,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .elementor-widget-container,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .elementor-widget-html,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .e-con,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .e-con-inner {
  width: 100% !important;
  max-width: 100% !important;
}

html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .ast-container,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .entry-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .breadcrumb-bar {
  width: calc(100% - clamp(12px, 3vw, 32px)) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  border: 1px solid rgba(168,85,247,.14) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.82) !important;
  padding: .65rem 1rem !important;
}

html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .main-section,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .hero-wrapper {
  width: calc(100% - clamp(12px, 3vw, 32px)) !important;
  max-width: 1180px !important;
  margin: clamp(18px, 3vw, 32px) auto !important;
  padding: 0 !important;
  background: transparent !important;
}

html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .content-wrapper,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .hero-card {
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  background: transparent !important;
}

html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .page-header,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .hero-content {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto clamp(24px, 4vw, 42px) !important;
  border: 1px solid rgba(196,181,253,.55) !important;
  border-radius: clamp(20px, 3vw, 30px) !important;
  background: radial-gradient(circle at 12% 8%, rgba(168,85,247,.16), transparent 34%),
              radial-gradient(circle at 88% 0%, rgba(20,184,166,.12), transparent 30%),
              linear-gradient(135deg, rgba(243,232,255,.78), rgba(255,255,255,.96) 58%, rgba(236,254,255,.58)) !important;
  padding: clamp(26px, 5vw, 58px) !important;
  text-align: center !important;
}

html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .page-title,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .hero-title {
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: var(--dr-curr-ink) !important;
  font-size: clamp(2rem, 4vw, 4.1rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.04em !important;
  font-weight: 800 !important;
}

html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .page-header p,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .hero-content p {
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: var(--dr-curr-text) !important;
  font-size: clamp(1rem, 1.55vw, 1.18rem) !important;
  line-height: 1.7 !important;
}

html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .section-title,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .directory-title {
  max-width: 1180px !important;
  margin: clamp(22px, 4vw, 44px) auto clamp(16px, 3vw, 28px) !important;
  text-align: center !important;
  color: var(--dr-curr-ink) !important;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -.03em !important;
  font-weight: 800 !important;
}

html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .year-title,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content h3.year-title,
html body:is(
  .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
) .site-content .main-section > .content-wrapper > h3:not([class]) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 7.5rem !important;
  margin: clamp(16px, 3vw, 32px) auto 1rem !important;
  border: 1px solid rgba(20,184,166,.24) !important;
  border-radius: 999px !important;
  background: rgba(204,251,241,.72) !important;
  color: #0f766e !important;
  padding: .45rem 1rem !important;
  letter-spacing: .08em !important;
  font-weight: 800 !important;
  text-align: center !important;
}

html body:is(
  .page-id-277,
  .page-id-251
) .site-content .course-card {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto clamp(18px, 3vw, 28px) !important;
  border: 1px solid rgba(168,85,247,.2) !important;
  border-radius: clamp(18px, 2.4vw, 26px) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,245,255,.58)) !important;
  padding: clamp(16px, 3vw, 32px) !important;
}

html body:is(
  .page-id-277,
  .page-id-251
) .site-content .course-title,
html body:is(
  .page-id-277,
  .page-id-251
) .site-content .course-card-title {
  color: #4c1d95 !important;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem) !important;
  line-height: 1.18 !important;
  font-weight: 750 !important;
  margin: 0 0 1rem !important;
}

html body:is(
  .page-id-277,
  .page-id-251
) .site-content .module-group {
  border: 1px solid rgba(168,85,247,.14) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.74) !important;
  padding: clamp(12px, 2.3vw, 20px) !important;
  margin-top: .9rem !important;
}

html body:is(
  .page-id-277,
  .page-id-251
) .site-content .module-group > h4,
html body:is(
  .page-id-277,
  .page-id-251
) .site-content .module-title {
  color: #312e81 !important;
  font-weight: 750 !important;
  margin: 0 0 .7rem !important;
}

html body:is(
  .page-id-277,
  .page-id-251
) .site-content .topic-grid,
html body:is(
  .page-id-334,
  .page-id-403
) .site-content .course-list,
html body:is(
  .page-id-334,
  .page-id-403
) .site-content .curriculum-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: .55rem !important;
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: none !important;
}

html body:is(
  .page-id-277,
  .page-id-251
) .site-content .topic-grid .topic-link,
html body:is(
  .page-id-334,
  .page-id-403
) .site-content .curriculum-link-item {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  border: 1px solid rgba(168,85,247,.16) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.88) !important;
  padding: .72rem .9rem !important;
  text-decoration: none !important;
  line-height: 1.35 !important;
  color: #6d28d9 !important;
  font-weight: 500 !important;
  box-sizing: border-box !important;
}

html body:is(
  .page-id-277,
  .page-id-251
) .site-content .topic-grid .topic-link[href^="#"] {
  color: #64748b !important;
}

html body:is(
  .page-id-277,
  .page-id-251
) .site-content .topic-grid .topic-link::before,
html body:is(
  .page-id-334,
  .page-id-403
) .site-content .curriculum-link-item::before {
  content: "" !important;
  display: inline-block !important;
  width: .48rem !important;
  height: .48rem !important;
  border-radius: 999px !important;
  background: var(--dr-curr-teal) !important;
  margin-right: .65rem !important;
  flex: 0 0 auto !important;
}

html body:is(
  .page-id-277,
  .page-id-251
) .site-content .topic-grid .topic-link[href^="#"]::before {
  background: #cbd5e1 !important;
}

html body:is(
  .page-id-334,
  .page-id-403
) .site-content .curriculum-card,
html body:is(
  .page-id-334,
  .page-id-403
) .site-content .curriculum-grid {
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border: 1px solid rgba(168,85,247,.2) !important;
  border-radius: clamp(18px, 2.4vw, 26px) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,245,255,.58)) !important;
  padding: clamp(16px, 3vw, 32px) !important;
}

@media (max-width: 768px) {
  html body:is(
    .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
  ) .site-content .breadcrumb-bar,
  html body:is(
    .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
  ) .site-content .main-section,
  html body:is(
    .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
  ) .site-content .hero-wrapper {
    width: calc(100% - 10px) !important;
    max-width: calc(100% - 10px) !important;
  }

  html body:is(
    .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
  ) .site-content .page-header,
  html body:is(
    .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
  ) .site-content .hero-content {
    padding: 18px !important;
    border-radius: 18px !important;
  }

  html body:is(
    .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
  ) .site-content .page-title,
  html body:is(
    .page-id-277,
  .page-id-251,
  .page-id-334,
  .page-id-403
  ) .site-content .hero-title {
    font-size: clamp(1.8rem, 9vw, 2.75rem) !important;
  }

  html body:is(
    .page-id-277,
  .page-id-251
  ) .site-content .course-card,
  html body:is(
    .page-id-334,
  .page-id-403
  ) .site-content .curriculum-card,
  html body:is(
    .page-id-334,
  .page-id-403
  ) .site-content .curriculum-grid {
    padding: 12px !important;
    border-radius: 18px !important;
  }

  html body:is(
    .page-id-277,
  .page-id-251
  ) .site-content .topic-grid .topic-link,
  html body:is(
    .page-id-334,
  .page-id-403
  ) .site-content .curriculum-link-item {
    padding: .68rem .78rem !important;
    border-radius: 12px !important;
  }
}
/* --- End DR Curriculum Outlier Uniformity Layer --- */

/* --- DR Curriculum Outlier Mobile Full Width Refinement --- */
@media (max-width: 768px) {
  html body:is(.page-id-277,.page-id-251,.page-id-334,.page-id-403) .site-content .main-section,
  html body:is(.page-id-277,.page-id-251,.page-id-334,.page-id-403) .site-content .hero-wrapper {
    width: calc(100% - 2px) !important;
    max-width: calc(100% - 2px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body:is(.page-id-277,.page-id-251) .site-content .course-card,
  html body:is(.page-id-334,.page-id-403) .site-content .curriculum-card,
  html body:is(.page-id-334,.page-id-403) .site-content .curriculum-grid {
    width: 100% !important;
    max-width: 100% !important;
    padding: 6px !important;
  }

  html body:is(.page-id-277,.page-id-251) .site-content .module-group {
    width: 100% !important;
    max-width: 100% !important;
    padding: 6px !important;
  }

  html body:is(.page-id-277,.page-id-251) .site-content .topic-grid,
  html body:is(.page-id-334,.page-id-403) .site-content .course-list,
  html body:is(.page-id-334,.page-id-403) .site-content .curriculum-grid {
    width: 100% !important;
    max-width: 100% !important;
  }

  html body:is(.page-id-277,.page-id-251) .site-content .topic-grid .topic-link,
  html body:is(.page-id-334,.page-id-403) .site-content .curriculum-link-item {
    width: 100% !important;
    max-width: 100% !important;
    padding: .62rem .68rem !important;
  }
}
/* --- End DR Curriculum Outlier Mobile Full Width Refinement --- */
