/* SIA STORY | PC-only styles, shared components stay in commonness/subpages. */
body[data-page="story"] {
  --story-violet: #8058e7;
  --story-pink: #ff5ca8;
  --story-ink: #201929;
}
body[data-page="story"] #journal {
  background: linear-gradient(180deg,#fff 0%,#fbf9ff 100%);
  color: var(--story-ink);
}
body[data-page="story"] #journal::before { display: none; }
body[data-page="story"] #journal .section-head h2 em, .story-success-head h2 em {
  background: linear-gradient(95deg,#ff4ba5,#9659ee 54%,#4a94ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.story-journal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
}
.story-journal-header .section-head { margin: 0; }
.story-content-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid #eae3f1;
  border-radius: 999px;
  background: #faf7ff;
}
.story-content-tabs a {
  min-width: 112px;
  padding: 13px 20px;
  border-radius: 999px;
  color: #6e6279;
  text-align: center;
  font-weight: 850;
  text-decoration: none;
  transition: background .2s,color .2s;
}
.story-content-tabs a.is-active {
  background: linear-gradient(110deg,#ff4ba5,#9a5bf6 52%,#4e87ff);
  box-shadow: 0 8px 20px #7450e838;
  color: #fff;
}
.story-content-tabs a:not(.is-active):hover {
  color: var(--story-violet);
  background: #fff;
}
.story-journal-groups {
  display: grid;
  gap: 46px;
  margin-top: 48px;
}
.story-journal-group {
  display: grid;
  grid-template-columns: 170px minmax(0,1fr);
  column-gap: 22px;
  align-items: start;
  padding-top: 27px;
  border-top: 1px solid #e8e1ed;
  scroll-margin-top: 235px;
}
.story-journal-group__head { padding-top: 5px; }
.story-journal-group__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #241b2b;
  font-size: 1.15rem;
  font-weight: 850;
}
.story-journal-group__title b,.story-success-group__head b {
  display: inline-grid;
  place-items: center;
  min-width: 27px;
  min-height: 25px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f7eefc;
  color: var(--story-pink);
  font-size: .85rem;
}
.story-field-parent-filter,.story-field-subcategory-filter {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.story-field-parent-filter {
  display: flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  font-weight: 850;
}
.story-field-subcategories {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 19px 0 0;
  list-style: none;
}
.story-field-subcategory-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #73687d;
  font-size: 1rem;
  font-weight: 750;
}
.story-field-subcategory-filter:hover,.story-field-subcategory-filter.is-active { color: var(--story-violet); }
.story-field-subcategory-filter em {
  min-width: 21px;
  padding: 3px 5px;
  border-radius: 8px;
  background: #f2edf7;
  font-size: .85rem;
  font-style: normal;
  text-align: center;
}
.story-field-subcategory-filter.is-active em {
  background: var(--story-violet);
  color: #fff;
}
.story-journal-group.is-filter-loading [data-journal-grid] {
  opacity: .45;
  pointer-events: none;
}
.story-list {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  min-width: 0;
}
.story-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eae4f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 15px 38px #36234f0f;
  transition: transform .25s,box-shadow .25s;
}
.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 52px #36234f20;
}
.story-card>a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.story-card>a>img {
  display: block;
  width: 100%;
  height: 245px;
  object-fit: contain;
  object-position: center;
  background: #f6f3f8;
  border-bottom: 1px solid #eee8f1;
}
.story-card .copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 19px 20px 22px;
}
.story-card-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.story-card-topline small {
  color: var(--story-pink);
  font-size: 1rem;
  font-weight: 850;
}
.story-card-topline span {
  padding: 4px 7px;
  border-radius: 999px;
  background: #f5effc;
  color: var(--story-violet);
  font-size: .85rem;
  font-weight: 800;
}
.story-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 0 8px;
  color: #211b29;
  font-size: 1.15rem;
  font-weight: 850;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.story-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #797080;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.story-card .copy>em {
  margin-top: auto;
  padding-top: 20px;
  color: var(--story-violet);
  font-style: normal;
  font-size: 1rem;
  font-weight: 850;
}
.story-journal-group>.story-list,.story-journal-group>.story-journal-more-wrap { grid-column: 2; }
.story-journal-more-wrap,.story-success-more-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 26px;
}
.story-success-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 175px;
  height: 49px;
  padding: 0 20px;
  border: 1px solid #e1d8ed;
  border-radius: 999px;
  background: #fff;
  color: #292033;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 32px #39265114;
  transition: transform .2s,box-shadow .2s;
}
.story-success-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px #39265126;
}
.story-success-more b {
  padding: 5px 8px;
  border-radius: 999px;
  background: linear-gradient(115deg,#ff4ba5,#8058e7);
  color: #fff;
  font-size: .8rem;
}
.story-success-more i {
  color: var(--story-violet);
  font-style: normal;
}
.story-success-more:disabled {
  cursor: wait;
  opacity: .65;
}
.story-success-section {
  background: #fff;
  padding-top: 100px;
}
.story-success-head h2 {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 100%;
  margin-top: 14px;
}
.story-success-title-line { display: block; }
.story-success-groups {
  display: grid;
  gap: 46px;
  margin-top: 54px;
}
.story-success-group {
  padding-top: 23px;
  border-top: 1px solid #e8e1ed;
}
.story-success-group__head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 21px;
  font-size: 1.15rem;
  font-weight: 850;
}
.story-success-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 19px;
}
.story-success-card { min-width: 0; }
.story-success-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e9e2ed;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 13px 35px #3020440e;
  color: inherit;
  text-decoration: none;
  transition: transform .25s,box-shadow .25s;
}
.story-success-card a:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px #30204420;
}
.story-success-card__image {
  position: relative;
  height: 240px;
  background: #f6f3f8;
}
.story-success-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.story-success-card__image span {
  position: absolute;
  left: 14px;
  bottom: 13px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #211b2bc9;
  color: white;
  font-size: .73rem;
  font-weight: 900;
}
.story-success-card__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 19px 20px 22px;
}
.story-success-card__copy small {
  color: var(--story-pink);
  font-size: 1rem;
  font-weight: 850;
}
.story-success-card__copy h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0;
  font-size: 1.15rem;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.story-success-card__copy p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 20px;
  color: #797080;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.story-success-card__copy em {
  margin-top: auto;
  color: var(--story-violet);
  font-style: normal;
  font-weight: 850;
}
.story-success-empty {
  padding: 35px;
  border: 1px dashed #ded6e7;
  border-radius: 18px;
  background: #faf8fc;
  color: #71677b;
}
.story-success-empty strong {
  display: block;
  margin-bottom: 7px;
  color: #291f33;
}
.story-card-appended,.story-success-card.story-card-appended { animation: storyCardIn .4s ease both; }
@keyframes storyCardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Detail: editorial title/hero, side rail and rich content. */
.story-detail-head {
  padding: 88px 0 62px;
  background: linear-gradient(120deg,#f8f5ff,#fff 51%,#fff1f8);
}
.story-detail-head__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.story-detail-head h1 {
  max-width: 930px;
  margin: 14px 0 17px;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -.055em;
  word-break: keep-all;
}
.story-detail-head p {
  margin: 0;
  color: #8a8192;
  font-size: 1rem;
}
.story-detail-head__inner>a {
  padding-bottom: 10px;
  border-bottom: 1px solid #27212d;
  color: #26202d;
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
}
.story-detail-hero {
  padding: 70px 0;
  background: #faf8fc;
}
.story-detail-hero .wrap {
  display: flex;
  justify-content: center;
}
.story-detail-hero img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
  border-radius: 21px;
  box-shadow: 0 22px 66px #32204424;
}
.story-detail-body {
  padding: 100px 0 115px;
  background: #fff;
}
.story-detail-body__inner {
  display: grid;
  grid-template-columns: 190px minmax(0,790px);
  justify-content: center;
  gap: 70px;
}
.story-detail-body aside {
  position: sticky;
  top: 170px;
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 10px;
}
.story-detail-body aside b {
  color: var(--story-violet);
  font-size: 1rem;
  letter-spacing: .17em;
}
.story-detail-body aside span {
  font-size: 1.5rem;
  font-weight: 850;
}
.story-detail-body aside small {
  color: #8d8496;
  font-size:1rem;
}
.story-detail-subcategory {
  display: block;
  margin-top: 5px;
  color: #88719c;
  font-size: .85rem;
  font-style: normal;
}
.post-rich-content {
  min-width: 0;
  color: #43394b;
  font-size: 1.08rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
  word-break: keep-all;
}
.post-rich-content p { margin: 0 0 22px; }
.post-rich-content h2 {
  margin: 48px 0 19px;
  font-size: 1.95rem;
  line-height: 1.3;
}
.post-rich-content h3 {
  margin: 38px 0 15px;
  font-size: 1.5rem;
}
.post-rich-content blockquote {
  margin: 30px 0;
  padding: 23px 28px;
  border-left: 3px solid var(--story-violet);
  background: #faf7fe;
}
.post-rich-content img,.post-rich-content video {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 14px;
}
.post-rich-content video {
  width: 100%;
}
.post-rich-content iframe,.post-rich-content .post-video-embed {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  margin: 30px auto;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
}
.post-rich-content .post-video-embed iframe {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
}
.post-rich-content figure {
  margin: 35px 0;
  text-align: center;
}
.post-rich-content figcaption {
  margin-top: 10px;
  color: #938b9d;
  font-size: .83rem;
}
.post-rich-content a {
  color: var(--story-violet);
  text-underline-offset: 3px;
}
.post-rich-content .post-plain-text { white-space: pre-wrap; }
.review-lead {
  padding: 20px 0 20px 22px;
  border-left: 3px solid var(--story-violet);
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.5;
  white-space: pre-wrap;
}
.post-extra-gallery {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 15px;
  margin-top: 42px;
}
.post-extra-gallery figure { margin: 0; }
.post-extra-gallery img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.review-detail-pager {
  padding: 32px 0;
  border-top: 1px solid #eee9f1;
  border-bottom: 1px solid #eee9f1;
  background: #fbf9fd;
}
.review-detail-pager__grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 130px minmax(0,1fr);
  align-items: center;
  gap: 26px;
}
.review-detail-pager a {
  color: #25202e;
  text-decoration: none;
  font-size:1rem;
}
.review-detail-pager a:not(.review-detail-list) {
  display: grid;
  gap: 8px;
}
.review-detail-pager a.next {
  justify-items: end;
  text-align: right;
}
.review-detail-pager small {
  color: #9a90a2;
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .16em;
}
.review-detail-pager b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.15rem;
}
.review-detail-list {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 1px solid #e0d8e8;
  border-radius: 999px;
  background: white;
  font-weight: 850;
}
.post-not-found { text-align: center; }
.post-not-found .btn { margin-top: 22px; }

