/* Press release pages (shared look). Measurements follow the original site:
   hero with robot + logo row, then a 903px text column (67% on tablet). */

/* ---------- Hero ---------- */
.release-hero { padding: 90px 0 84px; background-position: 49% 45%; }
.release-hero::before { display: none; }
.release-hero > .container, .release > .container { width: min(903px, 100% - 40px); max-width: none; padding: 0; }
.release-brand { display: flex; align-items: center; justify-content: center; gap: 29px; margin-bottom: 26px; }
.release-brand:last-child { margin-bottom: 0; padding-bottom: 6px; }
.release-brand img { height: auto; }
.release-brand img:first-child { width: 235px; }
.release-brand img:last-child { width: 608px; }
.release-hero h1, .release h1 {
  margin: 0;
  font: 700 46px/59.8px "Noto Serif", serif;
  letter-spacing: -1.5px;
}

/* ---------- Article ---------- */
.section.release { padding: 85px 0 86px; }
.release .prose { max-width: none; }
.release .prose p { color: #000; margin: 0 0 20px; }
.release .prose strong { color: #181818; }
.release .prose strong.name { color: #0070c9; }
.release .prose h3 { font-size: 28px; line-height: 39.2px; letter-spacing: -1.5px; margin: 0; color: #383843; }
.release .prose h3 a { text-decoration: none; color: #181818; }
.release .prose h3 a .accent { color: var(--orange); }
.release .prose > img:first-of-type { margin: 0 0 20px; width: 100%; height: auto; border-radius: 0; }
.release .prose > img:first-of-type + h3 { text-align: justify; }
.release .prose h2 { font-size: 36px; line-height: 46.8px; letter-spacing: -1.5px; color: #383843; margin: 0 0 20px; }
.release .prose h4 { font-size: 22px; line-height: 33px; letter-spacing: -.5px; color: #181818; margin: 0; }
/* Darzalas release: blank-line paragraph spacing as on the original */
.release .prose.release-spaced > h2:nth-of-type(1) { margin-bottom: 70px; }
.release .prose.release-spaced > h2 { margin-bottom: 19px; }
.release .prose.release-spaced > p:not(:last-child) { margin-bottom: 30px; }
.release .prose.release-spaced > p.center, .release .prose.release-spaced > p:has(+ h3) { margin-bottom: 20px; }
.release .prose.release-spaced blockquote { margin: 42px 0; padding: 0; border: 0; font: italic 17px/22.1px Lato, sans-serif; color: #555; }
.release .prose.release-spaced a { color: #0070c9; text-decoration: none; }
.release .prose.release-spaced blockquote p { margin: 0; color: inherit; }
.release .prose.release-spaced > div.center { margin: 69px 0 50px; }
.release .prose.release-spaced h3 { margin-bottom: 21px; }
.release .prose.release-spaced div.center p { margin: 0; }
/* Nyskapergasellen release: the original sets this text in Lato 16/20.8 */
.release .prose.release-compact > p:not(:last-child) { margin-bottom: 20.8px; }
.release .prose.release-compact > p { font: 16px/20.8px Lato, sans-serif; }
.release-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 0 25px; margin: 35px 0 36px; }
.release .prose h3 + .release-gallery { margin-top: 85px; }
.release-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; border-radius: 0; }
.release-gallery.tall img { aspect-ratio: 9 / 8; }
.release-gallery.contain img { object-fit: contain; background: #fff; }
.release .prose iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; margin: 21px 0 19px; }
.release .prose video { width: 100%; height: auto; border: 0; margin: 21px 0 19px; }
.release .prose > :last-child { margin-bottom: 0; }
.release .name { color: #0070c9; }

/* ---------- Release index (/media-press-release/) ---------- */
.release-list { list-style: none; padding: 0 25px 15px; margin: 85px 0 0; display: grid; gap: 50px; }
.release-list a { display: grid; grid-template-columns: 188px 1fr; gap: 30px; align-items: center; text-decoration: none; }
.release-list img { width: 100%; height: auto; }
.release-list li:first-child img { aspect-ratio: 6 / 5; object-fit: cover; }
.release h1, .release-list h3 { color: #383843; }
.release-list h3 { font-size: 28px; line-height: 39.2px; letter-spacing: -1.5px; margin: 0; }
.release-list li:nth-child(-n+3) h3 { text-align: justify; }
.release-list a:hover h3 { color: var(--orange-dark); }

@media (max-width: 991px) {
  .release-hero { padding: 65px 0 60px; }
  .release-hero > .container, .release > .container { width: 67.3%; }
  .release-brand { gap: 30px; margin-bottom: 25px; }
  .release-brand:last-child { padding-bottom: 5px; }
  .release-brand img:first-child { width: calc(20.45vw - 36px); }
  .release-brand img:last-child { width: calc(50vw - 49px); }
  .section.release { padding: 60px 0; }
  .release .prose p { font-size: 15px; line-height: 24px; }
  .release .prose h3, .release-list h3 { font-size: 27px; line-height: 35.1px; letter-spacing: -1px; }
  .release .prose h2 { font-size: 30px; line-height: 36px; letter-spacing: -1px; }
  .release .prose h4 { line-height: 30.8px; }
  .release .prose.release-compact > p { font-size: 16px; line-height: 20.8px; }
  .release .prose.release-spaced > p:not(:last-child) { margin-bottom: 24px; }
  .release-gallery { padding: 0 15px; margin: 25px 0; }
  .release .prose h3 + .release-gallery { margin-top: 75px; }
  .release-list { padding: 0 15px 5px; margin-top: 75px; gap: 30px; }
  .release-list a { grid-template-columns: 98px 1fr; gap: 29px; align-items: start; }
}
@media (max-width: 767px) {
  .release-hero { padding: 45px 0 35px; }
  .release-hero > .container, .release > .container { width: calc(100% - 138px); }
  .release-brand { flex-direction: column; gap: 40px; margin-bottom: 30px; }
  .release-brand:last-child { padding-bottom: 10px; }
  .release-brand img:first-child, .release-brand img:last-child { width: 100%; }
  .section.release { padding: 35px 0; }
  .release .prose h3, .release-list h3 { font-size: 22px; line-height: 28.6px; letter-spacing: -.5px; }
  .release .prose h2 { font-size: 28px; line-height: 36.4px; }
  .release .prose h4 { font-size: 20px; line-height: 28px; letter-spacing: normal; }
  .release-gallery { grid-template-columns: 1fr; gap: 40px; padding: 0; margin: 30px 0; }
  .release .prose h3 + .release-gallery { margin-top: 80px; }
  .release .prose iframe, .release .prose video { margin: 20px 0; }
  .release-list { padding: 0 0 10px; margin-top: 80px; gap: 40px; }
  .release-list a { grid-template-columns: 1fr; gap: 40px; }
}

/* Note added after the company was renamed from Stasism AS to MoveExo AS */
.release .editor-note { font-size: 14px; line-height: 1.6; font-style: italic; color: #555; background: #f3f4f6; border-left: 3px solid var(--orange); padding: 10px 16px; margin: 0 0 30px; }
