﻿/* Single What's New post — layout + theme-specific overrides (light, glitch, arcade) */

/* ── Breadcrumb ── same as blog single (__blog-single.scss) */
.blog-single-wrap .bs-breadcrumb {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding: 1.72rem 0;
  justify-content: center;
  text-align: center;
}

.blog-single-wrap .bs-breadcrumb-blog {
  font-weight: 500;
  color: #000;
  font-size: 1rem;
  letter-spacing: 0.08rem;
  line-height: 1.84;
  text-decoration: none;
}

.blog-single-wrap .bs-breadcrumb-sep {
  color: #000;
  font-size: 1rem;
  line-height: 1.84;
  margin: 0 4px;
}

.blog-single-wrap .bs-breadcrumb-current {
  color: #7139d1;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.84;
  letter-spacing: 0.08rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}

/* ── Hero card ── same as blog single */
.blog-single-wrap .bs-hero-card {
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(90, 58, 154, 0.15);
  aspect-ratio: 40 / 21;
}

.blog-single-wrap .bs-hero-card img {
  width: 100%;
  height: 100%;
  max-height: 50rem !important;
  object-fit: cover;
  display: block;
}

@media (min-width: 1921px) {
  .blog-single-wrap .bs-hero-card img {
    max-height: unset !important;
  }
}

/* ── Post title ── same as blog single */
.blog-single-wrap .bs-post-title {
  font-size: clamp(1.75rem, 3.5vw, 3.125rem);
  font-weight: 700;
  color: #191919;
  line-height: 1.2727;
  margin: 0 auto 1.7rem;
  max-width: 23em;
  text-transform: capitalize;
}

@media (max-width: 767px) {
  .blog-single-wrap .bs-post-title {
    margin-bottom: 1.25rem;
    max-width: 100%;
  }
}

/* ── Author / date bar ── same as blog single */
.blog-single-wrap .bs-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 1.5rem;
  font-weight: 500;
  color: #343434;
  line-height: 1.26;
  justify-content: center;
  text-align: center;
}

.blog-single-wrap .bs-meta-sep {
  color: rgba(52, 52, 52, 0.6);
}

@media (max-width: 991px) {
  .blog-single-wrap .bs-author-info {
    font-size: 1.125rem;
  }
}

@media (max-width: 767px) {
  .blog-single-wrap .bs-author-info {
    font-size: 1rem;
  }
}

/* â”€â”€ TOC widget base styles â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.wns-toc-widget {
  background: none;
  border: none;
}

.wns-toc-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: Mulish, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.42rem);
  font-style: normal;
  font-weight: 700;
  line-height: 126%;
  color: #606060;
  margin: 0;
  padding-bottom: 1.3rem;
  border-bottom: 1.5px solid #606060;
  cursor: default;
}

.wns-toc-toggle {
  display: none;
}

@media (max-width: 991px) {
  .wns-toc-toggle {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: center / contain no-repeat
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23606060' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }
}

/* â”€â”€ TOC list & links â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.wns-toc-widget .bs-toc-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.wns-toc-widget .bs-toc-item {
  padding: 0;
}

.wns-toc-widget .bs-toc-item--sub {
  padding-left: 0.85rem;
}

.wns-toc-widget .bs-toc-link {
  display: block;
  padding: 0.45rem 0.5rem;
  font-family: Poppins, sans-serif;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 400;
  line-height: 150%;
  color: #646464;
  text-decoration: none;
  transition: color 0.2s ease;
}

.wns-toc-widget .bs-toc-link:hover {
  color: #7139d1;
}

.wns-toc-widget .bs-toc-link.active {
  color: #7139d1;
  font-weight: 400;
  border-left-color: transparent;
}

/* â”€â”€ TOC column layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.wns-toc-sticky {
  position: sticky;
  top: 100px;
}

@media (min-width: 992px) {
  .wns-toc-col {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    height: fit-content;
  }
  .wns-toc-sticky {
    position: static;
  }
}

/* Mobile: sticky at top — same behaviour as blog single .bs-toc-widget */
@media (max-width: 991px) {
  .wns-toc-sticky {
    position: static;
  }

  .blog-single-wrap .wns-toc-widget {
    position: sticky;
    top: 70px;
    z-index: 1050;
    background: #fff;
    border-bottom: 1px solid rgba(108, 60, 209, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin: 0 -15px 2rem;
    padding: 1rem 15px;
  }

  .wns-toc-title {
    cursor: pointer;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .wns-toc-widget .bs-toc-list {
    max-height: 0 !important;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
    margin-top: 0;
  }
  .wns-toc-widget.is-open .bs-toc-list {
    max-height: 600px !important;
    opacity: 1;
    margin-top: 0.5rem;
  }
  .wns-toc-widget.is-open .wns-toc-toggle {
    transform: rotate(180deg);
  }
}

/* ── Scroll margin for sticky header/TOC ── */
.blog-single-wrap .bs-content .bs-prose h2,
.blog-single-wrap .bs-content .bs-prose h3 {
  scroll-margin-top: 120px;
}

@media (max-width: 991px) {
  .blog-single-wrap .bs-content .bs-prose h2,
  .blog-single-wrap .bs-content .bs-prose h3 {
    scroll-margin-top: 150px;
  }
}

/* ── Article body typography ── */
.blog-single-wrap .bs-content .bs-prose p {
  font-family: Poppins, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.1875rem) !important;
  font-weight: 400;
  line-height: 126%;
  color: #040404;
}

.blog-single-wrap .bs-content .bs-prose img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
}