/* Story: responsive journal, archive and article; PC rules are preserved. */
@media (max-width: 767px) {
  body[data-page="story"] #journal { padding-top: 72px; padding-bottom: 75px; }
  .story-journal-header { flex-direction: column; align-items: center; gap: 24px; text-align: center; }
  .story-journal-header .section-head { width: 100%; }
  .story-journal-header .section-head h2, .story-success-head h2 { font-size: 1.5rem; line-height: 1.15; }
  /* Story and Sialog mobile headings; no desktop changes. */
  .story-journal-header .section-head .eyebrow,
  .story-success-head .eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }
  .story-journal-header .section-head .eyebrow::before,
  .story-journal-header .section-head .eyebrow::after,
  .story-success-head .eyebrow::before,
  .story-success-head .eyebrow::after {
    content: "";
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 1px;
    background: #9265ed;
  }
  .story-journal-header .section-head h2::after,
  .story-success-head h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin: 20px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg,#ff4ba5,#975df0,#4e8cff);
  }
  .story-success-head h2 { align-items: center; }
  .story-content-tabs { max-width: 100%; padding: 4px; }
  .story-content-tabs a { min-width: 96px; padding: 10px 16px; font-size: 1rem; }
  .story-journal-groups { gap: 35px; margin-top: 35px; }
  .story-journal-group { grid-template-columns: minmax(0,1fr); gap: 17px; padding-top: 20px; scroll-margin-top: 125px; }
  .story-journal-group__head { padding: 0; }
  .story-journal-group__title { justify-content: center; font-size: 1.15rem; }
  .story-field-parent-filter { justify-content: center; }
  .story-field-subcategories { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
  .story-field-subcategory-filter { gap: 4px; padding: 7px 9px; border: 1px solid #eae3f1; border-radius: 999px; background: #fff; font-size: .85rem; }
  .story-journal-group > .story-list, .story-journal-group > .story-journal-more-wrap { grid-column: 1; }
  .story-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .story-card { border-radius: 16px; box-shadow: 0 9px 25px #36234f0d; }
  .story-card>a>img { height: auto; aspect-ratio: 4/3; }
  .story-card .copy { padding: 12px 11px 15px; }
  .story-card-topline { gap: 5px; }
  .story-card-topline small { font-size: .85rem; }
  .story-card-topline span { font-size: .85rem; }
  .story-card h3 { margin-top: 8px; font-size: 1rem; line-height: 1.5; }
  .story-card p { margin-top: 9px; font-size: .85rem; }
  .story-card .copy>em { padding-top: 11px; font-size: .85rem; }
  .story-journal-more-wrap, .story-success-more-wrap { padding-top: 21px; }
  .story-success-more { height: 44px; min-width: 150px; font-size: .85rem; }
  .story-success-section { padding-top: 75px; padding-bottom: 78px; }
  .story-success-head { text-align: center; }
  .story-success-head h2 { align-items: center; }
  .story-success-groups { gap: 30px; margin-top: 32px; }
  .story-success-group { padding-top: 18px; }
  .story-success-group__head { justify-content: center; margin-bottom: 16px; font-size: 1.15rem; }
  .story-success-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .story-success-card a { border-radius: 15px; }
  .story-success-card__image { height: auto; aspect-ratio: 4/3; }
  .story-success-card__image span { left: 7px; bottom: 7px; padding: 5px 7px; font-size: .64rem; }
  .story-success-card__copy { padding: 12px 10px 15px; }
  .story-success-card__copy small { font-size: .85rem; }
  .story-success-card__copy h3 { margin: 8px 0; font-size: 1rem; line-height: 1.5; }
  .story-success-card__copy p { margin-bottom: 12px; font-size: .85rem; }
  .story-success-card__copy em { font-size: .85rem; }
  .story-detail-head { padding: 56px 0 42px; }
  .story-detail-head__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .story-detail-head h1 { font-size: clamp(1.45rem, 5.8vw, 2rem); line-height: 1.35; }
  .story-detail-head p { font-size: .78rem; }
  .story-detail-head__inner>a { font-size: .82rem; }
  .story-detail-hero { padding: 30px 0; }
  .story-detail-hero img { border-radius: 13px; box-shadow: 0 12px 35px #32204420; }
  .story-detail-body { padding: 55px 0 70px; }
  .story-detail-body__inner { grid-template-columns: minmax(0,1fr); gap: 27px; }
  .story-detail-body aside { position: static; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding-bottom: 16px; border-bottom: 1px solid #eee9f1; }
  .story-detail-body aside b, .story-detail-body aside small { font-size: .75rem; }
  .story-detail-body aside span { font-size: .95rem; }
  .story-detail-subcategory { display: inline; margin-left: 5px; font-size: .75rem; }
  .post-rich-content { font-size: .92rem; line-height: 1.8; }
  .post-rich-content h2 { margin-top: 32px; font-size: 1.45rem; }
  .post-rich-content h3 { margin-top: 28px; font-size: 1.22rem; }
  .post-rich-content blockquote { padding: 17px; }
  .post-rich-content img, .post-rich-content video, .post-rich-content iframe, .post-rich-content .post-video-embed { margin: 22px auto; border-radius: 10px; }
  .review-lead { padding: 15px 0 15px 16px; font-size: .98rem; }
  .post-extra-gallery { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .review-detail-pager { padding: 22px 0; }
  .review-detail-pager__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .review-detail-pager__grid>.review-detail-list { grid-column: 1/-1; grid-row: 1; justify-self: center; min-width: 115px; }
  .review-detail-pager__grid>a:not(.review-detail-list), .review-detail-pager__grid>span { grid-row: 2; }
  .review-detail-pager b { max-width: 100%; font-size: .82rem; }
  .review-detail-pager small { font-size: .67rem; }
}
