/* Blog Single Page Styles */
.blog-single-post {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin-bottom: 0;
}

.blog-meta {
    color: #666;
    font-size: 14px;
}

.meta-item {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.blog-featured-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.blog-content h1, .blog-content h2, .blog-content h3, 
.blog-content h4, .blog-content h5, .blog-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.social-share-buttons .btn {
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.social-share-buttons .btn:hover {
    transform: translateY(-2px);
}

.twitter-share-btn:hover {
    background-color: #1DA1F2 !important;
    border-color: #1DA1F2 !important;
    color: white !important;
}

.related-posts-full-width {
    background: #fff;
}

.latest-posts-full-width {
    background: #f8f9fa;
    padding: 60px 0;
    margin-top: 60px;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
}

.blog-cta-full-width {
    background: #e94560;
    padding: 60px 0;
    margin-top: 60px;
}

.blog-cta {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.cta-title {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta-buttons .btn {
    border-radius: 25px;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: #fff;
    color: #e94560;
    border-color: #fff;
}

.cta-buttons .btn-outline-primary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.cta-buttons .btn-primary:hover {
    background: #f8f9fa;
    color: #e94560;
    border-color: #f8f9fa;
}

.cta-buttons .btn-outline-primary:hover {
    background: #fff;
    color: #e94560;
    border-color: #fff;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
}

/* CSS Variable Override for Theme Color */
:root {
    --color-primary: #e94560;
}

/* Blog Search Input Styling */
.blog-search-input {
    height: 45px;
    padding: 0px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6em;
    transition: all 0.3s ease;
    background-color: #fff;
    width: 100%;
}

.blog-search-form .form-control {
    padding: 0px;
    padding-left: 10px;
    line-height: 1.6em;
}

.blog-search-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
    outline: none;
}

.blog-search-input::placeholder {
    color: #999;
    font-size: 14px;
}

/* Widget Title Spacing */
.axil-single-widget .widget-title {
    margin-bottom: 10px;
}

.axil-single-widget {
    padding: 15px;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid #f1f3f4;
    margin-bottom: 0;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-link:hover {
    color: #e94560;
    text-decoration: none;
    padding-left: 5px;
}

.category-name {
    font-weight: 500;
}

.post-count {
    color: #999;
    font-size: 12px;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Blog Statistics Widget */
.blog-stats {
    padding: 10px 0;
}

.stat-item {
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.stat-value {
    font-size: 14px;
    color: #e94560;
    font-weight: 600;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Blog Grid Styles */
.blog-grid .excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
    font-size: 12px;
    color: #888;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    font-size: 11px;
}

.blog-grid .content {
    padding: 0;
}

.blog-grid .title {
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.8em; /* 2 lines * 1.4 line-height */
}

.blog-grid .title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-grid .title a:hover {
    color: #e94560;
}

.blog-grid .read-more-btn {
    margin-top: 15px;
}

.blog-grid .content .axil-btn {
    font-size: 14px;
    padding: 5px 10px;
    background-color: #e94560;
    border-color: #e94560;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-grid .content .axil-btn:hover {
    background-color: #e94560;
    border-color: #e94560;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.blog-grid .content .axil-btn:hover i {
    color: white !important;
}

.blog-grid .content .axil-btn,
.blog-grid .content .axil-btn:hover,
.blog-grid .content .axil-btn:focus,
.blog-grid .content .axil-btn:active {
    text-decoration: none !important;
}

/* Blog Grid Button Icon Color */
.blog-grid .content .axil-btn i {
    color: #fff;
}

/* Right Icon Color Override */
a.axil-btn.right-icon i,
button.axil-btn.right-icon i {
    color: white;
}

/* Pagination Theme Color */
.pagination .page-link {
    color: #e94560;
    border-color: #e94560;
}

.pagination .page-link:hover {
    background-color: #e94560;
    border-color: #e94560;
    color: white;
}

.pagination .page-item.active .page-link {
    background-color: #e94560;
    border-color: #e94560;
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    border-color: #dee2e6;
}

/* Post Pagination Theme Color Override */
.post-pagination nav.pagination ul li span.current {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.post-pagination nav.pagination ul li a:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-single-post {
        padding: 20px;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .social-share-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
} 