section[id],
main[id] {
  scroll-margin-top: 96px;
}

.mv-article-body {
  color: rgb(51 65 85);
}

.mv-article-body h2 {
  margin-top: 3rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: rgb(15 23 42);
}

.mv-article-body h3 {
  margin-top: 2rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.3;
  font-weight: 700;
  color: rgb(15 23 42);
}

.mv-article-body p {
  margin-top: 1.125rem;
  font-size: 1.0625rem;
  line-height: 1.9;
}

.mv-article-body ul,
.mv-article-body ol {
  margin-top: 1.25rem;
  padding-right: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.9;
}

.mv-article-body li + li {
  margin-top: 0.625rem;
}

.mv-article-body strong {
  color: rgb(15 23 42);
  font-weight: 700;
}

.mv-article-body blockquote {
  margin-top: 2rem;
  border-right: 3px solid rgb(15 23 42);
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.72);
  color: rgb(51 65 85);
}

.mv-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.mv-article-layout > article {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .mv-article-layout {
    direction: ltr;
    grid-template-columns: minmax(0, 220px) minmax(0, 760px) minmax(0, 220px);
    align-items: start;
    gap: 2rem;
  }

  .mv-article-layout > article {
    direction: rtl;
    grid-column: 2;
    margin-inline: 0;
  }

  .mv-article-layout > aside {
    direction: rtl;
    grid-column: 3;
  }
}

.mv-article-cover {
  margin-top: 2rem;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
  cursor: zoom-in;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.mv-article-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.mv-article-cover:hover {
  transform: translateY(-2px);
  border-color: rgba(148, 163, 184, 0.95);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.14);
}

.mv-article-cover:focus-visible {
  outline: 3px solid rgba(6, 147, 227, 0.35);
  outline-offset: 4px;
}

.mv-article-cover-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgb(15, 23, 42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.mv-article-cover-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.mv-article-cover-lightbox-panel {
  display: flex;
  width: 100%;
  max-height: calc(100vh - 2.5rem);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  transform: translateY(14px) scale(0.96);
  opacity: 0;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease;
}

.mv-article-cover-lightbox.is-open .mv-article-cover-lightbox-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.mv-article-cover-lightbox img {
  display: block;
  width: min(92vw, 1180px);
  max-height: calc(100vh - 7rem);
  object-fit: contain;
  border-radius: 2rem;
  background: white;
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.45);
  cursor: zoom-out;
}

.mv-article-cover-lightbox button {
  display: inline-flex;
  height: 3rem;
  width: 3rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.92);
  color: rgb(15 23 42);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, background 160ms ease;
}

.mv-article-cover-lightbox button:hover {
  transform: scale(1.04);
  background: white;
}

.mv-article-cover-lightbox button svg {
  height: 1.25rem;
  width: 1.25rem;
}

@media (max-width: 640px) {
  .mv-article-cover-lightbox {
    padding: 1rem;
  }

  .mv-article-cover-lightbox img {
    width: 94vw;
    max-height: calc(100vh - 6.5rem);
    border-radius: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mv-article-cover,
  .mv-article-cover:hover,
  .mv-article-cover-lightbox,
  .mv-article-cover-lightbox-panel,
  .mv-article-cover-lightbox button {
    transition: none;
  }

  .mv-article-cover,
  .mv-article-cover:hover,
  .mv-article-cover-lightbox-panel {
    transform: none;
  }
}

.mv-author-row {
  margin: 1.5rem auto 0;
  display: flex;
  max-width: 42rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  color: rgb(71 85 105);
  font-size: 0.875rem;
}

.mv-author-avatar {
  display: inline-flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgb(15 23 42);
  color: white;
  font-weight: 700;
}

.mv-share-row {
  margin: 1.25rem auto 0;
  display: flex;
  max-width: 42rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}

.mv-share-row a,
.mv-share-row button {
  border-radius: 9999px;
  border: 1px solid rgb(226 232 240);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.55rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgb(15 23 42);
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.mv-share-row a:hover,
.mv-share-row button:hover {
  background: white;
  border-color: rgb(203 213 225);
  transform: translateY(-1px);
}

.mv-article-cta {
  margin-top: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(241,245,249,0.72));
  padding: 1.25rem;
}

.mv-article-cta h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.mv-article-cta p {
  margin-top: 0.75rem;
}

.mv-article-cta a {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgb(15 23 42);
  padding: 0.75rem 1rem;
  color: white;
  font-weight: 700;
  transition: background 160ms ease, transform 160ms ease;
}

.mv-article-cta a:hover {
  background: rgb(30 41 59);
  transform: translateY(-1px);
}

.mv-related-articles {
  margin-top: 3rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding-top: 2rem;
}

.mv-related-articles h2 {
  margin-top: 0;
}

.mv-related-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.mv-related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.72);
  padding: 1rem;
  color: rgb(15 23 42);
  font-weight: 700;
  line-height: 1.5;
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.mv-related-link:hover {
  background: white;
  border-color: rgb(203 213 225);
  transform: translateY(-1px);
}

.mv-related-link span {
  color: rgb(100 116 139);
  font-size: 0.875rem;
  font-weight: 700;
  flex: 0 0 auto;
}