/**
 * Moeen article system
 * One authoritative stylesheet for every editorial article page.
 */

body[data-scope="moeen-article-page"] {
  --article-ink: #edf8f7;
  --article-text: #c1d3d5;
  --article-muted: #829da1;
  --article-teal: #35d8ce;
  --article-teal-rgb: 53, 216, 206;
  --article-gold: #e6bd5a;
  --article-gold-rgb: 230, 189, 90;
  --article-line: rgba(81, 188, 184, 0.16);
  --article-surface: rgba(7, 28, 36, 0.72);
  --article-surface-strong: #071c24;
  --article-page: #031118;
  --article-radius: 22px;
  --article-header-offset: var(--header-h, 92px);
  background: var(--article-page);
  color: var(--article-text);
}

html.moeen-article-scroll {
  scrollbar-width: none;
}

html.moeen-article-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body[data-scope="moeen-article-page"] main {
  overflow: clip;
}

body[data-scope="moeen-article-page"] .moeen-article-hero {
  position: relative;
  min-height: 0;
  padding: clamp(132px, 12vw, 158px) 20px clamp(55px, 6vw, 72px);
  border-bottom: 1px solid var(--article-line);
  background:
    radial-gradient(circle at 75% 18%, rgba(var(--article-teal-rgb), 0.1), transparent 34%),
    radial-gradient(circle at 18% 70%, rgba(var(--article-gold-rgb), 0.07), transparent 30%),
    linear-gradient(145deg, #061922 0%, #031118 62%, #04151d 100%);
  isolation: isolate;
}

body[data-scope="moeen-article-page"] .moeen-article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(var(--article-teal-rgb), 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--article-teal-rgb), 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}

body[data-scope="moeen-article-page"] .moeen-article-hero .container {
  width: min(1120px, 100%);
  margin-inline: auto;
}

body[data-scope="moeen-article-page"] .moeen-article-hero .page-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(790px, 100%);
  margin-right: 0;
  margin-left: auto;
  text-align: right;
}

body[data-scope="moeen-article-page"] .moeen-article-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--article-muted);
  font-size: 12px;
}

body[data-scope="moeen-article-page"] .moeen-article-hero .breadcrumb a {
  color: #acd2d0;
  text-decoration: none;
}

body[data-scope="moeen-article-page"] .moeen-article-hero .breadcrumb a:hover {
  color: var(--article-teal);
}

body[data-scope="moeen-article-page"] .moeen-article-hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 7px 14px;
  border: 1px solid rgba(var(--article-gold-rgb), 0.34);
  border-radius: 999px;
  color: var(--article-gold);
  background: rgba(var(--article-gold-rgb), 0.07);
  font-size: 12px;
  font-weight: 800;
}

body[data-scope="moeen-article-page"] .moeen-article-hero .kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--article-gold);
  box-shadow: 0 0 14px rgba(var(--article-gold-rgb), 0.65);
}

body[data-scope="moeen-article-page"] .moeen-article-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #f6fbfb;
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

body[data-scope="moeen-article-page"] .moeen-article-hero h1 > span {
  color: #f6fbfb;
}

body[data-scope="moeen-article-page"] .moeen-article-hero h1 > .moeen-article-hero__accent {
  color: var(--article-teal);
  text-shadow: 0 0 28px rgba(var(--article-teal-rgb), 0.1);
}

body[data-scope="moeen-article-page"] .moeen-article-hero .page-hero__inner > p {
  max-width: 720px;
  margin: 19px 0 0;
  color: #a9bfc2;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.75;
  text-wrap: pretty;
}

body[data-scope="moeen-article-page"] .moeen-article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 9px;
  margin-top: 27px;
}

body[data-scope="moeen-article-page"] .moeen-article-hero__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 12px;
  border: 1px solid rgba(var(--article-teal-rgb), 0.18);
  border-radius: 999px;
  color: #9fc5c4;
  background: rgba(var(--article-teal-rgb), 0.045);
  font-size: 11px;
  font-weight: 700;
}

body[data-scope="moeen-article-page"] .moeen-article {
  position: relative;
  padding: clamp(48px, 6vw, 76px) 20px clamp(72px, 8vw, 110px);
  background:
    radial-gradient(circle at 8% 10%, rgba(var(--article-teal-rgb), 0.035), transparent 23%),
    var(--article-page);
}

body[data-scope="moeen-article-page"] .moeen-article__container {
  width: min(1180px, 100%);
  margin-inline: auto;
}

