.blg-wrap {
    padding-top: 30px;
}

.blg-wrap a {
    color: #0096ff;
}

.blg-wrap .item a {
    color: #25282a;
}

.blg-wrap .container {
    max-width: 720px;
}

.blg-wrap .back-to-blog {
    padding: 0 0 14px 0;
    display: block;
}

.blg-wrap h1 {
    text-align: center;
    display: block;
    font-weight: 900;
    line-height: normal;
    font-size: 24px;
    margin-top: 0;
}

.blg-wrap .item {
    padding-bottom: 55px;
}

.blg-wrap .item img {
    width: 100%;
    box-shadow: 0 0.9px 2px #00000040;
    border-radius: 4px;
}

.blg-wrap .item .category {
    display: block;
    margin-top: 20px;
    color: #24272E;
    font-size: 12px;
    letter-spacing: 1.2px;
}

.blg-wrap .item .category {
    display: block;
    margin-top: 20px;
    color: #24272E;
    font-size: 12px;
}

.blg-wrap .item h2 {
    font-size: 24px;
    line-height: normal;
    font-weight: 800;
    padding-top: 5px;
    padding-bottom: 9px;
}

.blg-wrap .item .read-more {
    display: block;
    margin-top: 15px;
    color: #0096FF;
}

.blg-wrap .item .read-more:hover {
    color: #047FD3;
}

.blg-wrap .item.line img {
    width: 100%;
}

.blg-wrap .sm_wr {
    padding-bottom: 65px;
}

.blg-wrap .sm_wr a,
.blg-wrap .sm_wr strong,
.blg-wrap .sm_wr span {
    min-width: 40px;
    min-height: 40px;
    border: none;
    background-color: #E9EBF0;
    font-weight: normal;
    font-size: 14px;
    line-height: 40px;
    padding: 0;
    border-radius: 2px;
    margin-top: 10px;
}

.blg-wrap .sm_wr strong,
.blg-wrap .sm_wr a:hover {
    background-color: #0096FF;
    color: white;
}

.blg-wrap .sm_wr .next,
.blg-wrap .sm_wr .prev {
    padding-left: 20px;
    padding-right: 20px;
}

.blg-wrap .categories {
    background-color: #F7F9FC;
    padding: 30px 0 35px 0;
}

.blg-wrap .categories h2 {
    font-size: 32px;
    font-weight: 800;
    padding: 3px 0 15px 0;
}

.blg-wrap .categories a {
    font-size: 16px;
    display: block;
    padding: 5px 0;
}

.blg-wrap .container.nh {
    padding-top: 0;
}

.sticky-toc {
    position: sticky;
    top: 20px;
    width: 350px;
    max-height: 40vh;
    overflow-y: auto;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-right: -360px; /* Margin to separate from content */
    float: right; /* Ensure it floats to the right */
    display: block;
}

.sticky-toc li {
    list-style-type: none;
    font-weight: bold;
}

.sticky-toc li li {
    font-weight: normal;
}

.sticky-toc li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.sticky-toc li a:hover {
    background-color: #eaeaea;
}

.custom-card {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #ffe3b0;
}
    
.custom-card-body {
    padding: 1rem;
}
    
.custom-card-title {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: #007bff;
}
    
.custom-card-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #6c757d;
}
    
.custom-card-text {
    margin-bottom: 1.25rem;
    font-size: 1.25em;
    font-style: italic;
}
    
.custom-list {
    list-style-type: none;
    padding-left: 0;
}
    
.custom-list-item {
    padding: 1rem 1.5rem;
    background-color: #fdf1d9;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.custom-hr {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

figcaption {
    font-size: 0.8em;
    font-style: italic;
    font-weight: blue;
}

.toc-highlight {
    background-color: #007bff !important;
    color: white !important;
}

.pull-quote-container {
    max-width: 100%; /* Adjust width for narrow articles */
    margin: 20px auto; /* Center within the article space */
    padding: 10px;
}

.pull-quote {
    font-family: 'Georgia', serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1.6;
    color: #555;
    border-left: 4px solid #1E90FF; /* Accent color */
    padding-left: 30px;
    position: relative;
}

.pull-quote p {
    margin: 0;
    margin-bottom: .5rem;
}

.pull-quote footer {
    text-align: right;
    font-size: 16px;
    font-style: normal;
    color: #333;
    margin-top: 10px;
}

.pull-quote::before {
    content: open-quote;
    font-size: 50px;
    color: #1E90FF; /* Accent color */
    position: absolute;
    left: 0px;
    top: -20px;
}

.pull-quote::after {
    content: close-quote;
    font-size: 50px;
    color: #1E90FF; /* Accent color */
    position: absolute;
    right: -10px;
    bottom: -20px;
}

/* Callout Styling */
.callout-container {
    text-align: center;
    text-wrap: balance;
    padding: 20px 2.5em;
    max-width: 100%;
    margin: 20px auto;
}
.callout {
    font-family: 'Georgia', serif;
    font-size: 1.5em;
    line-height: 1.75em;;
    color: #333;
    margin: 0;
}
.callout-container::after, .callout-container::before {
    content: '';
    display: block;
    width: 50%;
    margin: 0 auto;
    height: 1px;
    border-bottom: #1E90FF 4px solid;
}

@media (min-width: 425px) {
    .blg-wrap h1 {
        font-size: 32px;
    }
}

@media (min-width: 768px) {

    .blg-wrap h1 {
        font-size: 48px;
        margin-top: 20px;
    }

    .blg-wrap .item {
        padding-bottom: 60px;
    }

    .blg-wrap .item.line {
        display: flex;
        align-items: center;
        flex-grow: unset;
    }

    .blg-wrap .item.line > div {
        width: 350px;
    }

    .blg-wrap .item.line .category {
        margin-top: 0;
    }


    .blg-wrap .image-wrap {
        display: block;
        position: relative;
        height: 220px;
        text-align: center;
    }

    .blg-wrap .item.line .image-wrap {
        padding-right: 20px;
        width: 350px;
    }

    .blg-wrap .image-wrap .aspect-ratio-box {
        padding-top: 68.75%!important;
    }

    .blg-wrap .image-wrap img {
        object-fit: cover;
        height: 100%;
        width: 100%;
        transition: .5s;
    }

    .blg-wrap .image-wrap img:hover {
        transform: scale(1.05);
    }
}

@media (max-width: 860px) {
    .sticky-toc {
        position: relative; /* Changed from sticky to relative */
        top: 0;
        width: 100%;
        height: 200px; /* Fixed height for smaller sizes */
        margin-right: 0; /* Reset margin for smaller screens */
        float: none; /* Reset float for smaller screens */
    }
}

@media (min-width: 992px) {
    .blg-wrap .back-to-blog {
        padding: 54px 0 14px 0;
    }
}
