@charset "UTF-8";

/* Published details and admin previews use the same article structure. */
.article-layout,
:is(.prose, .body-editor) {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.article-layout {
  max-width: 850px;
  padding-block: 28px 75px;
  color: #222;
  line-height: 1.7;
}
.article-layout a {
  color: inherit;
}
.article-header .eyebrow {
  font-size: 13px;
  letter-spacing: .08em;
}
.product-category-trail {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  color: #666;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.product-category-trail a:hover {
  text-decoration: underline;
}
.article-layout.product-layout {
  max-width: 1240px;
  padding-top: 42px;
}
.product-intro {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
  gap: clamp(22px,5vw,68px);
}
.product-gallery-stage {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
}
.product-gallery-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template: minmax(0,1fr) / minmax(0,1fr);
  place-items: center;
}
.product-gallery-slide[hidden] {
  display: none;
}
.product-gallery-slide :is(img,video) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-gallery-slide video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.product-gallery-placeholder {
  font-size: 14px;
  color: #666;
}
.product-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}
.product-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}
.product-gallery-controls button {
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
  color: #222;
}
.product-gallery-controls [data-gallery-step] {
  flex: 0 0 28px;
  height: 36px;
  font-size: 21px;
  line-height: 1;
}
.product-gallery-thumbs button {
  width: clamp(38px,4.4vw,57px);
  aspect-ratio: 1;
  overflow: hidden;
  font-size: 12px;
}
.product-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-gallery-thumbs button[aria-pressed="true"] {
  border-color: #222;
  box-shadow: 0 0 0 1px #222 inset;
}
.product-intro-copy h1 {
  margin: 12px 0;
  font-weight: 700;
  font-size: clamp(24px,3.1vw,43px);
  letter-spacing: -.035em;
  line-height: 1.34;
  overflow-wrap: anywhere;
}
.product-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.product-detail-chips span {
  padding: 4px 11px;
  border-radius: 99px;
  background: #ededed;
  color: #414141;
  font-size: 13px;
}
.product-flavor-options {
  display: grid;
  gap: 8px;
  margin-block: 20px 14px;
  font-size: 14px;
  color: #555;
}
.product-flavor-options > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.product-flavor-options a {
  padding: 4px 10px;
  border: 1px solid #d7d7d7;
  border-radius: 5px;
  background: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.product-flavor-options a[aria-current="true"] {
  border-color: #222;
  color: #111;
  font-weight: 650;
}
.product-key-facts {
  margin: 22px 0 0;
  border-top: 1px solid #dedede;
}
.product-key-facts > div {
  display: grid;
  grid-template-columns: 7rem minmax(0,1fr);
  gap: 10px;
  border-bottom: 1px solid #e6e6e6;
  padding-block: 10px;
  font-size: 14px;
}
.product-key-facts dt {
  color: #666;
}
.product-key-facts dd {
  margin: 0;
  text-align: end;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.product-detail-body {
  max-width: 850px;
  margin: clamp(28px,6vw,72px) auto 0;
  padding-top: 22px;
  border-top: 1px solid #ddd;
}
.product-detail-body > h2 {
  margin: 0;
  font-size: 24px;
}
.product-detail-body .article-byline {
  padding-block: 9px 18px;
}
.product-recipe h3 {
  margin: 0;
  font-size: 18px;
}
.product-recipe > :is(.fact-list, .analysis-table) {
  margin-block-start: 12px;
}
@media(max-width: 680px) {
  .article-layout.product-layout {
    padding-top: 20px;
  }
  .product-intro {
    grid-template-columns: minmax(0,1fr);
    gap: 22px;
  }
}
.article-header h1 {
  margin: 10px 0 15px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}
.article-summary {
  margin: 0 0 1em;
  color: #666;
  font-size: 17px;
  overflow-wrap: anywhere;
}
.article-summary:empty {
  display: none;
}
.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 17px;
  padding-block: 15px 28px;
  color: #666;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.detail-cover,
.detail-video {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 35px;
  border-radius: 3px;
  object-fit: contain;
}
.detail-cover {
  max-height: 650px;
  background: #eee;
}
.product-main-image {
  background: #fff;
}
.detail-video {
  max-height: 600px;
  background: #111;
}
.video-transcript {
  margin-block: 28px;
}
.fact-list {
  margin: 28px 0;
  padding: 8px 25px;
  border: 1px solid #dedede;
  border-radius: 4px;
}
.fact-list > div {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  padding-block: 13px;
  border-bottom: 1px solid #dedede;
  font-size: 14px;
}
.fact-list > div:last-child {
  border-bottom: 0;
}
.fact-list dt {
  color: #666;
}
.fact-list dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.analysis-table {
  width: 100%;
  table-layout: fixed;
  border: 1px solid #dedede;
  border-spacing: 0;
  border-radius: 4px;
  margin-block: 28px;
  font-size: 14px;
}
.analysis-table caption {
  padding-bottom: 9px;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
}
.analysis-table caption small {
  display: block;
  margin-top: 3px;
  color: #666;
  font-size: 13px;
  font-weight: 400;
}
.analysis-table :is(th, td) {
  padding: 9px clamp(10px, 2vw, 22px);
  border-bottom: 1px solid #dedede;
  text-align: left;
  overflow-wrap: anywhere;
}
.analysis-table thead th {
  background: #f5f5f5;
  font-weight: 600;
}
.analysis-table tbody th {
  font-weight: 500;
}
.analysis-table td {
  font-variant-numeric: tabular-nums;
}
.analysis-table tbody tr:last-child > * {
  border-bottom: 0;
}
.source-line,
.related {
  padding-top: 25px;
  border-top: 1px solid #dedede;
}
.source-line {
  margin: 35px 0 0;
  color: #666;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-block: 25px;
}
.tag-list a {
  padding: 5px 12px;
  border-radius: 3px;
  background: #e8e8e8;
  color: #555;
  font-size: 12px;
}
.related h2 {
  margin: 0 0 .5em;
  font-size: 20px;
}
.related a {
  display: block;
  margin-block: 8px;
  font-size: 14px;
}
.article-back {
  display: inline-block;
  margin-top: 25px;
  font-size: 13px;
  font-weight: 500;
}
.demo-notice {
  margin: 0 0 25px;
  padding: 15px 20px;
  border: 1px dashed #bdbdbd;
  background: #eee;
  color: #555;
  font-size: 13px;
}

/* The editor uses the same body typography as the article template. */
:is(.prose, .body-editor) {
  color: var(--article-text-color, #1a1a1a);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: normal;
}
:is(.prose, .body-editor) p {
  margin: 0 0 1em;
  font-size: inherit;
  line-height: inherit;
}
:is(.prose, .body-editor) :is(h1, h2, h3) {
  margin: 1.5em 0 .65em;
  color: inherit;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
:is(.prose, .body-editor) h1 {
  font-size: 28px;
}
:is(.prose, .body-editor) h2 {
  font-size: 24px;
}
:is(.prose, .body-editor) h3 {
  font-size: 20px;
}
:is(.prose, .body-editor) :is(ul, ol) {
  margin: 0 0 1em;
  padding-left: 1.5em;
  list-style-position: outside;
}
:is(.prose, .body-editor) li {
  margin-block: .3em;
  padding-left: .15em;
}
:is(.prose, .body-editor) li > :is(ul, ol) {
  margin-block: .4em;
}
:is(.prose, .body-editor) li > p {
  margin-bottom: .5em;
}
:is(.prose, .body-editor) blockquote {
  margin: 24px 0;
  padding: 14px 20px;
  border-left: 3px solid #888;
  background: #f4f4f4;
  color: inherit;
}
/* Match the more specific legacy article rule without affecting other panels. */
.inner-page .prose blockquote {
  border-left-color: #888;
  background: #f4f4f4;
}
:is(.prose, .body-editor) blockquote > :last-child {
  margin-bottom: 0;
}
:is(.prose, .body-editor) a[href] {
  color: #0b57d0;
  text-decoration-line: underline;
  text-decoration-thickness: .075em;
  text-underline-offset: .18em;
}
/* Text selected for a link may already have inline color formatting. */
:is(.prose, .body-editor) a[href] * {
  color: inherit !important;
}
:is(.prose, .body-editor) a[href]:hover {
  text-decoration-thickness: .12em;
}
:is(.prose, .body-editor) a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

:is(.prose, .body-editor) img:not(.inline-emoji),
:is(.prose, .body-editor) video {
  display: block;
  min-width: 0;
  max-width: 100%;
  height: auto;
  margin-block: 24px;
  border-radius: 4px;
  object-fit: contain;
}
/* Center at the intrinsic size and scale down only when space is limited. */
:is(.prose, .body-editor) img:not(.inline-emoji) {
  width: auto;
  max-width: min(100%, 1200px);
  max-height: none;
  margin-inline: auto;
}
:is(.prose, .body-editor) video {
  width: 100%;
  max-height: 700px;
  margin-inline-start: var(--article-media-start, auto);
  margin-inline-end: var(--article-media-end, auto);
  background: #111;
}
:is(.prose, .body-editor) figure {
  max-width: 100%;
  margin: 24px 0;
}
:is(.prose, .body-editor) figure > img:not(.inline-emoji),
:is(.prose, .body-editor) figure > video {
  margin-block: 0;
}
/* Separate uploads can create adjacent or nested slice figures in the editor. */
:is(.prose, .body-editor) .product-detail-slices:has(+ .product-detail-slices) {
  margin-block-end: 0;
}
:is(.prose, .body-editor) .product-detail-slices + .product-detail-slices {
  margin-block-start: 0;
}
:is(.prose, .body-editor) .product-detail-slices .product-detail-slices {
  width: 100%;
  margin: 0;
}
:is(.prose, .body-editor) .product-detail-slices > img:not(.inline-emoji) {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 0;
}
:is(.prose, .body-editor) figcaption {
  margin-top: 10px;
  color: inherit;
  font-size: 13px;
  line-height: 1.6;
}
:is(.prose, .body-editor) img.inline-emoji {
  display: inline;
  width: 1.15em;
  height: 1.15em;
  min-width: 0;
  max-width: none;
  max-height: none;
  margin: 0 .06em;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  vertical-align: -.15em;
}

:is(.prose, .body-editor).align-left,
:is(.prose, .body-editor) .align-left {
  --article-media-start: 0;
  --article-media-end: auto;
  text-align: left;
}
:is(.prose, .body-editor).align-center,
:is(.prose, .body-editor) .align-center {
  --article-media-start: auto;
  --article-media-end: auto;
  text-align: center;
}
:is(.prose, .body-editor).align-right,
:is(.prose, .body-editor) .align-right {
  --article-media-start: auto;
  --article-media-end: 0;
  text-align: right;
}

/* Text colors work on the full article or an individual formatted fragment. */
:is(.prose, .body-editor).tone-default,
:is(.prose, .body-editor) .tone-default {
  color: #1a1a1a;
}
:is(.prose, .body-editor).tone-gray,
:is(.prose, .body-editor) .tone-gray {
  color: #555;
}
:is(.prose, .body-editor).tone-red,
:is(.prose, .body-editor) .tone-red {
  color: #8a302b;
}
:is(.prose, .body-editor).tone-blue,
:is(.prose, .body-editor) .tone-blue {
  color: #1d4e78;
}
:is(.prose, .body-editor) > :first-child {
  margin-top: 0;
}
:is(.prose, .body-editor) > :last-child {
  margin-bottom: 0;
}

:is(.prose, .body-editor).article-body {
  line-height: 2;
  text-indent: 2em;
}
.article-body h2 {
  margin: 1.25em 0 .55em;
  font-size: 32px;
  line-height: 1.4;
}
.article-body h3 {
  margin: 1.6em 0 .6em;
  font-size: 20px;
  line-height: 1.5;
}
.article-body :is(h1, h2, h3, ul, ol, blockquote, figure, table) {
  text-indent: 0;
}
.article-body > :is(p, div:not(:has(> :is(p, div, h2, h3, table, ul, ol, figure, blockquote)))) {
  margin: 0 0 4.2em;
  text-indent: 2em;
}
.article-body > :is(p, div):is(.align-center, .align-right, :has(img:not(.inline-emoji), video)) {
  text-indent: 0;
}
.article-body > :is(p, div):last-child {
  margin-bottom: 0;
}
.article-body table {
  width: 100%;
  margin: 0 0 1.8em;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: .92em;
  line-height: 1.6;
}
.article-body caption {
  padding: 0 0 6px;
  font-weight: 600;
  text-align: left;
}
.article-body :is(th, td) {
  padding: 7px 9px;
  border: 1px solid #dedede;
  text-align: start;
  vertical-align: top;
}
.article-body th {
  background: #f4f4f4;
  font-weight: 600;
}
.article-body :is(th, td) > p {
  margin: 0 0 .35em;
}
.article-body :is(th, td) > p:last-child {
  margin-bottom: 0;
}

@media (max-width: 680px) {
  .article-header h1 {
    font-size: 28px;
  }
  .article-summary {
    font-size: 15px;
  }
  .fact-list {
    padding: 5px 15px;
  }
  .fact-list > div {
    grid-template-columns: 100px minmax(0, 1fr);
    font-size: 13px;
  }
  :is(.prose, .body-editor) {
    font-size: 15px;
    line-height: 1.8;
  }
  :is(.prose, .body-editor) h1 {
    font-size: 25px;
  }
  :is(.prose, .body-editor) h2 {
    font-size: 22px;
  }
  :is(.prose, .body-editor) h3 {
    font-size: 19px;
  }
  .article-body h2 {
    font-size: 28px;
  }
  .article-body h3 {
    font-size: 19px;
  }
  :is(.prose, .body-editor) blockquote {
    padding: 12px 16px;
  }
  :is(.prose, .body-editor) img:not(.inline-emoji),
  :is(.prose, .body-editor) video,
  :is(.prose, .body-editor) figure {
    margin-block: 20px;
  }
  :is(.prose, .body-editor) figure > img:not(.inline-emoji),
  :is(.prose, .body-editor) figure > video {
    margin-block: 0;
  }
}