body[data-scope="moeen-article-page"] .moeen-article__layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(240px, 290px);
  grid-template-areas: "content aside";
  justify-content: space-between;
  align-items: start;
  gap: clamp(38px, 5vw, 68px);
  direction: ltr;
}

body[data-scope="moeen-article-page"] .moeen-article__content {
  grid-area: content;
  min-width: 0;
  direction: rtl;
}

body[data-scope="moeen-article-page"] .moeen-article__section {
  margin: 0;
  padding: 32px 0;
  border-bottom: 1px solid var(--article-line);
  scroll-margin-top: calc(var(--article-header-offset) + 28px);
}

body[data-scope="moeen-article-page"] .moeen-article__intro-card {
  margin-bottom: 12px;
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid rgba(var(--article-teal-rgb), 0.18);
  border-radius: var(--article-radius);
  background:
    radial-gradient(circle at 90% 0, rgba(var(--article-teal-rgb), 0.08), transparent 31%),
    linear-gradient(145deg, rgba(9, 35, 44, 0.92), rgba(5, 23, 31, 0.88));
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.18), inset 0 1px rgba(255, 255, 255, 0.03);
  opacity: 1;
}

body[data-scope="moeen-article-page"] .moeen-article__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
  color: var(--article-gold);
  font-size: 12px;
  font-weight: 850;
}

body[data-scope="moeen-article-page"] .moeen-article__eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}

body[data-scope="moeen-article-page"] .moeen-article__lead {
  margin-top: 0;
  color: #e0ecec;
  font-size: clamp(18px, 1.75vw, 21px);
  font-weight: 650;
  line-height: 1.72;
}

body[data-scope="moeen-article-page"] .moeen-article__content h2 {
  position: relative;
  margin: 0 0 20px;
  padding-inline-start: 22px;
  color: var(--article-ink);
  font-size: clamp(25px, 2.55vw, 32px);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: -0.022em;
  text-align: start;
  text-wrap: balance;
}

body[data-scope="moeen-article-page"] .moeen-article__content h2::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--article-teal), var(--article-gold));
}

body[data-scope="moeen-article-page"] .moeen-article__content h2[data-section-index]::after {
  content: attr(data-section-index);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 22px;
  margin-inline-start: 10px;
  border: 1px solid rgba(var(--article-teal-rgb), 0.22);
  border-radius: 8px;
  color: var(--article-teal);
  background: rgba(var(--article-teal-rgb), 0.045);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0;
  vertical-align: 0.24em;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body[data-scope="moeen-article-page"] .moeen-article__section.is-current-section > h2[data-section-index]::after {
  border-color: rgba(var(--article-gold-rgb), 0.45);
  color: var(--article-gold);
  background: rgba(var(--article-gold-rgb), 0.08);
}

body[data-scope="moeen-article-page"].has-article-motion .moeen-article__section[data-article-motion="true"] {
  opacity: 0.62;
  transform: translateY(12px);
  transition: opacity 0.42s ease, transform 0.42s ease, border-color 0.25s ease;
}

body[data-scope="moeen-article-page"].has-article-motion .moeen-article__section[data-article-motion="true"].is-in-view {
  opacity: 1;
  transform: translateY(0);
}

body[data-scope="moeen-article-page"] .moeen-article__section.is-current-section {
  border-bottom-color: rgba(var(--article-gold-rgb), 0.24);
}

body[data-scope="moeen-article-page"] .moeen-article__content h3 {
  position: relative;
  margin: 23px 0 9px;
  padding-inline-start: 18px;
  color: #dcebea;
  font-size: clamp(19px, 1.75vw, 22px);
  font-weight: 850;
  line-height: 1.5;
  text-align: start;
}

body[data-scope="moeen-article-page"] .moeen-article__content h3::before {
  content: "";
  position: absolute;
  inset-block-start: 0.68em;
  inset-inline-start: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--article-gold);
  box-shadow: 0 0 0 5px rgba(var(--article-gold-rgb), 0.08);
}

body[data-scope="moeen-article-page"] .moeen-article__content p,
body[data-scope="moeen-article-page"] .moeen-article__content li {
  color: var(--article-text);
  font-size: clamp(16px, 1.25vw, 17px);
  line-height: 1.72;
}

body[data-scope="moeen-article-page"] .moeen-article__content p {
  margin: 0 0 13px;
}

body[data-scope="moeen-article-page"] .moeen-article__content ul,
body[data-scope="moeen-article-page"] .moeen-article__content ol {
  display: grid;
  gap: 9px;
  margin: 18px 0 24px;
  padding-inline-start: 25px;
}

