/*
 * Studio tema:
 * slider vesti i projekata, video u okviru, mozaik projekata, utisci, blog, članak i projekti.
 */
@layer components {
[data-theme='studio'] {
  .s-container-limited {
    @media (width >= 992px) {
      max-width: calc(var(--s-ciw) * 0.833333 + 1.5625rem);
    }
  }
  .s-text-xs {
    font-size: 0.875rem;
    line-height: 1.64286;
  }
  .s-h1,
  .s-h3 {
    margin: 0 0 1.875rem;
    font-weight: 400;
    line-height: 1.15385;
    text-wrap: balance;
  }
  .s-h1 {
    font-size: calc(1.45rem + 2.4vw);
    @media (width >= 1200px) {
      font-size: 3.25rem;
    }
  }
  .s-h3 {
    font-size: calc(1.3375rem + 1.05vw);
    @media (width >= 1200px) {
      font-size: 2.125rem;
    }
  }
  .s-h1 strong,
  .s-h3 strong {
    display: block;
    font-weight: var(--s-w-strong, 500);
  }
  .s-lead {
    font-size: calc(1.2875rem + 0.45vw);
    line-height: 1.53846;
    @media (width >= 1200px) {
      font-size: 1.625rem;
    }
  }
  .s-rounded-4 {
    border-radius: calc(1.875rem * var(--k-tl)) calc(1.875rem * var(--k-tr)) calc(1.875rem * var(--k-br)) calc(1.875rem * var(--k-bl));
  }
  .s-badge-block {
    position: relative;
    display: block;
    width: fit-content;
    margin-right: 1.40625rem;
    padding-right: 2.34375rem;
  }
  .s-badge-block::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1.40625rem;
    width: 2.8125rem;
    border-bottom: 1px solid;
  }
  .s-card-img.landscape {
    aspect-ratio: 4 / 3;
  }

  /* ---------- Slider "u kontejneru" ---------- */
  .s-slider {
    --gap: 1.875rem;
  }
  .s-slider-track {
    display: flex;
    gap: var(--gap);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-inline: calc(50% - var(--s-ciw) / 2);
    scroll-padding-inline: calc(50% - var(--s-ciw) / 2);
  }
  .s-slider-track::-webkit-scrollbar {
    display: none;
  }
  .s-slide {
    flex: 0 0 var(--s-ciw);
    scroll-snap-align: start;
    @media (width >= 768px) {
      flex-basis: calc(var(--s-ciw) * 0.5 - var(--gap) * 0.5);
    }
    @media (width >= 1240px) {
      flex-basis: calc(var(--s-ciw) * 0.333333 - var(--gap) * 0.666667);
    }
  }
  .s-slider-controls {
    display: flex;
    align-items: center;
    gap: 0.46875rem;
    width: var(--s-ciw);
    margin: 1.875rem auto 0;
  }
  .s-slider-bar {
    position: relative;
    flex: 1;
    height: 4px;
    margin-right: 0.46875rem;
    border-radius: 10px;
    background: #0000001a;
    cursor: pointer;
    touch-action: none;
  }
  .s-slider-bar::before {
    content: '';
    position: absolute;
    inset: -10px 0;
  }
  .s-slider-thumb {
    height: 100%;
    border-radius: 10px;
    background: #00000080;
  }
  .s-round-btn {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 2.875rem;
    height: 2.875rem;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #fff;
    color: var(--s-major);
    cursor: pointer;
    transition:
      background-color 0.15s,
      border-color 0.15s;
  }
  .s-round-btn:hover:not(:disabled) {
    background: var(--s-highlight);
    border-color: var(--s-highlight);
  }
  .s-round-btn:disabled {
    background: #eaeff5;
    border-color: #eaeff5;
    cursor: default;
  }
  .s-round-btn:disabled svg {
    opacity: 0.5;
  }
  .s-light .s-round-btn:disabled {
    background: #dfe5ee;
    border-color: #dfe5ee;
  }

  /* ---------- Tekst + video / slika u okviru (textmedia-boxed) ---------- */
  .s-textmedia {
    position: relative;
    padding-block: var(--s-sd);
    @media (width >= 992px) {
      margin-block: 5.625rem var(--s-sd);
      padding-block: 3.75rem;
    }
  }
  .s-textmedia > .s-container {
    position: relative;
    z-index: 0;
  }
  .s-textmedia-row {
    display: grid;
    gap: 1.875rem;
    @media (width >= 992px) {
      grid-template-columns: 1fr 1fr;
      column-gap: 3.75rem;
    }
  }
  .s-textmedia-media {
    align-self: start;
    min-width: 0;
  }
  .s-textmedia-text {
    align-self: center;
    min-width: 0;
  }
  @media (width >= 992px) {
    .s-textmedia:not(.media-left) .s-textmedia-text {
      order: -1;
      padding-left: 5.625rem;
    }
    .s-textmedia.media-left .s-textmedia-text {
      padding-right: 5.625rem;
    }
    .s-textmedia-text::before {
      content: '';
      position: absolute;
      top: -3.75rem;
      bottom: -3.75rem;
      left: 0.9375rem;
      right: 25%;
      z-index: -1;
      border: 1px solid #dde2ea;
      border-radius: calc(1.875rem * var(--k-tl)) calc(1.875rem * var(--k-tr)) calc(1.875rem * var(--k-br)) calc(1.875rem * var(--k-bl));
    }
    .s-textmedia.media-left .s-textmedia-text::before {
      left: 25%;
      right: 0.9375rem;
    }
    .s-textmedia.light .s-textmedia-text::before {
      border: 0;
      background: var(--s-light);
    }
  }
  @media (width < 992px) {
    .s-textmedia.light {
      background: var(--s-light);
    }
  }
  .s-textmedia .s-prose p {
    margin-bottom: 1.5rem;
  }

  /* Video koji se učitava na klik */
  .s-video {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--s-major);
  }
  .s-video iframe,
  .s-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  .s-video-poster {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--s-major);
    color: #fff;
    cursor: pointer;
  }
  .s-video-poster img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }
  .s-video-poster::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(20 62 111 / 0.3);
  }
  .s-video-poster:hover img {
    transform: scale(1.03);
  }
  .s-video-play {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 5.5rem;
    height: 5.5rem;
    padding-left: 0.25rem;
    border-radius: 50%;
    background: var(--s-highlight);
    color: var(--s-major);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .s-video-poster:hover .s-video-play {
    transform: scale(1.1);
  }
  .s-video-note {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 2rem 1.25rem 0.9375rem 1.875rem;
    background: linear-gradient(transparent, rgb(0 0 0 / 0.45));
    font-size: 0.75rem;
    text-align: left;
  }

  /* Smenjivanje utisaka pretapanjem */
  .s-fade-stack {
    display: grid;
  }
  .s-fade-stack > .s-fade {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.6s ease,
      visibility 0.6s;
  }
  .s-fade-stack > .s-fade.active {
    opacity: 1;
    visibility: visible;
  }
  .s-dots {
    display: flex;
  }
  .s-dot.dark::after {
    border-color: var(--s-major);
  }
  .s-dot.dark.active::after {
    background: var(--s-major);
  }

  /* ---------- Mozaik projekata ---------- */
  .s-mosaic {
    display: grid;
    gap: 1.875rem;
    align-items: center;
    @media (width >= 768px) {
      grid-template-columns: 1fr 2fr;
    }
  }
  .s-mosaic-trio {
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
    @media (width >= 576px) {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: [start] 1fr auto [end];
      grid-auto-flow: column;
      align-items: end;
      align-self: end;
    }
  }
  @media (width >= 576px) {
    .s-mosaic-trio > :nth-child(3) {
      grid-row: start / end;
    }
  }
  .s-mosaic-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.875rem;
    @media (width >= 768px) {
      grid-column: 1 / -1;
    }
  }
  .s-mosaic-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: calc(1.875rem * var(--k-tl)) calc(1.875rem * var(--k-tr)) calc(1.875rem * var(--k-br)) calc(1.875rem * var(--k-bl));
    color: #fff;
  }
  .s-mosaic-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.6s ease;
  }
  @media (width >= 576px) {
    .s-mosaic-images img {
      width: auto;
      height: calc(var(--s-ciw) * 0.375 - 0.703125rem);
    }
  }
  @media (width >= 768px) {
    .s-mosaic-images img {
      height: calc(var(--s-ciw) / 4 - 0.9375rem);
    }
  }
  .s-mosaic-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding: 3rem 1.40625rem 1.25rem;
    background: linear-gradient(transparent, rgb(20 62 111 / 0.9));
    font-size: 0.875rem;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(0.5rem);
    transition:
      opacity 0.3s,
      transform 0.3s;
  }
  .s-mosaic-caption strong {
    font-size: 1.125rem;
    font-weight: var(--s-w-strong, 500);
  }
  .s-mosaic-item:hover .s-mosaic-caption,
  .s-mosaic-item:focus-visible .s-mosaic-caption {
    opacity: 1;
    transform: none;
  }
  .s-mosaic-item:hover img {
    transform: scale(1.04);
  }

  /* ---------- Blog  ---------- */
  .s-blog-hero {
    padding-block: 4.6875rem;
    background: var(--s-highlight);
    color: var(--s-major);
  }
  .s-blog-hero-title {
    margin: 0;
    font-size: clamp(1.75rem, 4.6vw, 4.25rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.005em;
    text-transform: uppercase;
  }
  .s-blog-hero-title > span {
    display: block;
  }
  .s-blog-hero-title .outline {
    margin-block: 0.08em 0.12em;
    font-size: 2.05em;
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: 0.01em;
    color: transparent;
    -webkit-text-stroke: 0.05em var(--s-major);
  }
  .s-blog-hero-title .indent {
    padding-left: 1.35em;
  }
  .s-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    padding: 0.5rem;
    border-radius: 1.75rem;
    background: #fff;
  }
  .s-pills a {
    padding: 0.5rem 2rem;
    border-radius: 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--s-major);
    transition:
      background-color 0.2s,
      color 0.2s;
  }
  .s-pills a:hover {
    background: var(--s-light);
  }
  .s-pills a.active {
    background: var(--s-major);
    color: #fff;
  }
  .s-article-grid {
    display: grid;
    gap: 1.25rem;
    @media (width >= 768px) {
      grid-template-columns: repeat(2, 1fr);
    }
    @media (width >= 1240px) {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  .s-article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: calc(0.9375rem * var(--k-tl)) calc(0.9375rem * var(--k-tr)) calc(0.9375rem * var(--k-br)) calc(0.9375rem * var(--k-bl));
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: box-shadow 0.3s;
  }
  .s-article-card:hover {
    box-shadow: 0 1rem 2.5rem rgb(20 62 111 / 0.12);
  }
  .s-article-card-img {
    aspect-ratio: 367 / 206;
    overflow: hidden;
    background: var(--s-light);
  }
  .s-article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }
  .s-article-card:hover .s-article-card-img img {
    transform: scale(1.04);
  }
  .s-article-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 2.5rem 2rem;
  }
  .s-article-card-title {
    margin: 0.75rem 0 1.25rem;
    font-size: 1.75rem;
    font-weight: var(--s-w-strong, 500);
    line-height: 1.25;
    letter-spacing: -0.01em;
  }
  .s-article-card-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    font-weight: 700;
  }
  .s-article-card-more svg {
    stroke-width: 2.5;
    transition: transform 0.2s;
  }
  .s-article-card:hover .s-article-card-more svg {
    transform: translateX(0.25rem);
  }
  .s-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
  }
  .s-pagination a {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 2px solid var(--s-major);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    color: var(--s-major);
    transition:
      background-color 0.2s,
      color 0.2s;
  }
  .s-pagination a svg {
    stroke-width: 2.5;
  }
  .s-pagination a:hover,
  .s-pagination a[aria-current] {
    background: var(--s-major);
    color: #fff;
  }

  /* Članak */
  .s-post-head-box {
    margin: 3.75rem 0.9375rem 0;
    background: var(--s-highlight);
    color: var(--s-major);
  }
  .s-post-head-grid {
    display: grid;
    padding-top: 4.875rem;
    @media (width >= 992px) {
      grid-template-columns: 5fr 7fr;
    }
  }
  .s-post-head-text {
    padding-bottom: 3.75rem;
    @media (width >= 992px) {
      padding-right: 1.875rem;
    }
  }
  .s-post-title {
    margin: 0.9375rem 0 0;
    font-size: calc(1.45rem + 2vw);
    font-weight: var(--s-w-strong, 500);
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-wrap: balance;
    @media (width >= 1200px) {
      font-size: 3rem;
    }
  }
  .s-post-head-image {
    position: relative;
    z-index: 1;
    margin-bottom: -2.5rem;
    aspect-ratio: 669 / 356;
    overflow: hidden;
    @media (width >= 992px) {
      align-self: end;
      margin-bottom: -4.5rem;
    }
  }
  .s-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 3rem;
    margin: 0;
    padding: 4rem 0 0;
    list-style: none;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
    text-transform: uppercase;
    @media (width >= 992px) {
      width: 41.666%;
      padding-top: 1.5rem;
    }
  }
  .s-post-meta li {
    display: flex;
    align-items: flex-start;
    gap: 0.9375rem;
  }
  .s-post-meta li span {
    max-width: 7rem;
  }
  .s-article {
    padding-block: 3.75rem var(--s-sd);
  }
  .s-article-lead {
    max-width: 41rem;
    margin: 0 0 3.75rem;
    font-weight: 600;
    line-height: 1.55;
  }
  .s-article-prose > * {
    max-width: 41rem;
  }
  .s-article-prose p {
    margin: 0 0 1.5rem;
    line-height: 1.55;
  }
  .s-article-prose h2 {
    margin: 3.75rem 0 1.25rem;
    font-size: calc(1.3375rem + 1.05vw);
    font-weight: var(--s-w-strong, 500);
    line-height: 1.15;
    @media (width >= 1200px) {
      font-size: 2.125rem;
    }
  }
  .s-article-prose h3 {
    margin: 2.5rem 0 1rem;
    font-size: 1.5rem;
    font-weight: var(--s-w-strong, 500);
    line-height: 1.25;
  }
  .s-article-prose h4 {
    margin: 1.875rem 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
  }
  .s-article-prose > :first-child {
    margin-top: 0;
  }
  .s-article-prose ul,
  .s-article-prose ol {
    margin: 0 0 1.5rem;
    padding-left: 1.25rem;
  }
  .s-article-prose ul {
    list-style: disc;
  }
  .s-article-prose ol {
    list-style: decimal;
  }
  .s-article-prose li {
    margin-bottom: 0.5rem;
  }
  .s-article-prose a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }
  .s-article-prose img {
    max-width: 100%;
    height: auto;
    border-radius: calc(0.9375rem * var(--k-tl)) calc(0.9375rem * var(--k-tr)) calc(0.9375rem * var(--k-br)) calc(0.9375rem * var(--k-bl));
  }
  .s-article-prose blockquote {
    margin: 2.5rem 0;
    padding-left: 1.5rem;
    border-left: 3px solid var(--s-highlight);
    font-size: 1.375rem;
  }
  .s-article-prose > .s-text-image,
  .s-text-image .s-article-prose > *,
  .s-with-headlines > * {
    max-width: none;
  }
  .s-with-headlines h2 {
    margin-top: 0;
    font-size: calc(1.275rem + 0.3vw);
    @media (width >= 1200px) {
      font-size: 1.5rem;
    }
  }
  .s-with-headlines h3 {
    margin: 1.875rem 0 0.9375rem;
    font-size: 1.125rem;
    font-weight: 600;
  }
  .s-text-image {
    display: grid;
    gap: 1.875rem;
    margin: 3.75rem 0;
    @media (width >= 992px) {
      grid-template-columns: 7fr 5fr;
      column-gap: 1.75rem;
      align-items: start;
    }
  }
  .s-text-image .s-h3 {
    margin-bottom: 1.25rem;
    font-weight: var(--s-w-strong, 500);
  }
  .s-article-prose > .s-info-box,
  .s-info-box {
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
    max-width: 41.25rem;
    margin: 5rem auto;
    padding: 2.5rem 1.875rem;
    background: var(--s-highlight);
    color: var(--s-major);
    @media (width >= 768px) {
      flex-direction: row;
      gap: 3rem;
      padding: 3.75rem 4rem;
    }
  }
  .s-info-box-icon {
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
  }
  .s-info-box .s-h3 {
    margin-bottom: 1.25rem;
    font-weight: var(--s-w-strong, 500);
  }

  /* ---------- Projekti ---------- */
  .s-project-grid {
    display: grid;
    gap: 2.8125rem 1.875rem;
    @media (width >= 768px) {
      grid-template-columns: repeat(2, 1fr);
    }
    @media (width >= 1240px) {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  .s-toolbar {
    height: 5rem;
  }
  .s-toolbar-tools {
    position: sticky;
    top: calc(var(--s-navbar) * 0.5 - 1.5625rem);
    z-index: 1019;
    display: flex;
    width: fit-content;
    margin: -4.0625rem auto 0;
  }
  .s-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    height: 2.875rem;
    padding: 0 0.9375rem;
    border: 0;
    background: var(--s-light);
    color: var(--s-major);
    font-size: 1.125rem;
    cursor: pointer;
    transition: background-color 0.15s;
  }
  .s-tool-btn:first-child {
    border-bottom-left-radius: calc(var(--s-radius) * var(--k-bl));
  }
  .s-tool-btn:last-child {
    border-top-right-radius: calc(var(--s-radius) * var(--k-tr));
  }
  .s-tool-btn:hover {
    background: var(--s-highlight);
  }
  .s-project-image {
    width: 100%;
    max-height: 42rem;
    aspect-ratio: 1515 / 663;
    object-fit: cover;
  }
  .s-project-body {
    display: grid;
    gap: 1.875rem;
    @media (width >= 992px) {
      grid-template-columns: 1fr 2fr;
      column-gap: 3.75rem;
      align-items: start;
    }
  }
  @media (width >= 992px) {
    .s-project-body aside {
      position: sticky;
      top: var(--s-sd);
    }
  }
  .s-facts {
    padding: 1.875rem;
    border-radius: calc(0.9375rem * var(--k-tl)) calc(0.9375rem * var(--k-tr)) calc(0.9375rem * var(--k-br)) calc(0.9375rem * var(--k-bl));
    background: var(--s-highlight);
    color: var(--s-major);
  }
  .s-facts hr {
    margin: 0.9375rem 0 1.25rem;
    border: 0;
    border-top: 1px solid;
    opacity: 0.25;
  }
  .s-facts dl {
    margin: 0;
  }
  .s-facts dt {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
  }
  .s-facts dd {
    margin: 0 0 1rem;
  }
  .s-facts div:last-child dd {
    margin-bottom: 0;
  }
  .s-project-gallery {
    display: grid;
    gap: 1.875rem;
    grid-template-columns: repeat(2, 1fr);
    @media (width >= 1240px) {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  .s-offcanvas-filter {
    width: 640px;
  }

  /* ---------- Panel u meniju : naslov + istaknut projekat ---------- */
  .s-nav-aside.has-content {
    width: 100%;
    overflow-y: auto;
    padding: calc(1.875rem * 3 + 1.75rem) var(--pad-x) 1.875rem;
    color: var(--s-major);
    scrollbar-width: thin;
  }
  .s-nav-aside-title {
    margin: 0 0 1.875rem;
    font-size: calc(1.45rem + 2.4vw);
    line-height: 1.15385;
    @media (width >= 1200px) {
      font-size: 3.25rem;
    }
  }
  .s-nav-aside-title > * {
    display: block;
  }
  .s-nav-aside-title strong {
    font-weight: var(--s-w-strong, 500);
  }
  .s-nav-list a small {
    margin-left: 1rem;
  }
}
}

@layer components {
[data-theme='studio'] {
  .s-article-prose .s-info-box h3 {
    margin-top: 0;
  }
  .s-richtext.normal > * {
    max-width: 52rem;
  }
  .s-richtext.wide > * {
    max-width: none;
  }
  .s-richtext h2 {
    margin: 0 0 1.875rem;
    font-size: calc(1.4rem + 1.8vw);
    font-weight: 400;
    line-height: 1.15385;
    @media (width >= 1200px) {
      font-size: 2.75rem;
    }
  }
  .s-richtext h2 strong {
    display: block;
    font-weight: var(--s-w-strong, 500);
  }
  .s-richtext p {
    margin-bottom: 1rem;
  }
  .s-cta {
    position: relative;
    overflow: hidden;
    padding-block: 5rem;
    text-align: center;
  }
  .s-cta.has-image {
    color: #fff;
  }
  .s-cta-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .s-cta.has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgb(20 62 111 / 0.7);
  }
  .s-cta > .s-container {
    z-index: 2;
  }
  .s-cta-title {
    max-width: 40rem;
    margin: 0 auto 1.875rem;
    font-size: calc(1.3rem + 1vw);
    font-weight: var(--s-w-strong, 500);
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-wrap: balance;
    @media (width >= 1200px) {
      font-size: 2.25rem;
    }
  }
  .s-cta-text {
    max-width: 40rem;
    margin: 0 auto;
    line-height: 1.6;
  }
  .s-cta .s-link-list {
    justify-content: center;
  }
  .s-btn-white {
    background: #fff;
    border-color: #fff;
    color: var(--s-major);
  }
}
}

@layer components {
[data-theme='studio'] {
  @media (width < 576px) {
    .s-mosaic-images .s-mosaic-item {
      width: 100%;
    }
  }
}
}