.blog-single-wrap .bs-content .bs-prose h2 {
  font-family: Poppins, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.1875rem) !important;
  font-weight: 600;
  line-height: 126%;
  color: #000;
}

/* â”€â”€ CTA spacing â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.wn-cta {
  margin-bottom: 0;
}

.bs-explore-btn::after {
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='69' height='69' viewBox='0 0 69 69' fill='none'%3E%3Cpath d='M22.9414 47.8672L45.7213 23.2598' stroke='white' stroke-width='2.11958' stroke-linecap='round'/%3E%3Cpath d='M23.5312 24.2705L45.7115 23.2489L46.553 45.3213' stroke='white' stroke-width='2.11958' stroke-linecap='round'/%3E%3Crect x='1.05488' y='1.05488' width='66.7305' height='66.3074' rx='33.1537' stroke='white' stroke-width='2.10976'/%3E%3C/svg%3E") !important;
}

/* â”€â”€ Light â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.realm--light {
  /* Hero */
  .bs-hero {
    background: none !important;
  }
  .bs-hero-card {
    background: #eee;
    border-radius: 24px;
    margin-bottom: 20px;
  }

  /* Breadcrumb */
  .bs-breadcrumb {
  }
  .bs-breadcrumb-blog {
    font-weight: 300;
  }
  .bs-breadcrumb-blog:last-of-type {
    text-decoration: underline;
    text-decoration-color: #000;
  }
  .bs-breadcrumb-sep {
  }
  .bs-breadcrumb-current {
    font-weight: 300;
  }

  /* Author bar */
  .bs-author-bar {
  }
  .bs-author-info {
    text-align: center;
  }
  .bs-post-date {
  }
  .bs-meta-sep {
  }
  .bs-author-name {
  }

  /* Content */
  .bs-post-title {
    text-align: center;
  }
  .bs-prose {
  }
  .bs-tag {
  }

  /* Sidebar */
  .bs-widget-title {
  }
  .bs-cat-link {
  }
  .bs-cat-link.active {
  }

  /* Related */
  .bs-related {
    background: none !important;
  }
  .bs-explore-btn {
  }
}

