/* Shared catalogue presentation. Load after the earlier design refinements. */
.product-grid .product-image,
.original-products .feature-product .product-image,
.feature-product .product-image {
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
}
.product-grid .product-image:not([data-product-framed]),
.feature-product .product-image:not([data-product-framed]) {
  padding: 5%;
}
.product-grid .product-image:not([data-product-framed]) img,
.feature-product .product-image:not([data-product-framed]) img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.page-shell .ui-arrow,
.news-read-more .ui-arrow {
  display: inline-flex;
  flex: 0 0 27px;
  width: 27px;
  height: 16px;
  float: none;
  margin: 0;
}
.ui-arrow svg { width: 100%; height: 100%; }
.page-shell .text-link { gap: 26px; }
.page-shell .text-link:hover span { transform: none; }
.page-shell .text-link:hover .ui-arrow,
.page-shell .primary-button:hover .ui-arrow { transform: translateX(4px); }
.page-shell .primary-button {
  min-height: 50px;
  padding: 16px 22px;
  gap: 28px;
  border: 1px solid #263b3260;
  transition: background .25s, color .25s;
}
.page-shell .primary-button:hover { background: #354b40; }
.news-read-more { display: inline-flex; align-items: center; gap: 20px; }

/* One consistent screen-fixed return control. A filled surface keeps it legible
   over particle introductions and over article photographs alike. */
.page-shell .original-back {
  position: fixed;
  z-index: 155;
  top: var(--back-control-top, 98px);
  left: 4.3%;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 43px;
  padding: 10px 15px;
  margin: 0;
  background: #f2f1ecef;
  border: 1px solid #24382a35;
  color: #25362d;
  box-shadow: 0 3px 16px #13251c08;
  backdrop-filter: blur(14px);
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}
.page-shell .original-back > svg {
  width: 24px;
  height: 16px;
  transition: transform .25s;
}
.page-shell .original-back:hover { background: #e5ddce; }
.page-shell .original-back:hover > svg { transform: translateX(-3px); }
.page-shell .original-back + .page-heading { margin-top: 0; }
.page-shell.product-page,
.page-shell.article-page { padding-top: 170px; }
.menu-open .original-back,
.is-routing .original-back,
body:has(.service-overlay:not([hidden])) .original-back { visibility: hidden; }

/* Photo covers and text covers share the same frame and video indicator. */
.news-image { position: relative; }
.news-artwork {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  container-type: inline-size;
}
.news-artwork-photo > picture { display: contents; }
.news-artwork-photo img { width: 100%; height: 100%; object-fit: cover; }
.news-artwork-type {
  --cover-ink: #263b36;
  --cover-line: #657a6336;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 6.5%;
  background: #e4e5d9;
  color: var(--cover-ink);
}
.news-artwork-type[data-cover-tone="1"] {
  --cover-ink: #423526;
  --cover-line: #9873463a;
  background: #e9dfca;
}
.news-artwork-type[data-cover-tone="2"] {
  --cover-ink: #e9e5d8;
  --cover-line: #c9bea440;
  background: #283b39;
}
.news-cover-brand,
.news-cover-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: clamp(11px, 3cqw, 15px);
  line-height: 1.5;
}
.news-cover-brand { border-bottom: 1px solid var(--cover-line); padding-bottom: 4%; }
.news-cover-brand > span:first-child { letter-spacing: .12em; font-weight: 600; }
.news-cover-brand > span:last-child { font-size: .9em; opacity: .8; }
.news-cover-title {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  max-width: 91%;
  font-size: clamp(18px, 6.1cqw, 36px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: .01em;
}
.news-cover-footer { font-size: clamp(10px, 2.7cqw, 13px); opacity: .73; }
.news-cover-footer > span { text-align: right; }
.news-cover-orbits { position: absolute; width: 63%; aspect-ratio: 1; right: -20%; bottom: -24%; opacity: .8; transform: rotate(-26deg); }
.news-cover-orbits i { position: absolute; inset: 0; border: 1px solid var(--cover-line); border-radius: 50%; }
.news-cover-orbits i:nth-child(2) { inset: 15%; }
.news-cover-orbits i:nth-child(3) { inset: 31%; }
.news-cover-orbits b { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .3; top: 25%; left: 6%; }
.news-cover-orbits b:nth-last-child(2) { top: 69%; left: 70%; width: 4px; height: 4px; }
.news-cover-orbits b:last-child { top: 10%; left: 45%; width: 5px; height: 5px; }
.news-video-label {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid #ffffff45;
  background: #15251cdc;
  color: #f5f1e4;
  font-size: 13px;
  line-height: 1;
  backdrop-filter: blur(10px);
}
.news-video-label svg { width: 19px; height: 19px; }
.news-artwork-type:has(.news-video-label) .news-cover-footer { padding-right: 62px; }
.news-artwork-type:has(.news-video-label) .news-cover-footer > span { display: none; }
.news-image:has(.news-artwork-type)::after { display: none; }
.news-card:hover .news-artwork-type { filter: none; }

@media (max-width: 900px) {
  .page-shell .original-back { top: var(--back-control-top, 88px); left: 5%; }
}
@media (max-width: 600px) {
  /* A single column preserves the packaging's legibility in a 4:3 frame. */
  .catalog-page .product-grid,
  .related-products .product-grid { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .related-products .product-card:nth-child(3) { display: block; }
  .page-shell .original-back { top: var(--back-control-top, 84px); left: 7%; padding: 9px 12px; min-height: 41px; font-size: 13px; }
  .page-shell.product-page,
  .page-shell.article-page { padding-top: 150px; }
  .news-video-label { right: 12px; bottom: 12px; font-size: 12px; }
  .news-cover-title { font-size: clamp(18px, 6.1cqw, 27px); }
}
@media (prefers-reduced-motion: reduce) {
  .page-shell .original-back > svg,
  .page-shell .primary-button { transition: none; }
}

/* A source-link thumbnail stays beside its text, not a full article photograph. */
.article-body a.article-source-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(80px, 18vw, 128px);
  align-items: center;
  gap: 16px;
  padding: 16px;
}
.article-body .article-source-card-copy { min-width: 0; }
.article-body .article-source-card-copy p { margin: 8px 0 0; }
.article-body .article-source-card-media {
  width: 100%;
  height: 112px;
  margin: 0;
  overflow: hidden;
}
.article-body .article-source-card-media picture { display: contents; }
.article-body .article-source-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: top;
}