body[data-scope="moeen-article-page"] .moeen-article__content li::marker {
  color: var(--article-gold);
  font-weight: 900;
}

body[data-scope="moeen-article-page"] .moeen-article__content strong {
  color: #e5f1f0;
}

body[data-scope="moeen-article-page"] .moeen-article__content a:not(.moeen-article__related-card):not(.moeen-article__related-cta) {
  color: var(--article-teal);
  text-underline-offset: 4px;
}

body[data-scope="moeen-article-page"] .moeen-article__ai-note,
body[data-scope="moeen-article-page"] .moeen-article__pull-note {
  position: relative;
  margin: 25px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(var(--article-teal-rgb), 0.15);
  border-radius: 15px;
  background: rgba(var(--article-teal-rgb), 0.055);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body[data-scope="moeen-article-page"] .moeen-article__ai-note:hover,
body[data-scope="moeen-article-page"] .moeen-article__pull-note:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--article-teal-rgb), 0.3);
}

body[data-scope="moeen-article-page"] .moeen-article__ai-note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
}

body[data-scope="moeen-article-page"] .moeen-article__ai-note > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #05171d;
  background: linear-gradient(135deg, var(--article-teal), #87e6bf);
}

body[data-scope="moeen-article-page"] .moeen-article__ai-note p,
body[data-scope="moeen-article-page"] .moeen-article__pull-note {
  margin: 0;
  color: #cfe3e2;
  font-size: 15px;
  line-height: 1.8;
}

body[data-scope="moeen-article-page"] .moeen-article__visual-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 15px 16px;
  border: 1px solid rgba(var(--article-teal-rgb), 0.16);
  border-radius: 15px;
  background: linear-gradient(90deg, rgba(var(--article-teal-rgb), 0.07), transparent 58%), rgba(2, 17, 23, 0.52);
}

body[data-scope="moeen-article-page"] .moeen-article__visual-guide-head {
  display: grid;
  gap: 4px;
}

body[data-scope="moeen-article-page"] .moeen-article__visual-guide-head span {
  color: var(--article-teal);
  font-size: 10px;
  font-weight: 850;
}

body[data-scope="moeen-article-page"] .moeen-article__visual-guide-head strong {
  color: #cce0df;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
}

body[data-scope="moeen-article-page"] .moeen-article__visual-guide-steps {
  display: flex;
  align-items: center;
  gap: 7px;
}

body[data-scope="moeen-article-page"] .moeen-article__visual-guide-steps button {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid rgba(var(--article-teal-rgb), 0.16);
  border-radius: 11px;
  color: #8fafb0;
  background: rgba(var(--article-teal-rgb), 0.025);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

body[data-scope="moeen-article-page"] .moeen-article__visual-guide-steps button b {
  color: currentColor;
  font-size: 8px;
}

body[data-scope="moeen-article-page"] .moeen-article__visual-guide-steps button span {
  font-size: 10px;
  font-weight: 850;
}

body[data-scope="moeen-article-page"] .moeen-article__visual-guide-steps button:hover,
body[data-scope="moeen-article-page"] .moeen-article__visual-guide-steps button.is-active {
  transform: translateY(-1px);
  border-color: rgba(var(--article-teal-rgb), 0.48);
  color: #dff9f6;
  background: rgba(var(--article-teal-rgb), 0.12);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.13);
}

body[data-scope="moeen-article-page"] .moeen-article__pull-note {
  border-inline-start: 3px solid var(--article-gold);
  background: rgba(var(--article-gold-rgb), 0.055);
}

body[data-scope="moeen-article-page"] .moeen-article__table-wrap {
  max-width: 100%;
  margin: 25px 0;
  overflow-x: auto;
  border: 1px solid var(--article-line);
  border-radius: 16px;
}

body[data-scope="moeen-article-page"] .moeen-article__table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: rgba(5, 24, 31, 0.68);
}

body[data-scope="moeen-article-page"] .moeen-article__table th,
body[data-scope="moeen-article-page"] .moeen-article__table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--article-line);
  color: var(--article-text);
  font-size: 14px;
  line-height: 1.7;
  text-align: start;
}

body[data-scope="moeen-article-page"] .moeen-article__table th {
  color: var(--article-ink);
  background: rgba(var(--article-teal-rgb), 0.08);
  font-weight: 850;
}

body[data-scope="moeen-article-page"] .moeen-article__table tbody tr {
  transition: background 0.18s ease;
}

body[data-scope="moeen-article-page"] .moeen-article__table tbody tr:hover {
  background: rgba(var(--article-teal-rgb), 0.045);
}

