.single-post-page 
{
    padding: 30px 0;
}

.single-post-layout {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}
 
.single-post{
    flex:1
}
/* .single-post {
    max-width: 900px;
    margin: 0 auto;
} */

.single-post-header {
        margin-bottom: 30px;
}
.single-post-title {

    color: #323648; 
    font-size: 32px;
    letter-spacing: 0.5px;
    line-height: 40px;
    font-weight: 700;
    /* padding-bottom: 20px; */
    margin-bottom: 15px;
}

/* .single-post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end;
}
.single-post-meta img{
    border-radius: 20px;
} */

/* =========================
   POST META
========================= */

.single-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}


/* =========================
   AUTHOR
========================= */

.single-post-author {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.single-post-author img {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    object-fit: cover;
}

.single-post-author-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.single-post-author-name {
    color: #252a3a;
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
} 
.single-post-author-role {
    margin-top: 2px;
    color: #858997;
    font-size: 14px;
    line-height: 15px;
}


/* =========================
   DATE + VIEWS
========================= */

.single-post-stats {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    color: #737687;
    font-size: 13px;
    line-height: 18px;
    white-space: nowrap;
}

.single-post-date,
.single-post-views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.single-post-date i,
.single-post-views i {
    color: #737687;
    font-size: 14px;
    line-height: 1;
}

.single-post-views {
    padding-left: 10px;
    border-left: 1px solid #e5e5e5;
}





/*============================*/

.single-post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.single-post-content {
    margin-top: 20px;
}
 
.single-post-content img{

    margin: 15px 0;
}
.single-post-content p{ 
    margin: 0;
    padding-bottom: 10px; 
    letter-spacing: 0.3px;
    font-size: 17px;
    line-height: 28px;
}
.single-post-content p strong{
    font-weight:600
}

.single-post-content h2{
    margin:20px 0 10px;
    font-size: 24px;
    letter-spacing: 0.3px;
    font-weight: 600;
}
.single-post-content h2 strong{
    font-weight: 700;
}

.single-post-content h3{
    margin:20px 0 10px;
    font-size: 21px;
}
.single-post-content h3 strong{
    font-weight: 600;
}

.single-post-content h4 {
    margin:12px 0 8px;
    font-size: 19px;
    line-height: 27px;
}
.single-post-content h4 strong{
    font-weight: 600;
}

.single-post-content ul,.single-post-content ol{
    margin: 0;
    padding-top: 5px;
    padding-bottom: 10px;
}

.single-post-content ul li,.single-post-content ol li{
    font-size: 17.5px;
    /* margin-bottom: 5px; */
}

.single-post-content a{
    color: #ff5049;
}
.single-post-content strong a,.single-post-content a strong {
    font-weight: 500;
}



/* =========================
   SIDEBAR
========================= */

.single-post-sidebar {
    width: 268px;
    flex: 0 0 268px;

    /*
     * Important:
     * Do not use height: 100%;
     * Do not use min-height.
     */
    align-self: flex-start;
}


/* Sidebar boxes */

.single-post-sidebar-box {
    padding: 20px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    margin-bottom: 22px;
}


/* =========================
   SEARCH
========================= */

.single-post-search-box {
    padding: 14px;
}

.single-post-search {
    display: flex;
    align-items: center;
    width: 100%;
    height: 42px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 4px;
}

.single-post-search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 10px;
    border: 0;
    outline: none;
    background: transparent;
    color: #333;
    font-size: 13px;
    font-weight: 500;
}

.single-post-search input::placeholder {
    color: #737687;
}

.single-post-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.single-post-search-icon {
    color: #252a3a;
    font-size: 25px;
    line-height: 1;
}


/* =========================
   OUTLINE
========================= */

.single-post-sidebar-title {
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
    color: #252a3a;
    font-size: 17px;
    font-weight: 700;
}

.single-post-outline ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-post-outline li {
    margin: 0;
    padding: 0;
}

.single-post-outline a {
    display: block;
    padding: 7px 0;
    border-bottom: 1px solid #f2f2f2;
    color: #62677a;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
}

.single-post-outline a:hover {
    color: #f23536;
}

.single-post-outline li:last-child a {
    border-bottom: 0;
}

/* H3 items */

.single-post-outline .outline-sub-item a {
    padding-left: 5px;
    font-size: 13px;
}


/* =========================
   SIDEBAR AD
========================= */

.single-post-sidebar-ad {
    width: 100%;
    margin-top: 20px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {

    .single-post-layout {
        gap: 24px;
    }
 
    .single-post-sidebar {
        width: 246px;
        flex-basis: 246px;
    }

    .single-post-title {
        font-size: 28px;
        line-height: 37px;
    }

}


@media (max-width: 767px) {

    .single-post-page {
        padding: 25px 0 40px;
    }

    .single-post-layout {
        display: block;
    }

    .single-post {
        width: 100%;
    }

    .single-post-sidebar {
        width: 100%;
        margin-top: 40px;
    }

    .single-post-title {
        font-size: 26px;
        line-height: 35px;
    }

    /* .single-post-meta {
        justify-content: flex-start; 
    } */

     .single-post-meta {  
        gap: 10px; 
    }
 
    .single-post-stats {
        gap: 12px;
    }

}
 


@media (max-width: 575px) {

    .single-post-title {
        font-size: 23px;
        line-height: 32px;
    }

    .single-post-content {
        font-size: 14px;
    }

    .single-post-sidebar-box {
        padding: 16px;
    }
  

      .single-post-meta { 
        flex-direction: column;
        gap: 16px;
        align-items: normal;
    }

    /* .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    } */

    .single-post-stats {
        width: 100%;
        /* justify-content: flex-start; */
        flex-wrap: wrap;
        gap: 10px 16px;
        white-space: normal;
    }

    .single-post-views {
        padding-left: 10px;
    }

}


/* Single post advertisements */
.single-post .blog-ad-header {
    width: 100%;
    max-width: 100%;
    margin: 24px 0;
    padding: 0;
}

.single-post-sidebar-ad {
    width: 100%;
    min-width: 0;
    margin: 24px 0;
    overflow: hidden;
}

.single-post-sidebar-ad .blog-ad {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.single-post-sidebar-ad .blog-ad-direct img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.single-post-sidebar-ad .blog-ad-google {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

@media (max-width: 767px) {
    .single-post .blog-ad-header {
        margin: 18px 0;
    }

    .single-post-sidebar-ad {
        margin: 20px 0;
    }
}