.sa-site .mn-camera-archive .mn-camera-toolbar__filters { display: none !important; }
.sa-site .mn-camera-archive .mn-camera-toolbar { justify-content: flex-end !important; }
body:has(.mn-camera-archive[data-camera="archive"]) .elementor-location-header {
  background-color: #fcfdfdf2 !important;
  backdrop-filter: blur(14px);
}
.sa-site .mn-camera-archive[data-camera="archive"] .mn-camera-toolbar {
  background-color: #fcfdfdf2 !important;
  backdrop-filter: blur(14px);
}
.mn-chapter-ribbon {
  position: fixed;
  z-index: 61;
  top: var(--mn-mobile-chapter-top, 56px);
  inset-inline: 0;
  padding: 5px max(14px, calc((100% - 1120px)/2));
  direction: rtl;
  background: #f6f8f6f2;
  border-block-end: 1px solid #ccd9db;
  backdrop-filter: blur(14px);
}
.mn-chapter-ribbon[hidden], .mn-camera-archive:has(.mn-camera-search.is-open) .mn-chapter-ribbon,
.sa-site:has(.elementor-menu-toggle[aria-expanded="true"]) .mn-chapter-ribbon { display: none !important; }
.mn-ribbon-links { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; }
.sa-site .mn-chapter-ribbon button {
  position: relative;
  min-height: 44px;
  padding: 5px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #355665;
  font: inherit;
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 650;
  line-height: 1.45;
  cursor: pointer;
  box-shadow: none;
}
.sa-site .mn-chapter-ribbon button:hover { color: #183541; text-decoration: underline; text-underline-offset: .26em; }
.sa-site .mn-chapter-ribbon button:focus-visible { outline: 2px solid #34768d; outline-offset: -2px; }
.sa-site .mn-chapter-ribbon button[aria-current="location"] { color: #153946; background: #e5eeee; font-weight: 800; }
.mn-ribbon-links button[aria-current="location"]::before, .mn-ribbon-links button[aria-current="location"]::after {
  position: absolute;
  inset: auto 13px 0;
  content: "";
  height: 2px;
  background: #b7cacc;
}
.mn-ribbon-links button[aria-current="location"]::after {
  background: #ae7f22;
  transform: scaleX(var(--mn-chapter-progress, 0));
  transform-origin: right;
}
.mn-ribbon-compact, .mn-ribbon-progress { display: none; }
.mn-ribbon-progress span { display: block; height: 100%; background: #ae7f22; transform-origin: right; transform: scaleX(var(--mn-chapter-progress, 0)); }

.sa-site .mn-camera-archive[data-camera="archive"] .mn-camera-list > .mn-category-boundary {
  box-sizing: border-box;
  display: flex !important;
  position: relative;
  isolation: isolate;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  width: min(1450px, calc(100vw - 64px)) !important;
  height: auto !important;
  min-height: clamp(145px, 17vw, 238px) !important;
  margin: clamp(30px, 6vw, 90px) auto 28px !important;
  padding: 18px clamp(23px, 4vw, 58px) !important;
  border: 0;
  border-inline-start: 4px solid var(--chapter-light);
  border-radius: 14px;
  background: radial-gradient(ellipse at 9% 100%, var(--chapter-glow), transparent 66%), var(--chapter-base) !important;
  color: #fffdf6;
  clip-path: none !important;
  overflow: hidden;
}
.sa-site .mn-camera-archive[data-camera="archive"] .mn-camera-list > .mn-category-boundary:first-child {
  margin-block-start: 72px !important;
}
.sa-site .mn-camera-archive[data-camera="archive"] .mn-category-boundary::before { content: none !important; }
.mn-category-boundary::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 37px, #fff2 37px 38px),
    repeating-linear-gradient(0deg, transparent 0 37px, #fff2 37px 38px);
  mask-image: linear-gradient(90deg, #000 0, #0005 46%, transparent 72%);
  content: "";
}
.sa-site .mn-category-boundary h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(33px, 4.7vw, 65px);
  font-weight: 810;
  line-height: 1.35;
}
.mn-category-boundary p { margin: 0; color: #f0f3f1; font-size: 15px; line-height: 1.65; }
.mn-category-boundary[data-category="101"] { --chapter-base:#173a4d; --chapter-glow:#2e637c; --chapter-light:#f1bd45; }
.mn-category-boundary[data-category="102"] { --chapter-base:#183f3b; --chapter-glow:#34685f; --chapter-light:#93cbb6; }
.mn-category-boundary[data-category="103"] { --chapter-base:#303d57; --chapter-glow:#526687; --chapter-light:#b7cbf3; }
.mn-category-boundary[data-category="104"] { --chapter-base:#4b372a; --chapter-glow:#7a5543; --chapter-light:#e9bd99; }
.mn-category-boundary[data-category="105"] { --chapter-base:#463443; --chapter-glow:#74586a; --chapter-light:#efbdd2; }
.mn-category-boundary[data-category="106"] { --chapter-base:#243f4b; --chapter-glow:#467586; --chapter-light:#a9d8e6; }

@media (width >= 768px) and (height > 500px) {
  .sa-site .mn-camera-archive[data-camera="archive"] .mn-camera-project:not(.is-expanded) {
    width: min(1450px, calc(100vw - 64px)); max-width: none; margin-inline: auto;
  }
  .sa-site .mn-camera-archive[data-camera="archive"] .mn-camera-project:not(.is-expanded) .mn-camera-project__rail { width: 100%; }
  .sa-site .mn-camera-archive[data-camera="archive"] .mn-camera-project:not(.is-expanded) .mn-camera-project__primary {
    display: grid; width: 100%; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr);
    gap: clamp(22px, 5vw, 69px); align-items: center;
  }
  .sa-site .mn-camera-archive[data-camera="archive"] .mn-camera-project:not(.is-expanded) .mn-camera-project__meta {
    position: static; transform: none; width: auto; min-width: 0; align-items: flex-start;
  }
  .sa-site .mn-camera-archive[data-camera="archive"] .mn-camera-project:not(.is-expanded) .mn-camera-project__media {
    width: 100%; height: auto; border-radius: 8px;
  }
}
@media (width <= 767px) or (height <= 500px) {
  .mn-chapter-ribbon { padding-block: 0; }
  .mn-ribbon-compact { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 47px; font-size: 14px; color: #183e4c; }
  .mn-ribbon-expand::after { display: inline-block; margin-inline-start: 9px; content: "⌄"; }
  .mn-ribbon-links {
    display: none;
    position: absolute;
    inset: calc(100% + 6px) 14px auto;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 6px;
    border: 1px solid #ccdbde;
    border-radius: 10px;
    background: #f8faf8;
    box-shadow: 0 8px 26px #162c3922;
  }
  .mn-chapter-ribbon[data-expanded="true"] .mn-ribbon-links { display: grid; }
  .mn-ribbon-progress { display: block; height: 2px; background: #cad7d8; }
  .sa-site .mn-camera-archive[data-camera="archive"] .mn-camera-list > .mn-category-boundary {
    width: calc(100% - 28px) !important;
    align-items: center;
    text-align: center;
    min-height: clamp(142px, 28vh, 222px) !important;
    border-radius: 10px;
  }
  .sa-site .mn-category-boundary h2 { font-size: clamp(28px, 7.7vw, 42px); }
}
