
.hero-container-blog {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    position: relative;
    z-index: 10;
      background-color: var(--lightHelper);
       color: var(--white);
}

.hero-blog-title {
    display: inline-block;
    font-size: clamp(1.3rem, 5.5vw, 1.8rem);
    font-weight: 700;
    /* margin-top: clamp(0.8rem, 3vw, 1.3rem); */
    margin-bottom: 0;
    position: relative;
}

.hero-blog-title::after {
    content: "";
    position: absolute;
    width: 100%;
    height: clamp(0.18rem, 0.5vw, 0.32rem);
    border-radius: clamp(1rem, 3vw, 1.5rem);
    bottom: clamp(-0.5em, -1.5vw, -0.3em);
    left: 0;
      background-image: linear-gradient(90deg, var(--white) 0%, var(--white) 100%);
}

/* ================= SINGLE BLOG LAYOUT ================= */

.single-blog-article {
    position: relative;
    margin-top: 20px;
 
}

.single-blog-article .container-width {
    max-width: 1100px !important;
        margin: 20px;
}
.single-blog-article a{
  color: var(--lightHelper);

}
.single-blog-article .row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.single-blog-article .row .col-right,
.single-blog-article .row .col-left {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}


.single-blog-article .col-left,
.single-blog-article .col-right {
    overflow: hidden;
}

/* ================= IMAGES ================= */

.single-blog-article .img {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    
    border: 1px solid rgba(128, 128, 128, 0.2);
    box-shadow: 0 3px 6px rgb(0 0 0 / 20%);
}

.single-blog-article .img img {
    width: 100%;
    border-radius: 8px;
    display: block;
    aspect-ratio: 2 / 1;
}

/* ================= TOC ================= */

.toc-container {
    border: 1px solid var(--lightHelper);
    border-radius: 8px;
    padding: 10px 14px 0 14px;
    width: 100%;
    margin-bottom: 10px;
    justify-content: center;
    
}

.toc-header {
    display: flex;
    align-items: center;

    cursor: pointer;

}

.toc-toggle {
    display: flex;
    align-items: center;
    border: 2px solid var(--lightHelper);
    border-radius: 8px;
    padding: 5px;
    margin-left: 10px;
}

.toc-header p {
    font-size: 20px;
    font-weight: 600;
}

.toc-nav {
    /* overflow: hidden; */
    max-height: 0;
    opacity: 0;
 
    transition: all 0.4s ease;
}

.toc-nav.open {
    max-height: 1000px;
    opacity: 1;
  
}

.toc-nav ol,
.toc-nav ul {
    margin: 10px 20px 0 0;
}

.toc-nav li {
    margin: 6px 0;
}

.toc-nav a {
    color: var(--primaryColor);
    text-decoration: none;
    transition: color 0.3s;
}



.arrow-unsorted-368013 {
    transition: transform 0.3s ease;
}

.toc-header.active .arrow-unsorted-368013 {
    transform: rotate(180deg);
}

/* ================= BLOG CONTENT ================= */

.blog-content {
    margin-bottom: 10px;
       padding: 5px;
}

.blog-content h2 {
    font-size: clamp(1.1rem, 3.5vw, 1.2rem);
     color: var(--helperColor);
}

.blog-content p {
    line-height: 25px;
 
}

.blog-content ol,
.blog-content ul {
    margin: 10px 11px 0 0;
}

.blog-content li {
    margin: 6px 0;
}
.blog-content ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
}

.blog-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.blog-content ul li::before {
    content: "•";
    color: var(--lightHelper);
    font-size: 1.2em;
    line-height: 1;
    margin-top: 4px;
}
.blog-content ol {
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
    counter-reset: item;
}

.blog-content ol li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    counter-increment: item;
}

.blog-content ol li::before {
    content: counter(item) ".";
    color: var(--lightHelper);
    font-weight: bold;
    min-width: 20px;
}
/* ================= SIDEBAR SECTIONS ================= */

.single-blog-article .col-left{
    position: sticky;
    top: 100px;
}
.single-blog-article .col-left .title {
    margin-block: 5px;
    margin-top: 2rem;
    font-size: 25px;
    color: var(--lightHelper);
     text-align: center;
     
}

.single-blog-article .col-left .sec1 ul,
.single-blog-article .col-left .sec3 ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--white);
    padding: 0;
    list-style: none;
}

.single-blog-article .col-left .sec1 ul li,
.single-blog-article .col-left .sec3 ul li {
    background-color: var(--lightHelper);
    padding: 10px;
    border-radius: 8px;
}

.single-blog-article .col-left .sec1 ul li a,
.single-blog-article .col-left .sec3 ul li a {
    color: var(--white);
    text-decoration: none;
}


.single-blog-article .col-left .sec3 ul li {
    background-color: var(--white);
    padding: 0.25rem;
    border-radius: 8px;
    border: 3px solid var(--helperColor);
   /* border-left: 3px solid var(--helperColor); */
    box-shadow: 0 3px 6px rgb(0 0 0 / 20%);
}


.single-blog-article .col-left .sec3 ul li a {
    color: var(--lightHelper);
    text-decoration: none;
}

.single-blog-article .col-left .sec3 ul li .link-box {
    display: flex;
    align-items: center; 
    gap: 8px;             
}
/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .single-blog-article .row {
        grid-template-columns: 1fr;
    }

    /* .single-blog-article .col-left {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    } */


}
@media (min-width: 1025px) {
    .single-blog-article .col-left {
        position: sticky;
        top: 100px;
        max-height: calc(100vh - 100px); 
        overflow-y: auto;
        
   
        scrollbar-width: thin;
        scrollbar-color: var(--lightHelper) transparent;
    }
}