.error_sec{
    margin-bottom: -10px;
}
footer.extra_footer{
    padding-top: 100px;
}
.partner_bnr .bnt_text p.error_pg_text{
    font-size: 25px;
}

.about_bnnr.category_pg_bnnr .main_bnnr_wrap{
 max-width: 100%;
 text-align: center;
}
.story_sec.category_pg_posts .stry_main_wrap>.row:nth-child(odd){
    margin-top: 0;
}

.story_sec.category_pg_posts .stry_btn.view_dtls_btn{
    margin: 20px 0;
}
.category_pg_posts h2{
    margin-bottom: 17px;
    color: var(--black);
    font-size: 30px;
    font-weight: 500;
    line-height: 36px;
    text-align: left;
}
.story_sec.category_pg_posts .row{
    margin: 50px 0;
}
.story_sec.category_pg_posts .stry_btn.view_dtls_btn{
    text-align: left;
}
.story_sec.category_pg_posts .stry_main_wrap .stry_img_wrap{
    margin-bottom: 20px;
    margin-left: 0;
}
.stry_btn.loadmore_wrppr{
    text-align: center;
}
.about_bnnr.post_dtls_bnnr .main_bnnr_wrap{
    max-width: 100%;
}

/* Archive page excerpt styling */
.archive-page .post-excerpt,
.archive-page .unique_stry_wrap .post-excerpt {
    margin: 16px 0 20px;
}

.archive-page .post-excerpt p,
.archive-page .unique_stry_wrap .post-excerpt p {
    color: rgba(0, 33, 34, 0.75);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}
.post_detals_sec img{
    margin-bottom: 30px;
}
.post_detals_sec .stry_main_wrap .row:nth-child(odd) .stry_img_wrap{
margin-left: auto;
}
.post_detals_sec{
    margin: 100px 0;
}
.about_bnnr.post_dtls_bnnr{
    padding: 150px 0 100px;
}
.post_detals_sec .prev_next_btn_wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.about_bnnr.post_dtls_bnnr.error_pg_banner{
        padding: 50px 0;
}
.post_detals_sec.error_pg_sec{
    text-align: center;
        margin: 150px 0;
}
.post_detals_sec.error_pg_sec h1{
    color: #05b7bc;
    font-size: 50px;
    font-weight: 500;
}
.post_detals_sec.error_pg_sec p{
    font-size: 20px;
    margin: 20px 0;

}
.page-template-default.page .stry_main_wrap .stry_img_wrap ,
.single.single-post .stry_main_wrap .stry_img_wrap {
    position: static !important;
}

/* Single post content styling - News/Editorial Layout */
.post_detals_sec.article-layout {
    margin: 0;
    padding-top: 120px;
    padding-bottom: 100px;
}

.post_detals_sec .stry_main_wrap > .row {
    display: flex;
    grid-template-columns: none;
}

.single-post-content.news-style {
    max-width: 100%;
}

/* Article Header */
.article-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 3px solid var(--color-primary, #002122);
}

.article-header .article-title {
    color: var(--color-primary, #002122);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

/* Article Subtitle */
.article-subtitle {
    color: rgba(0, 33, 34, 0.75);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 24px;
    font-style: italic;
}

/* Post meta info */
.article-header .post-meta-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.post-meta-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.post-meta-info .post-author,
.post-meta-info .post-date {
    color: rgba(0, 33, 34, 0.65);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.post-meta-info .post-author {
    color: var(--color-primary, #002122);
    font-weight: 600;
}

.post-meta-info .meta-separator {
    color: rgba(0, 33, 34, 0.3);
    font-size: 14px;
}

.post-meta-info .read-time {
    display: inline-flex;
    align-items: center;
}

/* Override Read Meter plugin styles */
.post-meta-info .read-time .bsf_rt_reading_time {
    background: transparent !important;
    color: rgba(0, 33, 34, 0.65) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Featured Image as Figure */
.article-featured-image {
    margin: 0 0 48px 0;
    padding: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 33, 34, 0.12);
}

.article-featured-image .image-caption {
    margin-top: 16px;
    padding-left: 16px;
    border-left: 3px solid var(--color-teal, #5ea89f);
    color: rgba(0, 33, 34, 0.7);
    font-size: 14px;
    font-style: italic;
    line-height: 1.6;
}

/* Article Content */
.article-content {
    max-width: 100%;
}

.article-content p {
    margin-bottom: 24px;
    line-height: 1.8;
    font-size: 18px;
    color: rgba(0, 33, 34, 0.9);
}

.article-content p:first-child {
    font-size: 20px;
    font-weight: 400;
    color: rgba(0, 33, 34, 0.95);
}

.article-content h2 {
    color: var(--color-primary, #002122);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 48px;
    margin-bottom: 24px;
}

.article-content h3 {
    color: var(--color-primary, #002122);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 36px;
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.article-content ol {
    counter-reset: item;
    padding-left: 0;
}

.article-content li {
    position: relative;
    margin-bottom: 16px;
    padding-left: 32px;
    line-height: 1.8;
    font-size: 18px;
    color: rgba(0, 33, 34, 0.9);
}

.article-content li:last-child {
    margin-bottom: 0;
}

/* Custom bullet for unordered lists */
.article-content ul li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-teal, #5ea89f);
    box-shadow: 0 0 0 4px rgba(94, 168, 159, 0.15);
}

/* Custom numbers for ordered lists */
.article-content ol li {
    counter-increment: item;
}

.article-content ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-teal, #5ea89f);
    font-weight: 600;
    font-size: 18px;
}

/* WordPress block lists - handle wp-block-list class */
.article-content .wp-block-list li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-teal, #5ea89f);
    box-shadow: 0 0 0 4px rgba(94, 168, 159, 0.15);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 40px auto;
    display: block;
    box-shadow: 0 4px 16px rgba(0, 33, 34, 0.1);
}

.article-content hr {
    margin: 48px 0;
    border: 0;
    border-top: 1px solid rgba(0, 33, 34, 0.15);
}

/* Share buttons */
.article-share {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(0, 33, 34, 0.1);
}

.article-share .share-label {
    color: var(--color-primary, #002122);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

.share-btn.twitter {
    background-color: #1DA1F2;
    color: white;
}

.share-btn.twitter:hover {
    background-color: #1a8cd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

.share-btn.linkedin {
    background-color: #0077B5;
    color: white;
}

.share-btn.linkedin:hover {
    background-color: #006399;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.share-btn.facebook {
    background-color: #1877F2;
    color: white;
}

.share-btn.facebook:hover {
    background-color: #0d66d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .post_detals_sec.article-layout {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .article-header .article-title {
        font-size: 36px;
    }

    .article-content p {
        font-size: 17px;
    }

    .article-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .post_detals_sec.article-layout {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .article-header {
        margin-bottom: 36px;
        padding-bottom: 24px;
    }

    .article-header .article-title {
        font-size: 30px;
    }

    .article-featured-image {
        margin-bottom: 36px;
    }

    .article-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .article-content p:first-child {
        font-size: 18px;
    }

    .article-content h2 {
        font-size: 24px;
        margin-top: 36px;
    }

    .article-content h3 {
        font-size: 20px;
    }
}