/* ========================================
   Single Blog Post Styles - Complete Responsive
   ======================================== */

/* Breadcrumb Section */
.single-blog-breadcrumb {
    background: #F3F1ED;
    padding: 20px 0;
    margin-bottom: 60px;
    text-align: center;
}

.breadcrumb-content {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    color: #6E757B;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    opacity: 1;
}

.breadcrumb-content a {
    color: #6E757B;
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 1;
}

.breadcrumb-content a:hover {
    color: #5DBCC4;
}

.breadcrumb-content .separator {
    color: #999;
}

.breadcrumb-content span:last-child {
    color: #6E757B;
}

/* Single Blog Section */
.single-blog-section {
    padding: 0 0 100px 0;
}

.single-blog-main {
    padding-right: 40px;
}

/* Post Header */
.post-header {
    margin-bottom: 30px;
}

.post-category {
    background: #1B7895;
    color: #fff;
    padding: 1px 10px;
    border-radius: 3px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-right: 15px;
}

.post-author {
    color: #56C2C2;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-right: 15px;
}

.post-date {
    color: #999;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
}

.post-title {
    /* font-family: 'Proxima Nova', sans-serif; */
    font-size: 32px;
    /* font-weight: 700; */
    color: #1B7895;
    margin: 20px 0 0 0;
    line-height: 1.3;
}

/* Featured Image */
.post-featured-image {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 561px;
    max-height: 561px;
    object-fit: cover;
}

/* Post Content */
.post-content {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 50px;
}

.post-content   a {
    color: inherit;
    /* text-decoration: none; */
}
.post-content p {
    margin-bottom: 20px;
}

.post-content h2,
.post-content h3 {
    /* font-family: 'Proxima Nova', sans-serif; */
    color: #1B7895;
    font-weight: 700;
    margin: 40px 0 29px 0;
}

.post-content h2 {
    font-size: 26px;
    line-height: 35px;
}

.post-content h3 {
    font-size: 24px;
}

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.post-content ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
}

.post-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background: url('../images/icons/check-icon.svg') no-repeat center;
    background-size: contain;
}

.post-content ol {
    counter-reset: item;
}

.post-content ol li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 20px;
}

.post-content ol li::before {
    counter-increment: item;
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: #5DBCC4;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.post-content blockquote {
    background: #F8F9FA;
    border-left: 4px solid #5DBCC4;
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
}

.post-content .highlight-box {
    border: 2px solid #5DBCC4;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 30px 0;
    background: #F0FAFB;
}

/* Tags Section */
.post-tags-section {
    margin-bottom: 53px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 25px;
}

.tags-title {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1B7895;
    margin: 0;
    flex-shrink: 0;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex: 1;
}

.tag-link {
    display: inline-block;
    padding: 5px 24px;
    background: #fff;
    border: 1px solid #5DBCC4;
    border-radius: 3px;
    color: #5DBCC4;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: #5DBCC4;
    color: #fff;
}

/* Share Section */
.post-share-section {
    margin-bottom: 80px;
    display: flex;
    align-items: center;
    gap: 25px;
    /* margin-top: 27px !important; */
}

.share-title {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1B7895;
    margin: 0;
    flex-shrink: 0;
}

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

.share-btn {
    width: 50px;
    height: 50px;
    background: #5DBCC4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: #4da9b1;
    transform: translateY(-3px);
    color: #fff;
}
.post-main-nav {
    background: #F3F1ED;
}
/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 0;
    padding: 40px 60px;
    background: #F3F1ED;
    border-radius: 0;
}

.nav-prev,
.nav-next {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    flex: 1;
    transition: all 0.3s ease;
}

.nav-prev:hover .nav-icon,
.nav-next:hover .nav-icon {
    background: #4da9b1;
}

.nav-prev {
    flex-direction: row;
    justify-content: flex-start;
}

.nav-next {
    flex-direction: row;
    text-align: right;
    justify-content: flex-end;
}

.nav-icon {
    width: 50px;
    height: 50px;
    background: #5DBCC4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.nav-text {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1B7895;
    transition: color 0.3s ease;
}

.nav-prev:hover .nav-text,
.nav-next:hover .nav-text {
    color: #5DBCC4;
}

/* Related Articles Section */
.related-articles-section {
    /* margin-top: 60px; */
}