body[data-scope="moeen-article-page"] .moeen-article__summary {
  display: grid;
  gap: 9px;
  margin: 46px 0 0;
  padding: 24px 26px;
  border: 1px solid rgba(var(--article-gold-rgb), 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 95% 0, rgba(var(--article-gold-rgb), 0.09), transparent 32%),
    rgba(8, 29, 36, 0.78);
}

body[data-scope="moeen-article-page"] .moeen-article__summary strong {
  color: var(--article-gold);
  font-size: 16px;
}

body[data-scope="moeen-article-page"] .moeen-article__summary span {
  color: #b9cecf;
  font-size: 15px;
  line-height: 1.8;
}

body[data-scope="moeen-article-page"] .moeen-article__aside {
  grid-area: aside;
  position: sticky;
  top: calc(var(--article-header-offset) + 16px);
  align-self: start;
  min-width: 0;
  padding: 0;
  overflow: visible;
  direction: rtl;
}

body[data-scope="moeen-article-page"] .moeen-article__toc {
  position: relative;
  padding: 17px;
  border: 1px solid var(--article-line);
  border-radius: 19px;
  background: rgba(5, 24, 32, 0.91);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(14px);
}

body[data-scope="moeen-article-page"] .moeen-article__toc-title {
  display: block;
  margin-bottom: 5px;
  color: var(--article-ink);
  font-size: 18px;
  font-weight: 900;
}

body[data-scope="moeen-article-page"] .moeen-article__progress-label {
  display: block;
  color: var(--article-muted);
  font-size: 10px;
}

body[data-scope="moeen-article-page"] .moeen-article__progress-track {
  display: block;
  width: 100%;
  height: 3px;
  margin: 14px 0 15px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

body[data-scope="moeen-article-page"] .moeen-article__progress-bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #20bdb5, var(--article-teal));
  transition: width 0.15s linear;
}

body[data-scope="moeen-article-page"] .moeen-article__toc-list {
  display: grid;
  gap: 3px;
  max-height: clamp(180px, 26vh, 240px);
  padding-inline-end: 3px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body[data-scope="moeen-article-page"] .moeen-article__toc-list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body[data-scope="moeen-article-page"] .moeen-article__toc-list a {
  position: relative;
  display: block;
  padding: 8px 12px;
  border-radius: 9px;
  color: #8ea9ad;
  font-size: 11px;
  line-height: 1.55;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

body[data-scope="moeen-article-page"] .moeen-article__toc-list a::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto auto;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(var(--article-teal-rgb), 0.35);
  transform: translateY(-50%);
}

body[data-scope="moeen-article-page"] .moeen-article__toc-list a:hover,
body[data-scope="moeen-article-page"] .moeen-article__toc-list a.is-active {
  color: #e7f3f2;
  background: rgba(var(--article-teal-rgb), 0.07);
}

body[data-scope="moeen-article-page"] .moeen-article__toc-list a.is-active {
  border: 1px solid rgba(var(--article-teal-rgb), 0.26);
  background: linear-gradient(90deg, rgba(var(--article-teal-rgb), 0.13), rgba(var(--article-teal-rgb), 0.055));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1), inset 0 1px rgba(255, 255, 255, 0.025);
  transform: translateX(-2px);
}

body[data-scope="moeen-article-page"] .moeen-article__toc-list a.is-active::before {
  width: 6px;
  height: 6px;
  background: var(--article-teal);
  box-shadow: 0 0 11px rgba(var(--article-teal-rgb), 0.68);
}

body[data-scope="moeen-article-page"] .moeen-article__toc-cta {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid rgba(var(--article-gold-rgb), 0.2);
  border-radius: 17px;
  background: rgba(var(--article-gold-rgb), 0.045);
}

body[data-scope="moeen-article-page"] .moeen-article__toc-cta h3 {
  margin: 0 0 8px;
  color: var(--article-ink);
  font-size: 13px;
  line-height: 1.55;
}

body[data-scope="moeen-article-page"] .moeen-article__toc-cta p {
  display: none;
}

