
/* ------------------------------------------------------------
   STATS
   ------------------------------------------------------------ */

.stats-widget {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

.stats-widget__item {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.stats-widget__item h2{
     color: var(--accent)!important;
}

.stats-widget__item p{
      font-size: .8125rem!important;
  line-height: 1.4!important;
  color: var(--muted)!important;
  margin-bottom:0;
}


/* ------------------------------------------------------------
   FAQs
   ------------------------------------------------------------ */
   
   .QnAhr{
       width: 100%;
       height: 1px;
       border: none;
       background-color: var(--line); 
       margin: 1.5rem 0;
   }
   
   .QnA .Q{
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif!important;   
       margin: 0px; 
       font-size: 1.0625rem; 
       font-weight: 600; 
       line-height: 1.4; color: 
       var(--ink);
   }
   
.QnA .A, .QnA li a {
        margin: .4rem 0 0; 
        font-size: 1rem; 
        line-height: 1.7; 
    }
   
.QnA a{
    color: var(--link) !important;
    text-decoration: none;
}   
   
 .QnA a:hover{
    color: var(--accent) !important;
    text-decoration: underline;
}     

/* ------------------------------------------------------------
   3 CASESTUDIES  
   ------------------------------------------------------------ */
   
.KRSCaseStudies {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 4px;
  margin-bottom: 1.5rem;
}

.KRSCaseStudies__row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.KRSCaseStudies__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: var(--card);
}

.KRSCaseStudies__image--wide {
  aspect-ratio: 16 / 9;
}

.KRSCaseStudies__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.KRSCaseStudies__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(35, 36, 37, 0.8);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.KRSCaseStudies__image:hover .KRSCaseStudies__overlay {
  opacity: 1;
}

.KRSCaseStudies__overlay p {
  margin: 0;
  color: var(--dark-ink) !important;
  text-align: center;
}

.KRSCaseStudies__copy,
.KRSCaseStudies__feature-copy p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
}

.KRSCaseStudies__copy strong,
.KRSCaseStudies__feature-copy strong {
  font-weight: 600;
  color: var(--accent);
}

.KRSCaseStudies__feature {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.KRSCaseStudies__feature-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 800px) {
  .KRSCaseStudies__row {
    grid-template-columns: 1fr;
  }

  .KRSCaseStudies__image--wide {
    aspect-ratio: 16 / 9;
  }
}

/* ------------------------------------------------------------
   IN SHORT 
   ------------------------------------------------------------ */
   
.InsInShort{
border-left: 3px solid var(--accent); 
padding: 2px 0px 2px 22px; 
display: flex; 
flex-direction: column; 
gap: .75rem;
margin-bottom: 1.5rem;
}

.InsInShort p{
    margin-bottom:0!important;    
}

/* ------------------------------------------------------------
   QUOTE 
   ------------------------------------------------------------ */
   
.krs-single-insight .Quote{
    border-left: 3px solid var(--accent); 
    padding: 2px 0 2px 22px; 
    display: flex; 
    flex-direction: column; 
    gap: 6px;
    margin-bottom: 1.5rem;
}

.krs-single-insight .QuoteText{
    font-family: Newsreader, Georgia, serif; 
    font-style: italic; 
    font-size: clamp(20px, 2.2vw, 26px); 
    line-height: 1.4; 
    color: var(--ink); 
    text-wrap: pretty;
   margin-bottom: 1rem;
}

.krs-single-insight .QuoteName{
    display: block; 
    font-style: normal; 
    font-family:"IBM", monospace; 
    font-size: .75rem!important; 
    letter-spacing: 0.06em; 
    color: var(--muted); 
    margin-bottom:0!important;
}

/* ------------------------------------------------------------
   FACT
   ------------------------------------------------------------ */
   
