/* =============================================
   MODERN BLOG STYLES
   Enhanced blog design with contemporary UI
============================================= */

/* Modern Blog Header Styles */
.modern-blog-header {
    background: linear-gradient(135deg, #0d6efd 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.modern-header-content {
    position: relative;
    z-index: 2;
}

.modern-page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.modern-page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    font-weight: 300;
}

.breadcrumbs-modern .breadcrumb {
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 12px 24px;
    backdrop-filter: blur(10px);
}

.breadcrumbs-modern .breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumbs-modern .breadcrumb-item a:hover {
    color: white;
}

.breadcrumbs-modern .breadcrumb-item.active {
    color: white;
}

.header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Blog Stats Bar */
.blog-stats-bar {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #f1f3f4;
}

.blog-count {
    display: flex;
    align-items: center;
    gap: 15px;
}

.count-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0d6efd;
    line-height: 1;
}

.count-text {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 500;
}

.blog-filters {
    display: flex;
    justify-content: flex-end;
}

.filter-btn {
    background: #0d6efd;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Modern Blog Grid */
.modern-blog-grid-container {
    margin-bottom: 60px;
}

.modern-blog-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #f1f3f4;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: #0d6efd;
}

.blog-image-container {
    position: relative;
    overflow: hidden;
    height: 280px;
    margin: 0;
}

.blog-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modern-blog-card:hover .blog-featured-image {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-blog-card:hover .image-overlay {
    opacity: 1;
}

.read-more-overlay {
    background: white;
    color: #0d6efd;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.modern-blog-card:hover .read-more-overlay {
    transform: scale(1);
}

.blog-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.category-badge {
    background: linear-gradient(135deg, #0d6efd 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reading-time {
    background: rgba(255,255,255,0.95);
    color: #2c3e50;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.blog-card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f3f4;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500;
}

.meta-item i {
    color: #0d6efd;
    font-size: 14px;
}

.blog-title-modern {
    margin: 0 0 15px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

.blog-title-modern a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-title-modern a:hover {
    color: #0d6efd;
}

.blog-excerpt-modern {
    color: #7f8c8d;
    line-height: 1.7;
    margin-bottom: auto;
    flex-grow: 1;
}

.blog-excerpt-modern p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f3f4;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 12px 24px;
    border: 2px solid #0d6efd;
    border-radius: 50px;
    background: transparent;
}

.read-more-btn:hover {
    background: #0d6efd;
    color: white;
    gap: 15px;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(3px);
}

.blog-engagement {
    display: flex;
    gap: 15px;
}

.engagement-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #7f8c8d;
    font-size: 13px;
}

.engagement-item i {
    color: #0d6efd;
}

/* Modern Pagination */
.modern-pagination-wrapper {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid #f1f3f4;
    text-align: center;
}

.pagination-info {
    margin-bottom: 20px;
}

.pagination-info p {
    color: #7f8c8d;
    margin: 0;
    font-weight: 500;
}

.modern-pagination .pagination {
    justify-content: center;
    margin: 0;
}

.modern-pagination .page-link {
    border: 2px solid #f1f3f4;
    color: #0d6efd;
    padding: 12px 18px;
    margin: 0 5px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modern-pagination .page-link:hover {
    background: #0d6efd;
    border-color: #0d6efd;
    color: white;
    transform: translateY(-2px);
}

.modern-pagination .page-item.active .page-link {
    background: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

/* Blog Details Styles */
.modern-blog-details-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0 60px;
    position: relative;
}

.breadcrumbs-modern-details .breadcrumb {
    background: white;
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #f1f3f4;
}

.breadcrumbs-modern-details .breadcrumb-item a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumbs-modern-details .breadcrumb-item.active {
    color: #7f8c8d;
}

.blog-details-title {
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    margin: 30px 0;
    line-height: 1.2;
}

.blog-details-meta {
    margin-top: 30px;
}

.blog-details-meta .meta-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    background: white;
    padding: 20px 30px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #f1f3f4;
}

.blog-details-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7f8c8d;
    font-weight: 600;
    font-size: 14px;
}

.blog-details-meta .meta-item i {
    color: #0d6efd;
    font-size: 16px;
}

/* Blog Article Styles */
.blog-featured-image-wrapper {
    margin-bottom: 50px;
}

.blog-featured-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    margin: 0;
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 30px;
    font-weight: 600;
}

.blog-article-content {
    margin-bottom: 50px;
}

.content-wrapper {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
}

.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
    color: #2c3e50;
    font-weight: 700;
    margin: 30px 0 20px;
}