body[data-scope="moeen-article-page"] .moeen-article__toc-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 37px;
  border-radius: 11px;
  color: #09171a;
  background: linear-gradient(135deg, #efca72, var(--article-gold));
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

body[data-scope="moeen-article-page"] .moeen-article__toc-mobile {
  grid-area: mobile-toc;
  display: none;
}

body[data-scope="moeen-article-page"] .moeen-article__related {
  margin: 58px 0 0;
  padding: 0;
}

body[data-scope="moeen-article-page"] .moeen-article__related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

body[data-scope="moeen-article-page"] .moeen-article__related-head > span {
  color: var(--article-gold);
  font-size: 11px;
  font-weight: 800;
}

body[data-scope="moeen-article-page"] .moeen-article__related-head h2 {
  margin: 0;
  padding: 0;
  font-size: clamp(26px, 3vw, 34px);
}

body[data-scope="moeen-article-page"] .moeen-article__related-head h2::before {
  display: none;
}

body[data-scope="moeen-article-page"] .moeen-article__related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

body[data-scope="moeen-article-page"] .moeen-article__related-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 220px;
  padding: 19px;
  border: 1px solid var(--article-line);
  border-radius: 17px;
  color: inherit;
  background: rgba(7, 27, 35, 0.7);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

body[data-scope="moeen-article-page"] .moeen-article__related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--article-teal-rgb), 0.38);
  background: rgba(9, 34, 43, 0.92);
}

body[data-scope="moeen-article-page"] .moeen-article__related-category {
  color: var(--article-teal);
  font-size: 10px;
  font-weight: 800;
}

body[data-scope="moeen-article-page"] .moeen-article__related-title {
  margin: 12px 0 9px;
  color: var(--article-ink);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.65;
}

body[data-scope="moeen-article-page"] .moeen-article__related-excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--article-muted);
  font-size: 12px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body[data-scope="moeen-article-page"] .moeen-article__related-cta {
  margin-top: auto;
  padding-top: 14px;
  color: var(--article-gold);
  font-size: 11px;
  font-weight: 850;
}

body[data-scope="moeen-article-page"] .moeen-article__related.is-sidebar-related {
  margin: 12px 0 0;
  padding: 12px;
  border: 1px solid var(--article-line);
  border-radius: 17px;
  background: rgba(5, 24, 32, 0.76);
}

body[data-scope="moeen-article-page"] .moeen-article__related.is-sidebar-related .moeen-article__related-head {
  display: block;
  margin-bottom: 5px;
}

body[data-scope="moeen-article-page"] .moeen-article__related.is-sidebar-related .moeen-article__related-head > span {
  display: block;
  margin-bottom: 2px;
  font-size: 9px;
}

body[data-scope="moeen-article-page"] .moeen-article__related.is-sidebar-related .moeen-article__related-head h2 {
  color: var(--article-ink);
  font-size: 16px;
  line-height: 1.5;
}

body[data-scope="moeen-article-page"] .moeen-article__related.is-sidebar-related .moeen-article__related-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

body[data-scope="moeen-article-page"] .moeen-article__related.is-sidebar-related .moeen-article__related-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 9px;
  min-height: 0;
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid rgba(var(--article-teal-rgb), 0.1);
  border-radius: 0;
  background: transparent;
}

body[data-scope="moeen-article-page"] .moeen-article__related.is-sidebar-related .moeen-article__related-card:last-child {
  border-bottom: 0;
}

body[data-scope="moeen-article-page"] .moeen-article__related.is-sidebar-related .moeen-article__related-card:hover {
  transform: none;
  border-color: rgba(var(--article-teal-rgb), 0.22);
  background: rgba(var(--article-teal-rgb), 0.035);
}

body[data-scope="moeen-article-page"] .moeen-article__related.is-sidebar-related .moeen-article__related-image {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(var(--article-teal-rgb), 0.13);
  border-radius: 9px;
  object-fit: cover;
}

body[data-scope="moeen-article-page"] .moeen-article__related.is-sidebar-related .moeen-article__related-category {
  align-self: end;
  font-size: 8.5px;
}

body[data-scope="moeen-article-page"] .moeen-article__related.is-sidebar-related .moeen-article__related-title {
  align-self: start;
  margin: 0;
  color: #d8e9e8;
  display: -webkit-box;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-scope="moeen-article-page"] .moeen-article__related.is-sidebar-related .moeen-article__related-excerpt,
body[data-scope="moeen-article-page"] .moeen-article__related.is-sidebar-related .moeen-article__related-cta {
  display: none;
}

body[data-scope="moeen-article-page"] .moeen-article__share {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 40px 0 0;
  padding: 20px 0;
  border-top: 1px solid var(--article-line);
  border-bottom: 1px solid var(--article-line);
}

body[data-scope="moeen-article-page"] .moeen-article__share-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--article-muted);
  font-size: 10px;
}

body[data-scope="moeen-article-page"] .moeen-article__share-title {
  margin: 0;
  color: var(--article-ink);
  font-size: 19px;
  font-weight: 900;
}

body[data-scope="moeen-article-page"] .moeen-article__share-actions {
  display: flex;
  gap: 8px;
}

