/* Post Page Enhancements */

a:hover,
a:focus {
    color: #BA2F54;
    text-decoration: underline;
}

/* Social Share Styling */
.social-share {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.social-share li {
    list-style: none;
}

.social-share__horizontal {
    flex-direction: row;
    align-items: center;
}

.social-share__vertical {
    flex-direction: column;
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.social-share__with-bg li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-share__with-bg li a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-share__rectangular li a {
    padding: 8px 16px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.social-share__rectangular li a:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Facebook color */
.bg-color-facebook {
    background-color: #1877f2;
}

/* Twitter color */
.bg-color-twitter {
    background-color: #1da1f2;
}

/* LinkedIn color */
.bg-color-linkedin {
    background-color: #0077b5;
}

/* Banner Section */
.banner__single-post {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    /* padding: 60px 0; */
}

.post-title-wrapper {
    padding: 40px 0;
}

.axil-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #2c3e50;
    /* margin: 20px 0 0 0; */
}

.hover-line {
    position: relative;
    transition: color 0.3s ease;
}

.hover-line:hover {
    color: #BA2F54;
}

.hover-line::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #BA2F54;
    transition: width 0.3s ease;
}

.hover-line:hover::after {
    width: 100%;
}

/* Post Meta Information */
.post-metas ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.post-metas li {
    color: #6c757d;
    font-size: 0.9rem;
}

.post-metas li:not(:last-child)::after {
    content: '•';
    margin-left: 20px;
    color: #dee2e6;
}

/* Category Buttons */
.btn-group .btn {
    margin-right: 8px;
    margin-bottom: 8px;
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Post Content Area */
.post-single-wrapper {
    padding-top: 60px;
}

.single-blog-wrapper {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

.single-blog-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.single-blog-wrapper img:hover {
    transform: scale(1.02);
}

/* Post Shares Section */
.post-shares {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
    padding: 20px 0;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.post-shares .title {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Author Section */
.about-author {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 60px;
}

.about-author .media {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.about-author .author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.about-author h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.about-author p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Post Navigation */
.post-navigation-wrapper {
    margin-bottom: 60px;
}

.post-navigation {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
}

.post-nav-content {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 30px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-nav-content a {
    color: white;
    text-decoration: none;
}

.post-nav-content .prev-post,
.post-nav-content .next-post {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-nav-content h3 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 0;
}

.post-nav-content h3 a:hover {
    color: #BA2F54;
}

/* Related Posts Section */
.related-post {
    background: #f8f9fa;
    padding: 60px 0 30px 0;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.axil-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.btn-link {
    color: #BA2F54;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Content Block for Related Posts */
.content-block {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.content-block img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.grad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.media-caption {
    padding: 20px;
}

.media-caption h3 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

.media-caption h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.media-caption h3 a:hover {
    color: #BA2F54;
}

.caption-meta {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Image Lightbox Overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

#overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
    .social-share__vertical {
        position: static;
        transform: none;
        flex-direction: row;
        margin: 20px 0;
    }
    
    .axil-post-title {
        font-size: 1.8rem;
    }
    
    .post-navigation {
        min-height: 150px;
    }
    
    .post-nav-content {
        padding: 20px;
    }
    
    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .post-shares {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .about-author .media {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .banner__single-post {
        padding: 30px 0;
    }
    
    .post-title-wrapper {
        padding: 20px 0;
    }
    
    .axil-post-title {
        font-size: 1.5rem;
    }
    
    .content-block img {
        height: 150px;
    }
}

/* Sidebar Styling */
.post-sidebar {
    padding: 20px 0;
}

/* Search Widget */
.post-sidebar h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-sidebar .input-group {
    position: relative;
}

.post-sidebar .form-control {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.post-sidebar .form-control:focus {
    border-color: #BA2F54;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    outline: none;
}

.post-sidebar .form-control::placeholder {
    color: #adb5bd;
    font-style: italic;
}

/* Category Widget */
.category-widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border: 1px solid #f1f3f4;
}

.widget-title {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
    position: relative;
}

.widget-title h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #BA2F54, #000);
    border-radius: 1px;
} */

/* Tag Cloud Styling */
.tag-cloud ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud li {
    list-style: none;
}

.tag-cloud .post-cat {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: capitalize;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    letter-spacing: 0.3px;
}

.tag-cloud .cat-btn {
    background: #f8f9fa;
    color: #495057;
    border-color: #e9ecef;
}

.tag-cloud .bg-grey-dark-two {
    background: #6c757d;
    color: white;
}

.tag-cloud .post-cat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #BA2F54;
    color: white;
    border-color: #BA2F54;
}

/* Sidebar Social Share Widget */
.sidebar-social-share-widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border: 1px solid #f1f3f4;
}

.social-share-list-wrapper {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.social-share-list {
    list-style: none;
}

.social-share-list .list-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    min-height: 100px;
    position: relative;
    overflow: hidden;
}

.social-share-list .list-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-share-list .list-inner:hover::before {
    left: 100%;
}

.social-share-list .list-inner:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-share-list .list-inner i {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.social-share-list .counts {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.social-share-list .title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Brand Colors for Social Media */
.bg-color-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Newsletter Widget */
.newsletter-widget {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.newsletter-icon {
    margin-bottom: 20px;
}

.newsletter-icon i {
    font-size: 2.5rem;
    color: #BA2F54;
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.newsletter-widget .section-title h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.newsletter-widget .section-title p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 10px 0 20px 0;
}

/* Add Block Widget */
.add-block-widget {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.add-block-widget img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.add-block-widget:hover img {
    transform: scale(1.05);
}

/* Responsive Sidebar */
@media (max-width: 991px) {
    .post-sidebar {
        margin-top: 40px;
        padding-top: 40px;
        border-top: 2px solid #f8f9fa;
    }
}

@media (max-width: 768px) {
    .category-widget,
    .sidebar-social-share-widget,
    .newsletter-widget {
        padding: 20px;
    }
    
    .social-share-list-wrapper {
        grid-template-columns: 1fr;
    }
    
    .social-share-list .list-inner {
        min-height: 80px;
        padding: 15px;
    }
    
    .widget-title h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .tag-cloud ul {
        gap: 6px;
    }
    
    .tag-cloud .post-cat {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .post-sidebar h5 {
        font-size: 1.1rem;
    }
}

/* Articles List Page Styling */

/* Breadcrumb Styling */
.breadcrumb-wrapper {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    color: #6c757d;
}

.breadcrumb-item a {
    color: #BA2F54;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #dc3545;
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #adb5bd;
    margin: 0 8px;
}

/* Banner Default Styling */
.banner__default {
    background: #f8f9fa;
    padding: 40px 0;
    border-bottom: 1px solid #e9ecef;
}

.bg-grey-light-three {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Random Posts Section */
.random-posts {
    padding: 60px 0;
}

.section-gap {
    margin: 40px 0;
}

/* Axil Content */
.axil-content {
    padding-right: 30px;
}

/* Add Container */
.add-container {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 60px;
    transition: all 0.3s ease;
}

.add-container:hover {
    background: #e9ecef;
    border-color: #ced4da;
}

.add-container img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Post Block Styling */
.post-block {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f3f4;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.post-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #e9ecef;
}

.post-block__mid {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.post-block img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.post-block img:hover {
    transform: scale(1.05);
}

.post-block .media-body {
    flex: 1;
    min-width: 0;
}

/* Post Category Group */
.post-cat-group {
    margin-bottom: 10px;
}

.post-cat-group .btn {
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 15px;
    margin-right: 6px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.post-cat-group .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Post Block Title */
.post-block .axil-post-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px 0;
    color: #2c3e50;
}

.post-block .axil-post-title a {
    color: inherit;
    text-decoration: none;
}

.post-block .axil-post-title a:hover {
    color: #BA2F54;
}

/* Post Content */
.post-block .mid {
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 15px 0;
    font-size: 0.95rem;
}

/* Post Metas in List */
.post-block .post-metas ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.post-block .post-metas li {
    color: #adb5bd;
    font-size: 0.85rem;
    font-weight: 500;
}

.post-block .post-metas li::before {
    content: "📅";
    margin-right: 6px;
}

/* Pagination Styling */
.pagination {
    margin: 40px 0 0 0;
    justify-content: center;
}

.page-link {
    color: #BA2F54;
    background-color: white;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    margin: 0 2px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.page-link:hover {
    color: white;
    background-color: #BA2F54;
    border-color: #BA2F54;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.page-item.active .page-link {
    background-color: #BA2F54;
    border-color: #BA2F54;
    color: white;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.page-item.disabled .page-link {
    color: #adb5bd;
    background-color: #f8f9fa;
    border-color: #dee2e6;
    cursor: not-allowed;
}


/* List Page Responsive Design */
@media (max-width: 991px) {
    .axil-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .post-block__mid {
        flex-direction: column;
        gap: 20px;
    }
    
    .post-block img {
        width: 100%;
        height: 200px;
    }
    
    .post-block {
        padding: 20px;
    }
    
    .post-block .axil-post-title {
        font-size: 1.2rem;
    }
    
    .breadcrumb-wrapper {
        padding: 10px 0;
    }
    
    .banner__default {
        padding: 30px 0;
    }
    
    .random-posts {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .post-block {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .post-block .axil-post-title {
        font-size: 1.1rem;
    }
    
    .post-block img {
        height: 150px;
    }
    
    .add-container {
        padding: 20px 15px;
        margin-bottom: 40px;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
    }
    
    .pagination {
        margin: 30px 0 0 0;
    }
    
    .page-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

/* Enhanced Media Queries for Better Mobile Experience */
@media (max-width: 480px) {
    .post-block__mid {
        gap: 15px;
    }
    
    .post-block .mid {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .post-cat-group .btn {
        padding: 3px 8px;
        font-size: 0.7rem;
    }
    
    .post-block .post-metas li {
        font-size: 0.8rem;
    }
}