.krs-single-insight .Fact{
    background: linear-gradient(
    90deg, rgba(246, 194, 154, .6) 42%, #F7F1EC 100%);
    padding: 1.5rem; 
    margin-bottom: 1.5rem;
    font-family: Newsreader, Georgia, serif; 
    font-style: italic; 
    font-size: 1.4rem; 
    line-height: 1.25; 
    color: var(--ink); 
    text-wrap: pretty;
    margin: 0 0 1.5rem 0;    
}   

.krs-single-insight .FactSource{
    font-family: Newsreader, Georgia, serif; 
    font-size: 1.2rem; 
    line-height: 1; 
font-style: normal;    
    color: var(--ink); 
    text-wrap: pretty;
    margin-top: .5rem;
    width: 100%;
    text-align: right;
}

/* ------------------------------------------------------------
   LIGHTBOX IMAGES — INSIGHTS + KRS GALLERY
   ------------------------------------------------------------ */

.InsightLightbox,
.KRS-Lightbox {
    width: 100%;
}

.InsightLightbox > a,
.KRS-Lightbox > a {
    display: block;
}

.InsightPic,
.KRS-Pic {
    display: block;
    width: 100%;
    border-radius: 12px;
    height: auto;
}

.InsightLightboxHidden,
.KRS-LightboxHidden {
    display: none;
}

.InsightCaption,
.KRS-Caption {
    font-size: .8125rem;
    color: var(--muted);
    margin: .4rem 0 1.5rem 0;
}

.InsightCaption a,
.KRS-Caption a {
    color: var(--link);
    text-decoration: none;
}

.InsightCaption a:hover,
.KRS-Caption a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* ------------------------------------------------------------
   TABLE 85 15
   ------------------------------------------------------------ */

.Table85-15 {
  width: 100%;
  margin: 6px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.Table85-15 th,
.Table85-15 td {
  text-align: left;
  vertical-align: top;
}

.Table85-15 th {
  padding: 14px 18px;
  background: var(--card);
  font-family: "IBM", monospace;
  font-size: .6875rem;
  font-weight: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.Table85-15 td {
  padding: 13px 18px;
  font-size: .9375rem;
}

.Table85-15 th:first-child,
.Table85-15 td:first-child {
  width: 85%;
}

.Table85-15 th:last-child,
.Table85-15 td:last-child {
  width: 15%;
  border-left: 1px solid var(--line);
}

.Table85-15 tbody td {
  border-top: 1px solid var(--line);
}

.Table85-15 tbody td:last-child {
  font-family: "IBM", monospace;
  color: var(--accent);
}


/* ------------------------------------------------------------
   TABLE 60 40
   ------------------------------------------------------------ */

.Table60-40  {
  width: 100%;
  margin: 6px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.Table60-40  th,
.Table60-40  td {
  padding: .875rem 1.125rem;
  text-align: left;
  vertical-align: top;
}

.Table60-40  th {
  background: var(--card);
  font-family: "IBM", monospace;
  font-size: .6875rem;
  font-weight: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.Table60-40  td {
  font-size: .9375rem;
  line-height: 1.5;
}

.Table60-40  th:first-child,
.Table60-40  td:first-child {
  width: 60%;
}

.Table60-40  th:last-child,
.Table60-40  td:last-child {
  width: 40%;
  border-left: 1px solid var(--line);
}

.Table60-40  tbody td {
  border-top: 1px solid var(--line);
}

.Table60-40  tbody td:last-child {
  color: var(--muted);
}

.Table60-40  tbody tr:first-child td:last-child {
  color: var(--accent);
}

/* ------------------------------------------------------------
   CTA
   ------------------------------------------------------------ */


.krs-single-insight .CTA{
    margin: 1.25rem 0; 
    background: var(--dark); 
    color: var(--dark-ink)!important; 
    border-radius: 16px; 
    padding: clamp(28px, 3vw, 40px); 
    display: flex; flex-direction: column; 
    gap: 1.125rem;
}

.krs-single-insight .CTA h2{
    color: var(--dark-ink)!important; 
    }
    
.krs-single-insight .CTA a{
    align-self: flex-start; 
    display: inline-flex; 
    align-items: center; gap: 10px; 
    background: var(--accent); 
    color: var(--dark-ink); 
    padding: 14px 26px; 
    border-radius: 999px; 
    font-size: 1.066rem; 
    transition: transform 0.25s;
    text-decoration: none;
}

.krs-single-insight .CTA a:hover{
    transform:translateY(-2px);
}



/* ------------------------------------------------------------
   UL
   ------------------------------------------------------------ */
   
.krs-single-insight ul{
    display: flex;
    flex-direction: column;
    gap: .45rem;
    margin-bottom: 1.5rem;
    margin-left:0!important;
    margin-block-start: 0!important;
    padding-inline-start: 0!important;    
}

.krs-single-insight li::before {
  content: "•";
  color: var(--accent);
  flex-shrink: 0;
}

.krs-single-insight li{
    list-style: none;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--ink);
    margin-left: 1rem;
    text-indent: -1rem;
}

.krs-single-insight ul li span{
    font-weight: 600;
}



/* ------------------------------------------------------------
   KRS SINGLE INSIGHT
   ------------------------------------------------------------ */

.krs-single-insight {
    width: 100%;
    padding-left: clamp(56px, 7vw, 96px) !important;
    padding-right: clamp(56px, 7vw, 96px) !important;
    padding-top: 90px;
    padding-bottom: 90px;
    box-sizing: border-box !important;
    background-color: var(--paper);
}

.krs-single-insight__layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: clamp(32px, 4vw, 72px);
    align-items: start;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

.krs-single-insight__article {
    min-width: 0;
    margin: 0;
}

.krs-single-insight__article h2{
    scroll-margin-top: 110px;    
    color:var(--ink);
    margin: 1rem 0 .5rem 0;
    font-family: Newsreader, Georgia, serif;
    line-height: 1.35;
    text-wrap: pretty; 
}
    

.krs-single-insight__article h3 {
    scroll-margin-top: 110px;
    margin: 0 0 .5rem 0;     
}

.krs-single-insight p{
    margin: 0 0 1.5rem 0; 
    font-size: 1.125rem; 
    line-height: 1.4; 
    color: var(--ink);
}

/* ------------------------------------------------------------
   LEFT COLUMN / TOC
   Mirrors the supplied TOC structure, without generated data-* attributes
   or inline styles.
   ------------------------------------------------------------ */

/* Optional alternate TOC label inside an H2/H3:
   <h2>Visible heading <span class="krs-toc-label" hidden>Short TOC label</span></h2>
*/
.krs-toc-label[hidden] {
    display: none !important;
}

.krs-insight-sidebar {
    position: sticky;
    top: 104px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
}

.krs-insight-toc {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.krs-insight-toc.is-empty {
    display: none;
}

.krs-insight-toc__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-family: "IBM Plex Mono", "IBM", monospace;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-align: left;
    text-transform: uppercase;
}

.krs-insight-toc__chevron {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.krs-insight-toc.is-open .krs-insight-toc__chevron {
    transform: rotate(180deg);
}

.krs-insight-toc__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 16px;
    border-left: 1px solid var(--line);
}

.krs-insight-toc__nav[hidden] {
    display: none !important;
}

.krs-insight-toc__link {
    display: block;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.krs-insight-toc__link.is-h3 {
    padding-left: 16px;
}

.krs-insight-toc__link:hover,
.krs-insight-toc__link:focus-visible,
.krs-insight-toc__link.is-active {
    color: var(--accent);
}

.krs-insight-toc__link.is-active {
    font-weight: 600;
    transform: translateX(3px);
}

/* ------------------------------------------------------------
   DOWNLOAD / SHARE
   ------------------------------------------------------------ */

.krs-insight-actions {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.krs-insight-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 18px;
    box-sizing: border-box;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.krs-insight-pdf:hover,
.krs-insight-pdf:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
}

.krs-insight-share {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.krs-insight-share__label {
    font-family: "IBM Plex Mono", "IBM", monospace;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.krs-insight-share__buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.krs-insight-share__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    box-sizing: border-box;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    color: var(--muted);
    cursor: pointer;
    text-decoration: none;
    appearance: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.krs-insight-share__button:hover,
.krs-insight-share__button:focus-visible,
.krs-insight-share__button.is-copied {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ------------------------------------------------------------
   MOBILE
   TOC at top, collapsed. Article next. PDF/share at bottom.
   ------------------------------------------------------------ */

@media (max-width: 800px) {
    .krs-single-insight {
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .krs-single-insight__layout {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .krs-insight-sidebar {
        display: contents;
        position: static;
    }

    .krs-insight-toc {
        order: 1;
        width: 100%;
    }

    .krs-single-insight__article {
        order: 2;
        width: 100%;
    }

    .krs-insight-actions {
        order: 3;
        width: 100%;
    }

    .krs-insight-toc__nav {
        margin-top: 0;
    }

    .krs-insight-pdf {
        width: fit-content;
        min-width: 190px;
    }
}

@media (max-width: 480px) {
    .krs-single-insight {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .krs-insight-pdf {
        width: 100%;
    }
}