body[data-scope="moeen-article-page"] .moeen-article__share-actions a,
body[data-scope="moeen-article-page"] .moeen-article__share-actions button {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(var(--article-teal-rgb), 0.2);
  border-radius: 13px;
  color: var(--article-teal);
  background: rgba(var(--article-teal-rgb), 0.055);
  cursor: pointer;
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

body[data-scope="moeen-article-page"] .moeen-article__share-actions svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

body[data-scope="moeen-article-page"] .moeen-article__share-actions [data-share="copy"] svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body[data-scope="moeen-article-page"] .moeen-article__share-actions a:hover,
body[data-scope="moeen-article-page"] .moeen-article__share-actions button:hover,
body[data-scope="moeen-article-page"] .moeen-article__share-actions button.is-copied {
  transform: translateY(-2px);
  border-color: rgba(var(--article-gold-rgb), 0.55);
  color: var(--article-gold);
  background: rgba(var(--article-gold-rgb), 0.08);
}

body[data-scope="moeen-article-page"] .moeen-article__share-toast {
  position: fixed;
  inset: auto auto 26px 50%;
  z-index: 9999;
  min-width: 210px;
  max-width: calc(100vw - 28px);
  padding: 11px 16px;
  border: 1px solid rgba(var(--article-teal-rgb), 0.34);
  border-radius: 12px;
  color: #dff8f5;
  background: rgba(5, 28, 36, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(12px);
}

body[data-scope="moeen-article-page"] .moeen-article__share-toast::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-inline-end: 7px;
  border-radius: 50%;
  color: #042126;
  background: var(--article-teal);
  font-size: 11px;
}

body[data-scope="moeen-article-page"] .moeen-article__share-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

body[data-scope="moeen-article-page"] .moeen-article__share-toast.is-error {
  border-color: rgba(255, 117, 132, 0.46);
  color: #ffd8dd;
}

body[data-scope="moeen-article-page"] .moeen-article__share-toast.is-error::before {
  content: "!";
  color: #fff;
  background: #d95264;
}

body[data-scope="moeen-article-page"] .moeen-article__comments {
  margin: 28px 0 0;
  padding: clamp(23px, 4vw, 34px);
  border: 1px solid var(--article-line);
  border-radius: var(--article-radius);
  background:
    radial-gradient(circle at 95% 0, rgba(var(--article-teal-rgb), 0.07), transparent 30%),
    rgba(6, 25, 33, 0.72);
}

body[data-scope="moeen-article-page"] .moeen-article__comments > h2 {
  margin: 0 0 6px;
  padding: 0;
  font-size: clamp(25px, 3vw, 32px);
}

body[data-scope="moeen-article-page"] .moeen-article__comments > h2::before {
  display: none;
}

body[data-scope="moeen-article-page"] .moeen-article__comments > p {
  margin: 0 0 22px;
  color: var(--article-muted);
  font-size: 13px;
  line-height: 1.75;
}

body[data-scope="moeen-article-page"] .moeen-article__published-comments {
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(var(--article-teal-rgb), 0.1);
  border-radius: 15px;
  background: rgba(2, 14, 19, 0.34);
}

body[data-scope="moeen-article-page"] .moeen-article__published-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
  color: var(--article-muted);
  font-size: 11px;
}

body[data-scope="moeen-article-page"] .moeen-article__published-head strong {
  color: var(--article-gold);
}

body[data-scope="moeen-article-page"] .moeen-article__comments-empty {
  margin: 0;
  padding: 15px;
  border: 1px dashed rgba(var(--article-teal-rgb), 0.17);
  border-radius: 12px;
  color: #9eb7b9;
  background: rgba(var(--article-teal-rgb), 0.025);
  font-size: 13px;
}

body[data-scope="moeen-article-page"] .moeen-article__comments-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-scope="moeen-article-page"] .moeen-article__comment {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--article-line);
}

body[data-scope="moeen-article-page"] .moeen-article__comment:last-child {
  border-bottom: 0;
}

body[data-scope="moeen-article-page"] .moeen-article__comment-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(var(--article-teal-rgb), 0.2);
  border-radius: 13px;
  color: var(--article-teal);
  background: rgba(var(--article-teal-rgb), 0.06);
  font-weight: 900;
}

body[data-scope="moeen-article-page"] .moeen-article__comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
  font-size: 12px;
}

body[data-scope="moeen-article-page"] .moeen-article__comment-meta time {
  color: var(--article-muted);
  font-size: 10px;
}

