/* ==========================================================================
   Keyless Signature Infrastructure (KSI) Blog Specific Stylesheet
   /keyless-signature-infrastructure/
   Loaded after common.css, blog-details.css, real-world-asset-tokenization-guide.css
   ========================================================================== */

/* Hero Banner & Title Enhancements */
.blog-single-wrap .bx-hero-banner-title {
  font-family: "Exo 2", sans-serif;
  font-size: 34px;
  line-height: 1.35;
  font-weight: 700;
  color: #ffffff;
  margin-top: 24px;
  margin-bottom: 16px;
}

@media (max-width: 991px) {
  .blog-single-wrap .bx-hero-banner-title {
    font-size: 28px;
    line-height: 1.35;
    margin-top: 18px;
  }
}

@media (max-width: 575px) {
  .blog-single-wrap .bx-hero-banner-title {
    font-size: 23px;
    line-height: 1.35;
  }
}

.v3-grad {
  background: linear-gradient(89.98deg, #f5d255 -3.37%, #36e7c4 99.98%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-single-wrap .bx-meta-strip {
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: none;
}

.spotify-embed-wrapper {
  width: 100%;
  max-width: 100%;
  height: 152px;
  border-radius: 12px;
  overflow: hidden;
}

.spotify-embed-wrapper iframe {
  width: 100%;
  height: 152px;
  border: 0;
  border-radius: 12px;
}

.blog-single-wrap .bx-updated-pill {
  color: #36e7c4;
  background: rgba(54, 231, 196, 0.12);
  border: 1px solid rgba(54, 231, 196, 0.28);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
  margin-left: 12px;
}

/* Sub-headings */
.blog-single-wrap h3.w23-sec {
  font-size: 22px;
  line-height: 32px;
  font-weight: 600;
  color: #f5f5f5;
  padding: 10px 0 14px;
  font-family: "Exo 2", sans-serif;
}

@media (max-width: 991px) {
  .blog-single-wrap h3.w23-sec {
    font-size: 20px;
    line-height: 28px;
    padding-bottom: 12px;
  }
}

/* Phones: keep section titles (h2) clearly larger than sub-headings (h3);
   blog-details.css otherwise sets both to 18px. */
@media (max-width: 767px) {
  .blog-single-wrap h2 {
    font-size: 22px !important;
    line-height: 1.35;
  }
  .blog-single-wrap h3.w23-sec {
    font-size: 17px !important;
    line-height: 25px;
  }
}

@media (max-width: 575px) {
  .blog-single-wrap h3.w23-sec {
    padding: 8px 0;
  }
}

/* ==========================================================================
   Key Takeaways Box
   ========================================================================== */
.blog-single-wrap .bx-takeaways {
  margin-bottom: 34px;
  padding: 24px 26px 12px;
  background: linear-gradient(135deg, rgba(35, 30, 60, 0.55) 0%, rgba(20, 20, 30, 0.85) 100%);
  border: 1px solid rgba(161, 131, 224, 0.25);
  border-radius: 14px;
}

.blog-single-wrap .bx-takeaways-title {
  margin-bottom: 20px;
  padding-bottom: 0;
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: #f5d255;
}

@media (max-width: 575px) {
  .blog-single-wrap .bx-takeaways {
    padding: 18px 16px 8px;
  }
  .blog-single-wrap .bx-takeaways-title {
    font-size: 18px;
    margin-bottom: 16px;
  }
}

/* ==========================================================================
   How KSI Works: step-by-step process image (Section 2)
   ========================================================================== */
.ksi-process-img {
  margin: 8px 0 32px;
}

.ksi-process-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.blog-single-wrap .ksi-risk-list {
  list-style: none;
  padding-left: 0;
}

.blog-single-wrap .ksi-risk-item {
  margin-bottom: 18px;
}

.blog-single-wrap .ksi-risk-item h3.w23-sec {
  padding: 0 0 5px;
}

.blog-single-wrap .ksi-risk-item p {
  padding: 0;
}

.blog-single-wrap .ksi-arrow-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.blog-single-wrap .ksi-arrow-list li {
  position: relative;
  margin-bottom: 10px;
  padding: 0 0 0 18px;
}

.blog-single-wrap .ksi-arrow-list li::before {
  position: absolute;
  top: 0.2em;
  left: 0;
  color: #36e7c4;
  content: "\25B6";
  font-size: 10px;
  line-height: 1.5;
}

/* ==========================================================================
   Comparison Tables (Matches reference image style: Purple header, clean light rows)
   ========================================================================== */
.blog-single-wrap .bx-table-wrap {
  margin: 20px 0 32px !important;
  background: #ffffff !important;
  border: 1px solid rgba(80, 20, 160, 0.12) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
}

.blog-single-wrap .bx-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.blog-single-wrap .bx-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
  font-size: 15px;
  table-layout: auto;
}

.blog-single-wrap .bx-table thead tr {
  background: linear-gradient(135deg, #4b1fa0 0%, #681fbc 100%) !important;
  border-bottom: none !important;
}

.blog-single-wrap .bx-table thead th {
  font-family: "Exo 2", sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  padding: 18px 22px !important;
  border: none !important;
  text-align: left !important;
  vertical-align: middle !important;
  white-space: nowrap;
}

.blog-single-wrap .bx-table tbody tr {
  border-bottom: 1px solid rgba(80, 20, 160, 0.08) !important;
  transition: background 0.2s ease !important;
}

.blog-single-wrap .bx-table tbody tr:nth-child(odd) {
  background: #fbfaff !important;
}

.blog-single-wrap .bx-table tbody tr:nth-child(even) {
  background: #f0edfa !important;
}

.blog-single-wrap .bx-table tbody tr:hover {
  background: #e6def7 !important;
}

.blog-single-wrap .bx-table tbody td {
  padding: 16px 22px !important;
  color: #1e123a !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  border: none !important;
  text-align: left !important;
  vertical-align: top !important;
}

.blog-single-wrap .bx-table tbody td:first-child,
.blog-single-wrap .bx-table tbody td strong {
  font-family: "Exo 2", sans-serif !important;
  font-weight: 700 !important;
  color: #120b24 !important;
}

.blog-single-wrap .bx-table tbody td a,
.blog-single-wrap .bx-table tbody td a.text-color {
  color: #006b00 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  background: none !important;
  -webkit-text-fill-color: #006b00 !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

.blog-single-wrap .bx-table tbody td a:hover,
.blog-single-wrap .bx-table tbody td a.text-color:hover {
  color: #005a00 !important;
  -webkit-text-fill-color: #005a00 !important;
  text-decoration: none !important;
}

/* ==========================================================================
   Sidebar Sticky & Smooth Rail
   ========================================================================== */
@media (min-width: 992px) {
  .blog-right-side.table-content {
    position: sticky;
    top: var(--bx-sidebar-top, 110px);
  }
}