.section-title {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1B7895;
    text-align: center;
    margin-bottom: 50px;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-article-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
section.related-sec {
    padding-bottom: 100px;
}
 

.single-post article.related-article-item .blog-date:before {
    top: 11px;
}
 
.related-article-item:hover {
    transform: translateY(-5px);
}

.related-article-image {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article-item:hover .related-article-image img {
    transform: scale(1.1);
}

.related-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #1B7895;
    color: #fff;
    padding: 6px 14px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.related-article-content {
    padding: 25px 0;
}

.related-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.related-author {
    color: #56C2C2;
    font-size: 13px;
    font-weight: 600;
}

.related-date {
    color: #999;
    font-size: 13px;
}

.related-title {
    margin: 0 0 15px 0;
}

.related-title a {
    /* font-family: 'Proxima Nova', sans-serif; */
    font-size: 20px;
    font-weight: 700;
    color: #1B7895;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-title a:hover {
    color: #5DBCC4;
}

.related-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5DBCC4;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.related-read-more:hover {
    gap: 12px;
    color: #4da9b1;
}

/* Sidebar */
.single-blog-sidebar {
    padding-left: 30px;
}

.sidebar-widget {
    background: #fff;
    margin-bottom: 30px;
}

.search-widget {
    padding: 0;
}

.search-form {
    position: relative;
    display: flex;
}

.search-field {
    width: 100%;
    padding: 15px 60px 15px 20px;
    border: 1px solid #F6F5F2;
    border-radius: 8px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    background: #F6F5F2;
}

.search-field:focus {
    outline: none;
    border-color: #5DBCC4;
}

.search-submit {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 56px;
    background: #5DBCC4;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.search-submit:hover {
    background: #4da9b1;
}

.search-submit img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.categories-widget {
    padding: 0;
}

.widget-title {
    /* font-family: 'Proxima Nova', sans-serif; */
    font-size: 24px;
    font-weight: 700;
    color: #1B7895;
    margin-bottom: 20px;
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    background: #F5FBFB;
    border: 0;
    margin-bottom: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.category-item a {
    /* font-weight: bold; */
    display: block;
    padding: 3px 45px 3px 0px;
    color: #1B7895;
    /* font-family: 'Nunito Sans', sans-serif; */
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    font-weight: 500;
}

.category-item a::after {
    content: '\f105';
    font-family: 'FontAwesome';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    /* color: #5DBCC4; */
    font-size: 16px;
    transition: all 0.3s ease;
    font-weight: normal;
}

.category-item:hover {
    background: #E8F5F5;
    border-color: #5DBCC4;
}

.category-item:hover a::after {
    right: 15px;
}

.category-item.active {
    background: #E8F5F5;
    border-color: #5DBCC4;
}

.category-item.active a {
    /* font-weight: 600; */
    color: #1B7895;
}

.category-item.active a::after {
    color: #1B7895;
}

.trending-widget {
    padding: 0;
}

.trending-posts {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.trending-post-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.trending-post-image {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.trending-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trending-post-item:hover .trending-post-image img {
    transform: scale(1.05);
}

.trending-category {
    background: #1B7895;
    color: #fff;
    padding: 1px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

.trending-post-content {
    flex: 1;
}

.trending-title {
    margin: 0;
}

.trending-title a {
    /* font-family: 'Proxima Nova', sans-serif; */
    font-size: 17px;
    font-weight: 700;
    color: #1B7895;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    transition: color 0.3s ease;
}

.trending-title a:hover {
    color: #5DBCC4;
}

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

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    /* Layout */
    .single-blog-main {
        padding-right: 15px;
        margin-bottom: 50px;
    }

    .single-blog-sidebar {
        padding-left: 15px;
    }

    /* Typography */
    .post-title {
        font-size: 36px;
    }

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

    .post-content h3 {
        font-size: 22px;
    }

    /* Navigation */
    .post-navigation {
        padding: 30px 40px;
        gap: 30px;
    }

    .nav-text {
        font-size: 16px;
    }

    /* Related Articles */
    .section-title {
        font-size: 32px;
    }

    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .related-article-image {
        height: 220px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    /* Breadcrumb */
    .single-blog-breadcrumb {
        padding: 15px 0;
        margin-bottom: 40px;
    }

    .breadcrumb-content {
        font-size: 13px;
    }

    /* Section Padding */
    .single-blog-section {
        padding: 0 0 60px 0;
    }

    /* Post Header */
    .post-header {
        margin-bottom: 25px;
    }

    .post-category {
        font-size: 12px;
        padding: 5px 14px;
        margin-right: 10px;
        margin-bottom: 10px;
        display: inline-block;
    }

    .post-author,
    .post-date {
        font-size: 13px;
        margin-right: 10px;
    }

    .post-title {
        font-size: 28px;
        margin-top: 15px;
    }

    /* Featured Image */
    .post-featured-image {
        margin-bottom: 30px;
    }

    /* Content */
    .post-content {
        font-size: 15px;
        margin-bottom: 40px;
    }

    .post-content h2 {
        font-size: 24px;
        margin: 30px 0 15px 0;
    }

    .post-content h3 {
        font-size: 20px;
        margin: 25px 0 15px 0;
    }

    .post-content blockquote {
        padding: 15px 20px;
        margin: 25px 0;
    }

    .post-content .highlight-box {
        padding: 15px 20px;
        margin: 25px 0;
    }

    /* Tags Section */
    .post-tags-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-top: 30px;
        margin-bottom: 30px;
    }

    .tags-title {
        font-size: 18px;
    }

    .post-tags {
        gap: 10px;
    }

    .tag-link {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Share Section */
    .post-share-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 40px;
    }

    .share-title {
        font-size: 18px;
    }

    .share-buttons {
        gap: 12px;
    }

    .share-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    /* Post Navigation */
    .post-navigation {
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        margin-bottom: 50px;
    }

    .nav-prev,
    .nav-next {
        width: 100%;
    }

    .nav-next {
        text-align: left;
    }

    .nav-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .nav-text {
        font-size: 16px;
    }

    /* Related Articles */
    .related-articles-section {
        margin-top: 50px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .related-article-image {
        height: 250px;
    }

    .related-article-content {
        padding: 20px;
    }

    .related-title a {
        font-size: 18px;
    }

    /* Sidebar */
    .single-blog-sidebar {
        padding-left: 0;
        margin-top: 40px;
    }

    .widget-title {
        font-size: 20px;
    }

    .search-field {
        padding: 13px 55px 13px 18px;
        font-size: 14px;
    }

    .search-submit {
        width: 50px;
    }

    .category-item a {
        padding: 13px 40px 13px 18px;
        font-size: 14px;
    }

    .trending-post-image {
        width: 90px;
        height: 90px;
    }

    .trending-category {
        font-size: 10px;
        padding: 3px 10px;
    }

    .trending-title a {
        font-size: 15px;
    }
}

/* Small Mobile (< 576px) */
@media (max-width: 576px) {
    /* Post Header */
    .post-header {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .post-title {
        font-size: 24px;
        margin-top: 10px;
        line-height: 1.2;
    }

    /* Content */
    .post-content {
        font-size: 14px;
    }

    .post-content h2 {
        font-size: 22px;
    }

    .post-content h3 {
        font-size: 18px;
    }

    .post-content ul li {
        padding-left: 30px;
    }

    .post-content ol li {
        padding-left: 40px;
    }

    .post-content ol li::before {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    /* Tags */
    .tags-title {
        font-size: 16px;
    }

    .tag-link {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Share */
    .share-title {
        font-size: 16px;
    }

    .share-btn {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    /* Navigation */
    .post-navigation {
        padding: 25px 15px;
    }

    .nav-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .nav-text {
        font-size: 14px;
    }

    /* Related Articles */
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .related-article-image {
        height: 220px;
    }

    .related-article-content {
        padding: 18px;
    }

    .related-title a {
        font-size: 16px;
    }

    .related-read-more {
        font-size: 13px;
    }

    /* Sidebar */
    .widget-title {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .trending-post-item {
        gap: 12px;
    }

    .trending-post-image {
        width: 80px;
        height: 80px;
    }

    .trending-title a {
        font-size: 14px;
    }
}

/* Extra Small Mobile (< 400px) */
@media (max-width: 399px) {
    .post-title {
        font-size: 22px;
    }

    .post-content h2 {
        font-size: 20px;
    }

    .post-content h3 {
        font-size: 17px;
    }

    .nav-text {
        font-size: 13px;
    }

    .section-title {
        font-size: 22px;
    }
}