h1,h2,h3,h4,h5,h6,p
{
    word-break: break-word !important;
}
.blognav-side {
    top: 160px;
    float: none;
    margin-bottom: 20px;
    background: #fafafa;
    padding: 30px 20px 30px 0px;
  
}
#blognav-list {
    position: sticky;
    top: 170px;
    max-height: calc(100vh - 270px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    scrollbar-width: thin;
    transition: all .3s;
}
.blognav-side h2 {
    font-size: 25px;
    line-height: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.blognav-side h3 {
    padding-left: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

.blognav-side ul {
    list-style-type: none;
    padding-left: 0px !important;
}

.blognav-side ul li {
    float: left;
    width: 100%;
    padding-bottom: 5px;
    margin-bottom: 5px;
    transition: all .3s;
}

.blognav-side ul li:last-child {
    border-bottom: none;
}

.blognav-side ul li::before,
.blog_contents .entry-meta ul li:before {
    display: none;
}

.blognav-side ul li a {
    font-size: 16px;
    line-height: 26px;
    color: #696969;
    float: left !important;
    padding-left: 15px;
    padding-bottom: 12px;
    position: relative;
   word-break: break-word;
   transition: all .3s;
    
}

.blognav-side ul li a:hover {
    color: #346ce5 !important;
}

.blognav-side ul li a:before {
    background-color: #d9d9d9;
    content: " ";
    display: inline-block;
    height: 25px;
    left: 0;
    margin-top: -1px;
    position: absolute;
    width: 3px;
}

.blognav-side ul li .active:before {
    background: linear-gradient(to right, #3b82f6, #346ce5) !important;
}

.blognav-side ul li .active {
    color: #346ce5;
}

.blognav-side .inner-ul {
    padding-left: 40px !important;
    padding-top: 10px !important;
}

.blognav-side .inner-ul li {
    list-style-type: circle;
}

.blognav-side .inner-ul li a:before {
    display: none !important;
}

.blognav-side .inner-ul li a {
    padding-left: 0 !important;
}

.blog_contents {
    width: 100% !important;
    display: inline-block !important;
}

.blog_contents p {
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0.2px;
    color: #696969;
    margin-bottom: 0px;
    padding-bottom: 20px;
}

.blog_contents p a {
    color: #3F9DF3;
    margin: 0 2px;
    padding-bottom: 3px;
}

.blog_contents p a:hover {
    text-decoration: none;
}

.blog_contents p img {
    margin: 25px auto;
    display: block !important;
}

.blog_contents h1 {
    font-size: 48px;
    line-height: 58px;
    font-weight: 700;
    color: #000;
    margin: 25px 0;
    letter-spacing: 0.2px;
    
}

.blog_contents h2 {
    font-size: 40px;
    line-height: 50px;
    font-weight: 550;
    margin-bottom: 15px;
    letter-spacing: 0.2px;
}

.blog_contents h3,
.section-blog h3 {
    margin: 0px 0 15px 0;
    color: #000;
    font-size: 28px;
    line-height: 38px;
    font-weight: 450;
    letter-spacing: 0.2px;
}

.section-blog h3 {
    margin: 0px 0 10px 0;
}

.blog_contents h4 {
    margin-bottom: 15px;
    color: #000;
    font-size: 22px;
    line-height: 32px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.blog_contents h4 img {
    width: 50px;
    height: 50px;
    padding: 5px;
    margin-right: 10px;
    border: 1px solid #eee;
    border-radius: 100%;
}

.blog_contents h5 {
    margin-bottom: 15px;
    color: #000;
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.blog_contents h6 {
    margin-bottom: 15px;
    color: #000;
    font-size: 19px;
    line-height: 29px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.blog_contents ul {
    padding: 0;
    margin-bottom: 35px;
}

.blog_contents li {
    list-style-type: none;
    position: relative;
    font-size: 18px;
    color: #696969;
    line-height: 28px;
    margin-bottom: 15px;
    letter-spacing: 0.2px;
}

.blog_contents li:before {
    content: "";
    position: absolute;
    background: url("../images/che11.svg");
    background-repeat: no-repeat;
    top: 4px;
    left: -32px;
    width: 26px;
    height: 26px;
}

.blog_contents .one:before {
    background: url("../images/check_blg_22.svg");
}

.blog_contents .two:before {
    background: url("../images/check_blg_11.svg");
}

.entry-meta {
    margin-bottom: 40px;
}
.entry-meta .media {
    margin-bottom: 15px;
    margin-right: 15px;
    display: flex;
    gap: 15px;
}
.entry-meta .media-body {
    color: #696969;
    font-size: 15px;
    line-height: 25px;
}
.entry-meta ul {
    padding-left: 0;
    margin-bottom: 0;
    list-style-type: none;
}

.blog_contents .entry-meta ul li {
    margin-right: 15px;
    position: relative;
    display: inline-block;
    border-right: 1px solid #eee;
    font-weight: 550;
    color: #696969;
    padding-right: 20px;
    line-height: 26px;
    padding-left: 45px;
    margin-left: 0px;
}

.blog_contents .entry-meta ul .last_child {
    border-right: none;
    padding-right: none;
}

.blog_contents .entry-meta ul li svg {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.blog_contents .entry-meta ul li span {
    display: block;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 500;
}

.blog_contents .entry-meta ul li a {
    color: #ff414b;
    margin: 0 5px 0 0;
}

.blog_contents .entry-meta ul .category {
    max-width: 650px;
    word-wrap: break-word;
}

.blog_desc {
    padding: 25px;
    background: #fff;
}

.article-author .media {
    border: 1px solid #e7e7e7;
    padding: 15px 30px;
    margin-top: 30px;
    border-radius: 25px 25px 0px 25px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    flex-direction: row;
}

.article-author .media img {
    width: 100px;
    min-width: 100px;
    height: 100px;
    border-radius: 100%;
}

.article-author .media-body h4 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 550;
    color: #000;
    line-height: 32px;
}

.article-author .media-body p {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0.2px;
    padding-bottom: 0px;
}

 .quote
{
    overflow: hidden;
    background-color: #fafafa;
    padding: 30px !important;
    position: relative;
    text-align: center;
    z-index: 1;
    margin-bottom: 20px;
    margin-top: 20px;
}
.quote p {
    color: #000 !important;
    line-height: 30px;
    padding: 15px 0 !important;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    font-style: italic;
    font-weight: 700;
    font-size: 22px !important;
}

.quote:before {
    content: "";
    position: absolute;
    height: 50px;
    width: 50px;
    animation: fade-up 1.5s linear infinite;
    left: 50px;
    top: 0px;
    background-repeat: no-repeat;
    z-index: -1;
}

@keyframes fade-up {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    75% {
        transform: translateY(-20px);
        opacity: 0;
    }
}

.quote:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to right, #3b82f6, #346ce5);
    margin-top: 20px;
    margin-bottom: 20px;
}

.blog_space {
    width: 95%;
}

.blogs_description_blk {
    display: flex;
    gap: 35px;
    margin-top: 30px;
    overflow: visible;
    overflow-y: auto;
}

.main_ul {
    padding-left: 35px !important;
}

.main_ul li {
    list-style-type: circle;
}
.main_ol
{
    padding-left: 35px !important;
}
.main_ol li {
    list-style-type: decimal;
}
.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
}

.breadcrumb li + li:before {
    content: ">";
    padding: 0 8px;
    color: #999;
}

.breadcrumb a {
    text-decoration: none;
    color: #007bff;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

main {
    overflow: visible !important;
}
.blog_detais_img {
    width: 100%;
    max-width: 1200px;          /* Optional: largest display size */
    aspect-ratio: 1200 / 628;   /* Modern browsers maintain ratio */
    overflow: hidden;
    background: #f3f3f3;        /* Loading placeholder */
    border-radius: 6px;         /* Optional rounded corners */
    margin: 0 auto;             /* Center in container if needed */
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 1/1) {
    .blog_detais_img {
        position: relative;
        height: 0;
        padding-top: 52.3333%; /* 628 / 1200 * 100 */
    }
    .blog_detais_img img {
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
    }
}

/* Image styling */
.blog_detais_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;       
    object-position: center; /* Center crop */
}

@media (max-width: 767px) {
    .blognav-side {
        width: 100% !important;
    }
  
    .blognav-side ul li a {
        font-size: 15px;
        line-height: 20px;
        padding-bottom: 8px;
    }

    .breadcrumb {
        flex-wrap: nowrap !important;
    }

    .breadcrumb li {
        display: flex !important;
    }

    .blog_desc {
        padding: 25px 0 !important;
    }

    .blog_contents h1 {
        font-size: 32px !important;
        line-height: 45px !important;
        margin-bottom: 15px !important;
    }
    .blog_contents h2
    {
        font-size: 28px !important;
        line-height: 38px !important;
        margin-bottom: 15px !important;
    }
    .blog_contents h3 {
        margin-bottom: 20px !important;
        font-size: 22px !important;
        line-height: 30px !important;
    }

    .blog_contents h4 {
        font-size: 20px !important;
        line-height: 28px !important;
    }

    .blog_contents p {
        font-size: 18px !important;
        line-height: 30px !important;
        padding-bottom: 15px !important;
    }

    .entry-meta {
        margin-bottom: 20px !important;
    }

    .meta_tag {
        flex-direction: column !important;
    }

    .article-author {
        flex-direction: column !important;
    }

    .article-author .media {
        flex-direction: column !important;
        padding: 15px 20px !important;
    }

    .article-author .media-body p {
        font-size: 18px !important;
        line-height: 30px !important;
    }
 
}
@media only screen 
    and (min-device-width: 768px) 
    and (max-device-width: 1024px) 
    and (orientation: portrait) 
    and (-webkit-min-device-pixel-ratio: 1) 
{
    .blog_contents h1 {
        font-size: 38px !important;
        line-height: 48px !important;
        margin: 15px 0 !important;
    }
     .blog_contents h2 {
        font-size: 32px !important;
        line-height: 42px !important;
        margin: 15px 0 !important;
    }
    .entry-meta {
        margin-bottom: 20px !important;
    }

    .blog_contents h3 {
        margin-bottom: 15px !important;
        font-size: 26px !important;
        line-height: 36px !important;
    }

    .blog_contents h4 {
        margin-bottom: 15px !important;
        font-size: 22px !important;
        line-height: 32px !important;
    }

    .blog_contents p {
        font-size: 18px !important;
        padding-bottom: 15px !important;
    }

    .blognav-side {
        padding: 25px 20px 20px 0px !important;
    }

    .blognav-side ul li a {
        font-size: 17px;
        line-height: 27px;
        padding-bottom: 8px;
    }
    .article-author .media-body h4
    {
        margin-bottom: 0 !important;
    }
    .article-author .media-body p {
        font-size: 18px !important;
        line-height: 28px !important;
    }
    .article-author .media img
    {
        align-self: self-start !important;
    }
}
@media only screen 
    and (min-device-width: 768px) 
    and (max-device-width: 1024px) 
    and (orientation: landscape) 
    and (-webkit-min-device-pixel-ratio: 1) 
{
    .blog_contents h1 {
        font-size: 38px !important;
        line-height: 48px !important;
        margin: 15px 0 !important;
    }
     .blog_contents h2 {
        font-size: 32px !important;
        line-height: 42px !important;
        margin: 15px 0 !important;
    }
    .entry-meta {
        margin-bottom: 20px !important;
    }

    .blog_contents h3 {
        margin-bottom: 15px !important;
        font-size: 26px !important;
        line-height: 36px !important;
    }

    .blog_contents h4 {
        margin-bottom: 15px !important;
        font-size: 22px !important;
        line-height: 32px !important;
    }

    .blog_contents p {
        font-size: 18px !important;
        padding-bottom: 15px !important;
    }

    .blognav-side {
        padding: 25px 20px 20px 0px !important;
    }

    .blognav-side ul li a {
        font-size: 17px;
        line-height: 27px;
        padding-bottom: 8px;
    }
    .article-author .media-body h4
    {
        margin-bottom: 0 !important;
    }
    .article-author .media-body p {
        font-size: 18px !important;
        line-height: 28px !important;
    }
    .article-author .media img
    {
        align-self: self-start !important;
    }
}