/* â”€â”€ Glitch â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.realm--glitch {
  --toc-mob-bg: #040512;
  --toc-mob-border: #ffffff;
  background: #040512;
  .blog-single-wrap {
    background: #040512;
  }
  .bs-content .bs-prose p {
    color: #ffffff !important;
    font-weight: 400;
  }
  .bs-content .bs-prose h2 {
    color: #ffffff !important;
    font-weight: 600;
  }

  .blog-single-wrap .bs-prose a {
    color: #ffffff;
  }
  /* Hero */
  .bs-hero {
    background: none !important;
  }
  .bs-hero-card {
    background: #040512;
  }

  /* Breadcrumb */
  .bs-breadcrumb-blog,
  .bs-breadcrumb-sep,
  .bs-breadcrumb-current {
    color: #ffffff;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-weight: 500;
    line-height: 184%;
    letter-spacing: 0.08rem;
    text-transform: capitalize;
  }
  .bs-breadcrumb-blog {
    text-decoration: none;
  }
  .bs-breadcrumb-blog:last-of-type {
    text-decoration: underline;
    text-decoration-color: #ffffff;
    text-decoration-style: solid;
  }
  .bs-breadcrumb-blog:hover {
    color: #ffffff;
  }
  .bs-breadcrumb-current {
    color: #7139D1;
    font-weight: 500;
  }

  /* Author bar */
  .bs-author-bar {
  }
  .bs-author-info {
    text-align: center;
  }
  .bs-post-date {
    color: #ffffff;
  }
  .bs-meta-sep {
    color: #ffffff;
  }
  .bs-author-name {
    color: #ffffff;
  }

  /* Content */
  .bs-post-title {
    color: #ffffff;
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 3.125rem);
    font-weight: 700;
    line-height: 127%;
    text-transform: capitalize;
  }
  .bs-prose {
    color: #ffffff;
  }
  .bs-prose p,
  .bs-prose h2,
  .bs-prose h3 {
    color: #ffffff;
  }
  .bs-tag {
  }

  /* Sidebar */
  .bs-widget-title {
    color: #ffffff;
  }
  .bs-cat-link {
    border-radius: 8.09388rem;
    border: 0.592px solid #fff;
    box-shadow: 0 -2.846px 11.385px 0 rgba(255, 255, 255, 0.16) inset;
    color: #ffffff;
    background: transparent;
  }
  .bs-cat-link.active,
  .bs-cat-link:hover {
    color: #fff;
    border-radius: 8.09388rem;
    border: none;
    background: linear-gradient(180deg, #7139d1 0%, #bb93ff 100%);
    box-shadow: 0 -2.846px 11.385px 0 rgba(255, 255, 255, 0.16) inset;
  }
  .wns-toc-title {
    color: #ffffff;
    border-bottom-color: #fff;
  }
  .wns-toc-toggle {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  }
  .bs-toc-link {
    color: #ffffff;
    font-weight: 400;
    line-height: 150%;
  }
  .bs-toc-link:hover {
    color: #ffffff;
  }
  .bs-toc-link.active {
    color: #ffffff;
    font-weight: 700;
    border-left-color: transparent;
  }
  .bs-search-form-alt {
    background: transparent;
    .bs-search-icon {
      color: #ffffff !important;
    }
    .bs-search-field {
      color: #ffffff !important;
      &::placeholder {
        color: #ffffff !important;
      }
      &::-webkit-search-cancel-button {
        filter: brightness(0) invert(1);
      }
    }
  }

  /* Related */
  .bs-related {
    background: none !important;
  }
  .image-card h3 {
    color: #9e66ff;
  }
  .card-date {
    color: #ffffff;
  }
  .card-copy {
    color: #ffffff;
  }
  .card-button {
    background-color: #9e66ff;
  }
  .image-card {
    border-radius: 0 0 3rem 3rem;
    background: linear-gradient(
      180deg,
      rgba(78, 13, 188, 0) 0%,
      rgba(59, 2, 157, 0.52) 100%
    );
    border: unset;
  }
  .bs-explore-btn {
  }
  @media (max-width: 991px) {
    .blog-single-wrap .wns-toc-widget {
      background: #040512;
    }
  }
}