body[data-scope="moeen-article-page"] .moeen-article__comment-content p {
  margin: 0;
  color: #afc6c8;
  font-size: 14px;
  line-height: 1.8;
}

body[data-scope="moeen-article-page"] .moeen-article__form {
  padding: clamp(18px, 3vw, 25px);
  border: 1px solid rgba(var(--article-teal-rgb), 0.11);
  border-radius: 17px;
  background: rgba(2, 15, 21, 0.42);
}

body[data-scope="moeen-article-page"] .moeen-article__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

body[data-scope="moeen-article-page"] .moeen-article__form label {
  display: grid;
  gap: 7px;
  color: #cadede;
  font-size: 12px;
  font-weight: 800;
}

body[data-scope="moeen-article-page"] .moeen-article__form-full {
  grid-column: 1 / -1;
}

body[data-scope="moeen-article-page"] .moeen-article__form input,
body[data-scope="moeen-article-page"] .moeen-article__form textarea {
  width: 100%;
  border: 1px solid rgba(var(--article-teal-rgb), 0.16);
  border-radius: 12px;
  outline: 0;
  color: var(--article-ink);
  background: rgba(3, 18, 24, 0.82);
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

body[data-scope="moeen-article-page"] .moeen-article__form input {
  min-height: 49px;
  padding: 10px 13px;
}

body[data-scope="moeen-article-page"] .moeen-article__form textarea {
  min-height: 132px;
  padding: 13px;
  resize: vertical;
}

body[data-scope="moeen-article-page"] .moeen-article__form input:focus,
body[data-scope="moeen-article-page"] .moeen-article__form textarea:focus {
  border-color: rgba(var(--article-teal-rgb), 0.68);
  background: rgba(4, 24, 31, 0.95);
  box-shadow: 0 0 0 4px rgba(var(--article-teal-rgb), 0.075);
}

body[data-scope="moeen-article-page"] .moeen-article__form input::placeholder,
body[data-scope="moeen-article-page"] .moeen-article__form textarea::placeholder {
  color: rgba(151, 181, 184, 0.48);
}

body[data-scope="moeen-article-page"] .moeen-article__form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  min-height: 47px;
  margin-top: 16px;
  padding: 10px 22px;
  border: 0;
  border-radius: 12px;
  color: #041619;
  background: linear-gradient(135deg, #5ae3da, var(--article-teal));
  box-shadow: 0 12px 28px rgba(var(--article-teal-rgb), 0.15);
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body[data-scope="moeen-article-page"] .moeen-article__form button[type="submit"]:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 32px rgba(var(--article-teal-rgb), 0.22);
}

body[data-scope="moeen-article-page"] .moeen-article__form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

body[data-scope="moeen-article-page"] .moeen-article__form button.is-submitting::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-inline-end: 8px;
  border: 2px solid rgba(4, 22, 25, 0.25);
  border-top-color: #041619;
  border-radius: 50%;
  animation: moeen-article-spin 0.7s linear infinite;
}

body[data-scope="moeen-article-page"] .moeen-article__form-alert {
  min-height: 20px;
  margin-top: 9px;
  color: var(--article-teal);
  font-size: 12px;
}

body[data-scope="moeen-article-page"] .moeen-article__form-alert.is-error {
  color: #ff8793;
}

body[data-scope="moeen-article-page"] :where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--article-gold);
  outline-offset: 3px;
}

@keyframes moeen-article-spin {
  to { transform: rotate(1turn); }
}

@media (max-width: 1024px) {
  body[data-scope="moeen-article-page"] .moeen-article__layout {
    grid-template-columns: minmax(0, 820px);
    grid-template-areas: "mobile-toc" "content";
    justify-content: center;
    gap: 24px;
  }

  body[data-scope="moeen-article-page"] .moeen-article__aside {
    display: none;
  }

  body[data-scope="moeen-article-page"] .moeen-article__toc-mobile {
    display: block;
    overflow: hidden;
    border: 1px solid var(--article-line);
    border-radius: 16px;
    background: rgba(6, 26, 34, 0.86);
  }

  body[data-scope="moeen-article-page"] .moeen-article__toc-mobile-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 53px;
    padding: 13px 17px;
    color: var(--article-ink);
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
  }

  body[data-scope="moeen-article-page"] .moeen-article__toc-mobile-title::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(var(--article-teal-rgb), 0.2);
    border-radius: 9px;
    color: var(--article-teal);
  }

  body[data-scope="moeen-article-page"] .moeen-article__toc-mobile.is-open .moeen-article__toc-mobile-title::after {
    content: "−";
  }

  body[data-scope="moeen-article-page"] .moeen-article__toc-mobile-list {
    display: grid;
    max-height: 0;
    padding: 0 13px;
    overflow: hidden;
    transition: max-height 0.28s ease, padding 0.28s ease;
  }

  body[data-scope="moeen-article-page"] .moeen-article__toc-mobile.is-open .moeen-article__toc-mobile-list {
    max-height: 520px;
    padding: 0 13px 13px;
    overflow-y: auto;
  }

  body[data-scope="moeen-article-page"] .moeen-article__toc-mobile-list a {
    padding: 9px 10px;
    border-top: 1px solid rgba(var(--article-teal-rgb), 0.08);
    color: #9cb6b8;
    font-size: 12px;
    line-height: 1.6;
    text-decoration: none;
  }

  body[data-scope="moeen-article-page"] .moeen-article__toc-mobile-list a.is-active {
    color: var(--article-gold);
  }
}