.content-wrapper p {
    margin-bottom: 20px;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

.content-wrapper blockquote {
    background: #f8f9fa;
    border-left: 4px solid #0d6efd;
    padding: 20px 30px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

/* Article Footer */
.blog-article-footer {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 50px;
}

.article-tags,
.article-share {
    margin-bottom: 25px;
}

.article-tags:last-child,
.article-share:last-child {
    margin-bottom: 0;
}

.article-tags h6,
.article-share h6 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 15px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: #0d6efd;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.copy-link {
    background: #6c757d;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Blog Navigation */
.blog-navigation-modern {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 50px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid #f1f3f4;
}

.navigation-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.nav-item {
    text-align: center;
}

.nav-item.prev-post {
    text-align: left;
}

.nav-item.next-post {
    text-align: right;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    display: block;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid transparent;
}

.nav-link:hover {
    background: #f8f9fa;
    border-color: #0d6efd;
    color: #0d6efd;
}

.nav-direction {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 10px;
    font-weight: 600;
}

.nav-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.back-to-blog {
    background: #0d6efd;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-to-blog:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    color: white;
}

/* Related Articles */
.related-articles-section {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
}

.related-articles-section .section-header {
    text-align: center;
    margin-bottom: 30px;
}

.related-articles-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.related-articles-section p {
    color: #7f8c8d;
    margin: 0;
}

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

.related-article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.related-article-card .card-image {
    height: 200px;
    overflow: hidden;
}

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

.related-article-card:hover .card-image img {
    transform: scale(1.05);
}

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

.related-article-card .category {
    background: #0d6efd;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-article-card h6 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 15px 0;
}

.related-article-card .read-more {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.related-article-card .read-more:hover {
    gap: 12px;
}

/* Home Page Blog Section Enhancements */
.blog-area.section-padding-top {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.blog-area.section-padding-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23667eea" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.modern-blog-section-title {
    position: relative;
    z-index: 2;
}

.blog-main-title {
    position: relative;
    background: linear-gradient(135deg, #0d6efd 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-main-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* Enhanced Blog Slider */
.modern-blog-slider {
    position: relative;
    z-index: 2;
}

.modern-blog-slider .slick-dots {
    bottom: -60px;
    display: flex !important;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-blog-slider .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
}

.modern-blog-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    font-size: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modern-blog-slider .slick-dots li.slick-active button {
    background: #0d6efd;
    transform: scale(1.2);
}

.modern-blog-slider .slick-dots li button:hover {
    background: #0d6efd;
    transform: scale(1.1);
}

/* Enhanced Blog Cards for Home Page */
.modern-blog-slider .modern-blog-card {
    margin: 0 10px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #f1f3f4;
    position: relative;
}

.modern-blog-slider .modern-blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.modern-blog-slider .modern-blog-card:hover::before {
    opacity: 1;
}

.modern-blog-slider .modern-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: #0d6efd;
}

/* Enhanced Blog Image for Home Page */
.modern-blog-slider .modern-blog-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.modern-blog-slider .modern-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-blog-slider .modern-blog-card:hover .modern-blog-image img {
    transform: scale(1.05);
}

/* Enhanced Blog Content for Home Page */
.modern-blog-slider .modern-blog-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.modern-blog-slider .blog-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f3f4;
}

.modern-blog-slider .blog-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7f8c8d;
    font-size: 12px;
    font-weight: 500;
}

.modern-blog-slider .blog-meta-item i {
    color: #0d6efd;
    font-size: 12px;
}

.modern-blog-slider .blog-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.modern-blog-slider .blog-card-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modern-blog-slider .blog-card-title a:hover {
    color: #667eea;
}

.modern-blog-slider .blog-excerpt {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modern-blog-slider .blog-excerpt p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Enhanced Read More Button for Home Page */
.modern-blog-slider .blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 2px solid #0d6efd;
    border-radius: 25px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.modern-blog-slider .blog-read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #0d6efd;
    transition: left 0.3s ease;
    z-index: -1;
}

.modern-blog-slider .blog-read-more:hover::before {
    left: 0;
}

.modern-blog-slider .blog-read-more:hover {
    color: white;
    gap: 12px;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.modern-blog-slider .blog-read-more i {
    transition: transform 0.3s ease;
}

.modern-blog-slider .blog-read-more:hover i {
    transform: translateX(3px);
}

/* Loading Animation */
.blog-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.blog-loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0d6efd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1199px) {
    .modern-page-title {
        font-size: 3rem;
    }
    
    .blog-details-title {
        font-size: 2.5rem;
    }
    
    .modern-blog-slider .modern-blog-image {
        height: 230px;
    }
}

@media (max-width: 991px) {
    .modern-page-title {
        font-size: 2.5rem;
    }
    
    .blog-details-title {
        font-size: 2rem;
    }
    
    .blog-stats-bar {
        text-align: center;
    }
    
    .blog-filters {
        justify-content: center;
        margin-top: 20px;
    }
    
    .blog-details-meta .meta-items {
        flex-direction: column;
        gap: 15px;
    }
    
    .navigation-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .nav-item.prev-post,
    .nav-item.next-post {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .modern-page-title {
        font-size: 2rem;
    }
    
    .blog-details-title {
        font-size: 1.8rem;
    }
    
    .modern-blog-header {
        padding: 80px 0 60px;
    }
    
    .modern-blog-details-header {
        padding: 80px 0 40px;
    }
    
    .blog-card-body {
        padding: 20px;
    }
    
    .blog-card-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .read-more-btn {
        justify-content: center;
    }
    
    .blog-meta-modern {
        flex-direction: column;
        gap: 10px;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .tags-list {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .modern-page-title {
        font-size: 1.8rem;
    }
    
    .blog-details-title {
        font-size: 1.5rem;
    }
    
    .blog-stats-bar,
    .modern-pagination-wrapper,
    .blog-navigation-modern,
    .blog-article-footer,
    .related-articles-section {
        padding: 20px;
    }
    
    .count-number {
        font-size: 2rem;
    }
    
    .blog-image-container {
        height: 220px;
    }
    
    .content-wrapper {
        font-size: 1rem;
    }
}