/* â”€â”€ Arcade â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.realm--arcade {
  --toc-mob-bg: #1b1c48;
  --toc-mob-border: #ffffff;
  background: #1b1c48;
  .blog-single-wrap {
    background: #1b1c48;
  }
  .bs-content .bs-prose p {
    color: #ffffff !important;
    font-weight: 400;
  }
  .bs-content .bs-prose h2 {
    color: #ffffff !important;
    font-weight: 600;
  }

  .blog-single-wrap .bs-prose a {
    color: #ffffff;
  }
  /* Hero */
  .bs-hero {
    background: none !important;
  }
  .bs-hero-card {
    background: #1b1c48;
  }

  /* Breadcrumb */
  .bs-breadcrumb-blog,
  .bs-breadcrumb-sep,
  .bs-breadcrumb-current {
    color: #ffffff;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-weight: 500;
    line-height: 184%;
    letter-spacing: 0.08rem;
    text-transform: capitalize;
  }
  .bs-breadcrumb-blog {
    text-decoration: none;
  }
  .bs-breadcrumb-blog:last-of-type {
    text-decoration: underline;
    text-decoration-color: #ffffff;
    text-decoration-style: solid;
  }
  .bs-breadcrumb-blog:hover {
    color: #ffffff;
  }
  .bs-breadcrumb-current {
    color: #7139D1;
    font-weight: 500;
  }

  /* Author bar */
  .bs-author-bar {
  }
  .bs-author-info {
    text-align: center;
  }
  .bs-post-date {
    color: #ffffff;
  }
  .bs-meta-sep {
    color: #ffffff;
  }
  .bs-author-name {
    color: #ffffff;
  }

  /* Content */
  .bs-post-title {
    color: #ffffff;
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 3.125rem);
    font-weight: 700;
    line-height: 127%;
    text-transform: capitalize;
  }
  .bs-prose {
    color: #ffffff;
  }
  .bs-prose p,
  .bs-prose h2,
  .bs-prose h3 {
    color: #ffffff;
  }
  .bs-tag {
  }

  /* Sidebar */
  .bs-widget-title {
    color: #ffffff;
  }
  .bs-cat-link {
    border-radius: 8.09388rem;
    border: 0.592px solid #fff;
    box-shadow: 0 -2.846px 11.385px 0 rgba(255, 255, 255, 0.16) inset;
    color: #ffffff;
    background: transparent;
  }
  .bs-cat-link.active,
  .bs-cat-link:hover {
    color: #fff;
    border-radius: 8.09388rem;
    border: none;
    background: linear-gradient(180deg, #7139d1 0%, #bb93ff 100%);
    box-shadow: 0 -2.846px 11.385px 0 rgba(255, 255, 255, 0.16) inset;
  }
  .wns-toc-title {
    color: #ffffff;
    border-bottom-color: #fff;
  }
  .wns-toc-toggle {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  }
  .bs-toc-link {
    color: #ffffff;
    font-weight: 400;
    line-height: 150%;
  }
  .bs-toc-link:hover {
    color: #ffffff;
  }
  .bs-toc-link.active {
    color: #ffffff;
    font-weight: 700;
    border-left-color: transparent;
  }
  .bs-search-form-alt {
    background: transparent;
    border-radius: 2.125rem;
    border: 1.136px solid #fff;
    .bs-search-icon {
      color: #ffffff !important;
    }
    .bs-search-field {
      color: #ffffff !important;
      &::placeholder {
        color: #ffffff !important;
      }
      &::-webkit-search-cancel-button {
        filter: brightness(0) invert(1);
      }
    }
  }
  @media (max-width: 991px) {
    .bs-toc-widget {
      background: #1b1c48;
    }
  }

  /* Related */
  .bs-related {
    background: none !important;
  }
  .image-card h3 {
    color: #9e66ff;
  }
  .card-date {
    color: #ffffff;
  }
  .card-copy {
    color: #ffffff;
  }
  .card-button {
    background-color: #9e66ff;
  }
  .image-card {
    border-radius: 0 0 3rem 3rem;
    background: linear-gradient(
      180deg,
      rgba(78, 13, 188, 0) 0%,
      rgba(59, 2, 157, 0.55) 100%
    );
    border: unset;
  }
  .bs-explore-btn {
  }
  @media (max-width: 991px) {
    .blog-single-wrap .wns-toc-widget {
      background: #1b1c48;
    }
  }
}

body.wp-singular {
  overflow-x: clip !important;
}
body.wp-singular #wrapper {
  overflow-x: clip !important;
}