@media (min-width: 1025px) and (max-height: 720px) {
  body[data-scope="moeen-article-page"] .moeen-article__toc {
    padding: 14px;
  }

  body[data-scope="moeen-article-page"] .moeen-article__toc-list {
    max-height: 150px;
  }

  body[data-scope="moeen-article-page"] .moeen-article__toc-cta {
    padding: 10px 12px;
  }

  body[data-scope="moeen-article-page"] .moeen-article__toc-cta h3 {
    margin-bottom: 6px;
    font-size: 12px;
  }

  body[data-scope="moeen-article-page"] .moeen-article__toc-cta a {
    min-height: 34px;
  }

  body[data-scope="moeen-article-page"] .moeen-article__related.is-sidebar-related {
    padding: 10px 12px;
  }

  body[data-scope="moeen-article-page"] .moeen-article__related.is-sidebar-related .moeen-article__related-image {
    width: 42px;
    height: 42px;
  }

  body[data-scope="moeen-article-page"] .moeen-article__related.is-sidebar-related .moeen-article__related-card {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 5px 0;
  }
}

@media (max-width: 720px) {
  body[data-scope="moeen-article-page"] .moeen-article-hero {
    padding: 126px 15px 58px;
  }

  body[data-scope="moeen-article-page"] .moeen-article-hero h1 {
    font-size: clamp(31px, 9vw, 40px);
    line-height: 1.28;
  }

  body[data-scope="moeen-article-page"] .moeen-article-hero .page-hero__inner > p {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.85;
  }

  body[data-scope="moeen-article-page"] .moeen-article {
    padding: 35px 12px 74px;
  }

  body[data-scope="moeen-article-page"] .moeen-article__section {
    padding: 26px 0;
  }

  body[data-scope="moeen-article-page"] .moeen-article__intro-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  body[data-scope="moeen-article-page"] .moeen-article__content h2 {
    margin-bottom: 20px;
    padding-inline-start: 17px;
    font-size: clamp(23px, 6.8vw, 29px);
  }

  body[data-scope="moeen-article-page"] .moeen-article__content h3 {
    margin-top: 25px;
    font-size: 18.5px;
  }

  body[data-scope="moeen-article-page"] .moeen-article__content p,
  body[data-scope="moeen-article-page"] .moeen-article__content li {
    font-size: 16px;
    line-height: 1.72;
  }

  body[data-scope="moeen-article-page"] .moeen-article__visual-guide {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  body[data-scope="moeen-article-page"] .moeen-article__visual-guide-steps {
    width: 100%;
  }

  body[data-scope="moeen-article-page"] .moeen-article__visual-guide-steps button {
    flex: 1;
    justify-content: center;
  }

  body[data-scope="moeen-article-page"] .moeen-article__related-grid {
    grid-template-columns: 1fr;
  }

  body[data-scope="moeen-article-page"] .moeen-article__related-card {
    min-height: 0;
  }

  body[data-scope="moeen-article-page"] .moeen-article__share {
    align-items: flex-start;
    flex-direction: column;
  }

  body[data-scope="moeen-article-page"] .moeen-article__form-grid {
    grid-template-columns: 1fr;
  }

  body[data-scope="moeen-article-page"] .moeen-article__form-full {
    grid-column: auto;
  }

  body[data-scope="moeen-article-page"] .moeen-article__comments {
    padding: 21px 16px;
    border-radius: 18px;
  }

  body[data-scope="moeen-article-page"] .moeen-article__form {
    padding: 17px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-scope="moeen-article-page"] *,
  body[data-scope="moeen-article-page"] *::before,
  body[data-scope="moeen-article-page"] *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}
