/* Stable portfolio filtering and polished PDF loading state. */
[data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__grid {
  visibility: hidden;
  opacity: 0;
  transform: translateY(3px);
}

[data-scope="moeen-portfolio-showcase"][data-portfolio-filter-ready="true"] .moeen-portfolio-showcase__grid {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .14s ease, transform .14s ease;
}

[data-scope="moeen-portfolio-showcase"].is-restoring-filter *,
[data-scope="moeen-portfolio-showcase"].is-restoring-filter .moeen-portfolio-showcase__grid {
  transition: none !important;
  animation: none !important;
}

/* Compact portfolio catalogue: calm tabs and consistent cards. */
body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__filters {
  position: sticky;
  top: 82px;
  z-index: 12;
  gap: 7px;
  padding: 6px;
  border: 1px solid rgba(53, 240, 227, .14);
  background: rgba(3, 17, 24, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__filters button {
  position: relative;
  min-height: 44px;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__filters button {
  color: rgba(225, 244, 244, .78);
  border-color: rgba(53, 240, 227, .12);
  background: rgba(8, 31, 39, .66);
  box-shadow: inset 0 -1px 0 rgba(53, 240, 227, .04);
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__filters button:hover {
  color: #f4ffff;
  border-color: rgba(53, 240, 227, .34);
  background: rgba(17, 83, 87, .42);
  box-shadow: none;
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__filters button.is-active {
  color: #fff;
  border-color: rgba(53, 240, 227, .48);
  background: linear-gradient(135deg, #0f666c, #159b98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__filters button span {
  color: #55e8df;
  border-color: rgba(53, 240, 227, .28);
  background: rgba(53, 240, 227, .07);
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__filters button.is-active span {
  color: #10232a !important;
  border-color: rgba(244, 205, 113, .68) !important;
  background: linear-gradient(135deg, #f0cb74, #d9af55) !important;
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__filters button.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 24%;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__card {
  overflow: hidden;
  border-color: rgba(53, 240, 227, .17);
  background: linear-gradient(155deg, rgba(8, 35, 44, .84), rgba(3, 18, 26, .94));
  box-shadow: none;
  transition: transform .1s ease-out, border-color .1s ease-out;
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__card:hover {
  transform: translateY(-1px);
  border-color: rgba(53, 240, 227, .38);
  box-shadow: none !important;
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__media {
  height: clamp(190px, 17vw, 224px);
  background: radial-gradient(circle at 50% 45%, rgba(53, 240, 227, .09), transparent 48%), #071b24;
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__media img {
  transition: opacity .1s ease-out;
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__card:hover .moeen-portfolio-showcase__media img {
  transform: none;
  opacity: .98;
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__media--contain {
  padding: 0;
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__media--contain img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  background: transparent;
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__card:hover .moeen-portfolio-showcase__media--contain img {
  transform: none;
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__content {
  min-height: 228px;
  padding: 20px;
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__content h3 {
  margin-block: 10px 8px;
  font-size: clamp(21px, 1.75vw, 27px);
  line-height: 1.42;
}

body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__content p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.75;
}

/* Video library: compact stage with visual tabs. */
[data-scope="moeen-project-video-library"] .moeen-video-tabs {
  direction: ltr;
  grid-template-columns: minmax(0, 1fr) 268px;
  grid-template-areas: "stage list";
  gap: 14px;
  width: min(100%, 1020px);
  align-items: start;
}

[data-scope="moeen-project-video-library"] .moeen-video-tabs__stage {
  grid-area: stage;
  direction: rtl;
}

[data-scope="moeen-project-video-library"] .moeen-video-tabs__list {
  grid-area: list;
  direction: rtl;
  gap: 8px;
}

[data-scope="moeen-project-video-library"] .moeen-video-tabs__list button {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 66px;
  padding: 7px;
  border-radius: 15px;
  box-shadow: none;
  transition: border-color .16s ease, background-color .16s ease;
}

[data-scope="moeen-project-video-library"] .moeen-video-tabs__list button:hover,
[data-scope="moeen-project-video-library"] .moeen-video-tabs__list button.is-active {
  transform: none;
}

[data-scope="moeen-project-video-library"] .moeen-video-tabs__list button img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  opacity: .72;
}

[data-scope="moeen-project-video-library"] .moeen-video-tabs__list button.is-active img {
  opacity: 1;
}

[data-scope="moeen-project-video-library"] .moeen-video-frame {
  border-radius: 20px;
  box-shadow: none;
}

[data-scope="moeen-project-video-library"] .moeen-video-frame__preview,
[data-scope="moeen-project-video-library"] .moeen-video-frame__player {
  aspect-ratio: 16 / 9;
  background: #071a22;
}

[data-scope="moeen-project-video-library"] .moeen-video-frame__play {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, .42);
  color: #082028;
  background: linear-gradient(145deg, #f0cb74, #d9af55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

[data-scope="moeen-project-video-library"] .moeen-video-frame__play svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

[data-scope="moeen-project-video-library"] .moeen-video-frame__preview img {
  opacity: .94;
  filter: saturate(.92) contrast(1.04);
}

[data-scope="moeen-project-video-library"] .moeen-video-frame__preview::after {
  background: linear-gradient(180deg, rgba(2, 13, 19, .02) 42%, rgba(2, 13, 19, .52));
}

[data-scope="moeen-project-video-library"] .moeen-video-frame__meta {
  grid-template-columns: auto minmax(0, 1fr);
  padding: 14px 16px 16px;
}

.moeen-video-frame__counter {
  display: grid;
  min-width: 54px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(217, 175, 85, .28);
  border-radius: 9px;
  color: #e6bd61;
  background: rgba(217, 175, 85, .07);
  font-size: 10px;
  font-weight: 900;
}

[data-scope="moeen-project-video-library"] .moeen-video-frame__meta strong {
  font-size: clamp(17px, 2vw, 21px);
}

[data-scope="moeen-project-video-library"] .moeen-video-frame__meta p {
  margin-top: 3px;
  line-height: 1.65;
}

/* Pull project details and its following media section into one visual flow. */
[data-scope="moeen-case-study"] {
  padding-bottom: clamp(24px, 3vw, 42px) !important;
}

[data-scope="moeen-case-study"] + .section {
  padding-top: clamp(24px, 3.5vw, 48px) !important;
}

[data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__card[hidden],
[data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__card.is-hidden {
  display: none !important;
}

.moeen-pdf-library__viewer {
  min-height: 360px;
  background: linear-gradient(145deg, rgba(8, 29, 38, .96), rgba(3, 14, 20, .98)) !important;
}

.moeen-pdf-library__viewer::after {
  content: "PDF" !important;
  display: grid !important;
  place-items: center;
  width: 48px !important;
  height: 48px !important;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 14px !important;
  background: linear-gradient(145deg, #e24d48, #b6242f) !important;
  color: #fff;
  font: 900 10px/1 "IBM Plex Sans Arabic", sans-serif;
  box-shadow: 0 10px 24px rgba(181, 36, 47, .2);
}

.moeen-pdf-library__viewer.is-loading::before {
  content: "جار تجهيز الملف…";
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 44%, rgba(53, 240, 227, .1), transparent 26%), #06151d;
  color: rgba(222, 244, 244, .76);
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
}

.moeen-pdf-library__viewer iframe {
  opacity: 1;
  transition: opacity .16s ease;
}

.moeen-pdf-library__viewer.is-loading iframe {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__grid,
  .moeen-pdf-library__viewer iframe { transition: none !important; }
}

@media (max-width: 820px) {
  body[data-page="portfolio"] [data-scope="moeen-portfolio-showcase"] .moeen-portfolio-showcase__filters {
    top: 68px;
    justify-content: flex-start;
    overflow-x: auto;
  }

  [data-scope="moeen-project-video-library"] .moeen-video-tabs {
    grid-template-columns: 1fr;
    grid-template-areas: "stage" "list";
  }

  [data-scope="moeen-project-video-library"] .moeen-video-tabs__list {
    display: flex;
    overflow-x: auto;
    padding-bottom: 5px;
    scroll-snap-type: x proximity;
  }

  [data-scope="moeen-project-video-library"] .moeen-video-tabs__list button {
    flex: 0 0 min(230px, 78vw);
    scroll-snap-align: center;
  }
}




.moeen-media-dialog button:focus-visible{outline:2px solid #35f0e3!important;outline-offset:3px}
html:has(.moeen-media-dialog[open]),body:has(.moeen-media-dialog[open]){overflow:hidden!important}
.moeen-media-dialog[open]{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  display:grid!important;
  grid-template-rows:minmax(0,1fr) auto!important;
  width:min(1180px,calc(100vw - 32px))!important;
  height:min(880px,calc(100dvh - 28px))!important;
  max-width:none!important;
  max-height:none!important;
  margin:auto!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid rgba(53,240,227,.34)!important;
  border-radius:28px!important;
  background:radial-gradient(circle at 50% 0,rgba(53,240,227,.1),transparent 38%),#06121a!important;
  color:#fff!important;
  cursor:default!important;
}
.moeen-media-dialog[open]::backdrop{background:rgba(0,6,10,.9)!important;backdrop-filter:blur(10px)}
.moeen-media-dialog[open],.moeen-media-dialog[open] *{cursor:auto!important}
.moeen-media-dialog__body{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:0!important;
  width:100%!important;
  height:100%!important;
  padding:70px 84px 28px!important;
  overflow:hidden!important;
  text-align:center!important;
}
.moeen-media-dialog__body img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:calc(100dvh - 180px)!important;
  margin:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:18px!important;
  box-shadow:0 24px 80px rgba(0,0,0,.34)!important;
}
.moeen-media-dialog__caption{min-height:52px!important;margin:0!important;padding:12px 88px 20px!important;color:#c4d7da!important;text-align:center!important}
.moeen-media-dialog__close,.moeen-media-dialog__nav{cursor:pointer!important;pointer-events:auto!important;transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease!important}
.moeen-media-dialog__close:hover,.moeen-media-dialog__nav:hover{transform:scale(1.08)!important;border-color:rgba(53,240,227,.75)!important;background:#0b2832!important;color:#fff!important}
.moeen-media-dialog__nav:hover{translate:0 -50%!important}
.moeen-media-dialog__close{top:16px!important;left:16px!important}
.moeen-media-dialog__counter{top:18px!important;right:18px!important}
.moeen-media-dialog__nav--prev{right:18px!important}
.moeen-media-dialog__nav--next{left:18px!important}

@media(max-width:700px){
  .moeen-media-dialog[open]{width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;border-radius:20px!important}
  .moeen-media-dialog__body{padding:62px 12px 80px!important}
  .moeen-media-dialog__body img{max-height:calc(100dvh - 190px)!important;border-radius:12px!important}
  .moeen-media-dialog__caption{position:absolute!important;inset-inline:60px!important;bottom:20px!important;min-height:0!important;padding:0!important;font-size:12px!important}
  .moeen-media-dialog__nav{top:auto!important;bottom:16px!important;translate:none!important}
  .moeen-media-dialog__nav:hover{translate:none!important}
  .moeen-media-dialog__nav--prev{right:14px!important}
  .moeen-media-dialog__nav--next{left:14px!important}
}
.moeen-media-dialog[open] .moeen-media-dialog__close,.moeen-media-dialog[open] .moeen-media-dialog__nav{cursor:pointer!important}

/* ==========================================================
   Canonical compact project album slider - 2026
   Keep all project-album styling in this single block.
========================================================== */
#project-album.section {
  padding-block: clamp(46px, 5.5vw, 70px) !important;
}

#project-album .section-head {
  margin-bottom: clamp(22px, 3vw, 34px) !important;
}

/* Compact fallback while JavaScript prepares the interactive album. */
#project-album:not([data-album-spotlight-ready="true"]) .album-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: min(100%, 740px) !important;
  margin-inline: auto !important;
  overflow: hidden !important;
}

#project-album:not([data-album-spotlight-ready="true"]) .album-card {
  display: none !important;
}

#project-album:not([data-album-spotlight-ready="true"]) .album-card:first-child {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  width: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  border: 1px solid rgba(53, 240, 227, .22) !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, #081c25, #041018) !important;
}

#project-album:not([data-album-spotlight-ready="true"]) .album-card:first-child img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: contain !important;
  background: #061720 !important;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight {
  display: grid !important;
  gap: 10px !important;
  width: min(100%, 760px) !important;
  margin-inline: auto !important;
  outline: none !important;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__frame {
  position: relative;
  width: 100%;
  touch-action: pan-y;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__stage {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: clamp(310px, 37vw, 390px) !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 1px solid rgba(53, 240, 227, .25) !important;
  border-radius: 18px !important;
  color: #fff !important;
  background: linear-gradient(145deg, #081c25, #041018) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22) !important;
  cursor: zoom-in !important;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__stage > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  user-select: none;
  -webkit-user-drag: none;
}

/* Fit only the selected marketing/scientific albums to each source image. */
[data-scope="moeen-project-album"] .moeen-album-spotlight--fit-image {
  width: min(100%, var(--moeen-album-image-width, 560px)) !important;
  transition: width .24s ease !important;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight--fit-image .moeen-album-spotlight__stage {
  height: auto !important;
  aspect-ratio: var(--moeen-album-image-ratio, 1) !important;
}
[data-scope="moeen-project-album"] .moeen-album-spotlight__stage > img.is-entering {
  animation: moeenAlbumCompactIn .28s ease both;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__meta {
  position: absolute !important;
  z-index: 3;
  inset-inline: 9px !important;
  bottom: 9px !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 9px !important;
  min-height: 40px !important;
  padding: 7px 9px !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  border-radius: 11px !important;
  color: #f5ffff !important;
  background: rgba(2, 16, 22, .82) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
  text-align: right !important;
  pointer-events: none;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__meta small {
  color: #f2c96b !important;
  font: 900 9px/1 Arial, sans-serif !important;
  white-space: nowrap;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__meta strong {
  overflow: hidden;
  color: #fff;
  font-size: 12px !important;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__meta i {
  color: #35f0e3 !important;
  font-size: 10px;
  font-style: normal !important;
  white-space: nowrap;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(53, 240, 227, .32);
  border-radius: 11px;
  color: #35f0e3;
  background: rgba(2, 16, 22, .82);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  cursor: pointer !important;
  transform: translateY(-50%);
  transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__arrow--prev { inset-inline-start: 10px; }
[data-scope="moeen-project-album"] .moeen-album-spotlight__arrow--next { inset-inline-end: 10px; }

[data-scope="moeen-project-album"] .moeen-album-spotlight__arrow:hover,
[data-scope="moeen-project-album"] .moeen-album-spotlight__arrow:focus-visible {
  border-color: rgba(242, 201, 107, .58);
  color: #061018;
  background: linear-gradient(135deg, #35f0e3, #f2c96b);
  transform: translateY(-50%) scale(1.05);
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__arrow span {
  font: 900 17px/1 Arial, sans-serif;
  pointer-events: none;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__progress {
  --moeen-album-progress: 0%;
  position: absolute;
  z-index: 6;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  pointer-events: none;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__progress::after {
  content: "";
  display: block;
  width: var(--moeen-album-progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #35f0e3, #f2c96b);
  transition: width .25s ease;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__thumbs {
  display: flex !important;
  justify-content: flex-start;
  gap: 7px !important;
  width: 100%;
  overflow-x: auto !important;
  padding: 2px 1px 6px !important;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__thumbs button {
  position: relative !important;
  flex: 0 0 78px !important;
  height: 52px !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 1px solid rgba(53, 240, 227, .13) !important;
  border-radius: 9px !important;
  background: #061720 !important;
  opacity: .48 !important;
  cursor: pointer !important;
  scroll-snap-align: center;
  transition: opacity .18s ease, border-color .18s ease, transform .18s ease !important;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__thumbs button:hover,
[data-scope="moeen-project-album"] .moeen-album-spotlight__thumbs button.is-active {
  border-color: rgba(53, 240, 227, .78) !important;
  opacity: 1 !important;
  transform: translateY(-1px);
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__thumbs img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__thumbs span {
  position: absolute;
  inset-inline-start: 4px;
  bottom: 4px;
  display: grid;
  min-width: 19px;
  height: 17px;
  place-items: center;
  padding-inline: 3px;
  border-radius: 5px;
  color: #f2c96b;
  background: rgba(2, 16, 22, .88);
  font: 900 7px/1 Arial, sans-serif;
}

[data-scope="moeen-project-album"] .moeen-album-spotlight__stage:focus-visible,
[data-scope="moeen-project-album"] .moeen-album-spotlight__thumbs button:focus-visible {
  outline: 2px solid #35f0e3 !important;
  outline-offset: 3px;
}

html.has-moeen-media-dialog,
body.has-moeen-media-dialog {
  overflow: hidden !important;
}

@keyframes moeenAlbumCompactIn {
  from { opacity: .45; transform: scale(.992); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 620px) {
  #project-album.section { padding-block: 42px !important; }

  [data-scope="moeen-project-album"] .moeen-album-spotlight {
    gap: 8px !important;
  }

  [data-scope="moeen-project-album"] .moeen-album-spotlight__stage {
    height: clamp(220px, 67vw, 260px) !important;
    border-radius: 14px !important;
  }

  [data-scope="moeen-project-album"] .moeen-album-spotlight__arrow {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  [data-scope="moeen-project-album"] .moeen-album-spotlight__arrow--prev { inset-inline-start: 7px; }
  [data-scope="moeen-project-album"] .moeen-album-spotlight__arrow--next { inset-inline-end: 7px; }

  [data-scope="moeen-project-album"] .moeen-album-spotlight__meta {
    inset-inline: 7px !important;
    bottom: 7px !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    min-height: 36px !important;
    padding: 6px 7px !important;
  }

  [data-scope="moeen-project-album"] .moeen-album-spotlight__meta i { display: none; }

  [data-scope="moeen-project-album"] .moeen-album-spotlight__thumbs button {
    flex-basis: 70px !important;
    height: 47px !important;
    border-radius: 8px !important;
  }

  .moeen-media-dialog[open] .moeen-media-dialog__body {
    padding: 74px 16px 70px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-scope="moeen-project-album"] .moeen-album-spotlight__stage > img.is-entering {
    animation: none;
  }

  [data-scope="moeen-project-album"] .moeen-album-spotlight__progress::after,
  [data-scope="moeen-project-album"] .moeen-album-spotlight__arrow,
  [data-scope="moeen-project-album"] .moeen-album-spotlight__thumbs button {
    transition: none !important;
  }
}
