/* Palette and first-party integrations for the published article layout. */
.sw-reference {
  --_text-colors---primary: var(--sw-ink);
  --_text-colors---secondary: var(--sw-muted);
  --_background-colors---bgsecondary: #f3ebdd;
  background: var(--sw-paper);
  color: var(--sw-ink);
  font: 400 16px/1.55 Manrope, Arial, sans-serif;
}
.sw-reference::after { content: none; }
.sw-reference main { padding-inline: 0; background: var(--background); }
.sw-reference :is(.site-header, .case-toolbar, .site-footer) { font-family: var(--sans); }
.sw-reference .case-toolbar .back-link { color: #c2cbd6; }
.sw-reference .case-toolbar .back-link:hover { color: var(--light); }
.sw-reference .is-blog_temp_hero, .sw-reference .is-blog_temp_body { background: var(--sw-paper); }
.sw-reference .is-blog_temp_hero { padding-block-start: clamp(28px, 5vw, 68px); }
.sw-reference .is-blog_temp_body { padding-block-end: clamp(34px, 5vw, 68px); }
.sw-reference .blog_temp_hero-info_wrapper { row-gap: clamp(14px, 2vw, 26px); }
.sw-reference .blog_temp_hero-thumbnail { display: block; width: 100%; height: auto; aspect-ratio: 2048/995; object-fit: cover; }
.sw-case-ending {
  --gutter: 1rem;
  --case-content-width: 80rem;
  --case-end: var(--sw-paper);
  --case-next-ink: var(--sw-ink);
  --case-next-hover: var(--sw-berry);
  --case-next-font: var(--serif);
}
.sw-reference .blog_temp_body-rich_wrapper, .sw-reference .pw-toc { min-width: 0; }
.sw-reference .blog_temp_body-rich_wrapper .blog-rich :is(h2, h4, .sw-voice-insert) { scroll-margin-top: 100px; }
.sw-reference .blog-rich blockquote {
  margin-block: clamp(22px,3vw,34px);
  padding: clamp(15px,1.8vw,24px) clamp(17px,2.35vw,30px);
  border-radius: 12px;
  background: #f2e7df;
  color: var(--sw-berry);
  font-size: clamp(16px,1.5vw,20px);
  line-height: 1.45;
  font-weight: 650;
}
.sw-reference .blog-rich figcaption { color: var(--sw-muted); }
.sw-reference .pw-toc__list { border-color: var(--sw-rule); }
.sw-reference .pw-toc__item a { overflow-wrap: anywhere; }
.sw-reference .pw-toc__item a:hover { color: var(--sw-berry); }
.sw-reference .sw-banner { margin-top: 0; margin-bottom: 0; }
.sw-reference .blog-rich [data-rt-embed-type]:has(> .sw-banner) + h2 {
  margin-block-start: clamp(28px,4vw,48px);
}
.sw-reference .sw-banner h3 { margin: 0; }
.sw-reference .sw-banner p { margin: 8px 0 0; }

.sw-reference .blog-rich .sw-source-plate {
  display: grid;
  grid-template-columns: repeat(var(--sw-frame-columns), minmax(0,1fr));
  gap: clamp(10px, 3vw, 33px);
  width: 100%;
  aspect-ratio: var(--sw-frame-ratio);
  align-items: center;
  justify-items: center;
  padding: clamp(12px, 4.2vw, 54px);
  background: #e9d8bd;
  color: var(--sw-ink);
  overflow: hidden;
}
.sw-reference .blog-rich .sw-source-plate:nth-child(odd).is-berry { background: #e8c8d5; }
.sw-reference .sw-source-plate img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.sw-reference .sw-source-plate.is-phones img { max-width: 270px; filter: drop-shadow(0 10px 16px #211b2736); }
.sw-reference .sw-source-plate.is-portraits img { max-width: 224px; border-radius: 16px; object-fit: cover; }
.sw-reference .blog-rich .sw-scenario-cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  grid-auto-rows: clamp(82px,8vw,108px);
  gap: clamp(10px,1.55vw,20px);
  margin: clamp(20px,2.8vw,32px) 0;
  padding: 0;
  list-style: none;
}
.sw-reference .blog-rich .sw-scenario-cards > li {
  display: grid;
  place-items: center;
  min-width: 0;
  margin: 0;
  padding: clamp(8px,1.4vw,16px);
  border: 1px solid #e4d5c8;
  border-radius: 12px;
  background: #f6efe3;
  color: var(--sw-berry);
  font-size: clamp(15px,1.55vw,20px);
  line-height: 1.25;
  font-weight: 650;
  text-align: center;
  overflow-wrap: anywhere;
}
.sw-reference .blog-rich .sw-scenario-caption {
  margin-top: -10px;
  color: var(--sw-muted);
  font-size: 14px;
  text-align: center;
}

.sw-reference .sw-voice-insert > .sw-slider { display: block; width: 100%; margin: 0; text-align: start; }
.sw-reference .sw-voice-insert .sw-editorial { width: 100%; max-width: none; float: none; margin: 0; padding: clamp(20px, 4vw, 48px); }
.sw-reference .sw-voice-insert .sw-editorial h3 { color: #fff8ef; margin: 0; }
.sw-reference .sw-voice-insert .sw-editorial p { color: #fff8ef; margin: 12px 0 0; }
.sw-reference .sw-voice-insert .sw-device { width: min(100%,252px); }
.sw-reference .blog_inner-slider_control [role="button"] { cursor: pointer; }
.sw-reference .blog_inner-slider_control [aria-disabled="true"] { opacity: .4; cursor: default; }

@media (min-width:992px) {
  .sw-reference .blog_temp_body-main { grid-template-columns: minmax(0,800px) minmax(220px,1fr); column-gap: clamp(32px, 5.55vw, 80px); }
}
@media (max-width:600px) {
  .sw-reference .sw-voice-insert .sw-device { width: min(100%,220px); }
  .sw-reference .sw-voice-insert .sw-editorial { row-gap: 24px; }
}

@media (max-width:520px) {
  .sw-reference .blog-rich .sw-scenario-cards {
    grid-template-columns: minmax(0,1fr);
    grid-auto-rows: 64px;
  }
}
