/* ====================================
   BLOGS PAGE STYLES
   ==================================== */

/* Hero Section */
.blogs-hero {
    background: linear-gradient(135deg, #0f2a43 0%, #1a4a6e 100%);
    padding: 60px 0 50px;
    text-align: center;
    color: #fff;
}

.blogs-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.blogs-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blogs Section */
.blogs-section {
    padding: 50px 0 80px;
    background: #f8f9fa;
}

/* Layout Grid */
.blogs-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar */
.blogs-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* Search Widget */
.search-box {
    display: flex;
    gap: 8px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
}

.search-btn {
    padding: 12px 18px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

/* Categories Widget */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 4px;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 8px;
    color: #444;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

.category-link:hover {
    background: #f5f5f5;
    color: #2ecc71;
    text-decoration: none;
}

.category-link.active {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: #fff;
}

.category-link.active .category-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.category-count {
    background: #f0f0f0;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #666;
}

/* Main Content Area */
.blogs-main {
    min-height: 400px;
}

/* Filters Bar */
.blogs-filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.results-count {
    color: #666;
    font-size: 0.95rem;
}

.active-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #e8f8f0;
    color: #27ae60;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.remove-filter {
    color: #27ae60;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.remove-filter:hover {
    opacity: 1;
    text-decoration: none;
}

/* Blog Grid */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    display: block;
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-placeholder i {
    font-size: 3rem;
    color: #ccc;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.blog-category-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #e8f8f0;
    color: #27ae60;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-category-tag:hover {
    background: #27ae60;
    color: #fff;
    text-decoration: none;
}

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

.blog-card-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: #2ecc71;
}

.blog-card-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.blog-date {
    color: #888;
    font-size: 0.85rem;
}

.blog-date i {
    margin-right: 6px;
}

.read-more-link {
    color: #2ecc71;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}

.read-more-link:hover {
    color: #27ae60;
    text-decoration: none;
}

.read-more-link i {
    margin-left: 4px;
    transition: transform 0.2s;
}

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

/* No Blogs Message */
.no-blogs-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 40px;
    background: #fff;
    border-radius: 16px;
}

.no-blogs-message i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-blogs-message h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 12px;
}

.no-blogs-message p {
    color: #666;
    margin-bottom: 20px;
}

.no-blogs-message .btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.no-blogs-message .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
}

/* Skeleton Loading */
.blogs-skeleton {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 28px;
}

.skeleton-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.skeleton-image {
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-content {
    padding: 24px;
}

.skeleton-category {
    width: 80px;
    height: 22px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 20px;
    margin-bottom: 12px;
}

.skeleton-title {
    width: 90%;
    height: 24px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 12px;
}

.skeleton-text {
    width: 100%;
    height: 14px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-meta {
    width: 120px;
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-top: 16px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #0f2a43 0%, #1a4a6e 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.load-more-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 42, 67, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.end-of-results {
    text-align: center;
    padding: 30px;
    color: #888;
    font-style: italic;
}

/* ====================================
   BLOG DETAIL PAGE STYLES
   ==================================== */

/* Blog Detail Header */
.blog-detail-header {
    background: linear-gradient(135deg, #0f2a43 0%, #1a4a6e 100%);
    padding: 40px 0 50px;
    color: #fff;
}

/* Breadcrumb */
.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.blog-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-breadcrumb a:hover {
    color: #fff;
}

.blog-breadcrumb i {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Detail Categories */
.blog-detail-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog-category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-category-badge:hover {
    background: #2ecc71;
    color: #fff;
    text-decoration: none;
}

/* Detail Title */
.blog-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    max-width: 800px;
}

/* Detail Meta */
.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    color: #2ecc71;
}

/* Featured Image */
.blog-detail-image {
    margin-top: -30px;
    margin-bottom: 40px;
}

.blog-detail-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Detail Layout */
.blog-detail-layout {
    padding: 20px 0 60px;
    background: #f8f9fa;
}

.blog-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

/* Blog Content */
.blog-detail-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.blog-intro {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.blog-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.blog-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 35px 0 15px;
    color: #1a1a2e;
}

.blog-body h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 30px 0 12px;
    color: #1a1a2e;
}

.blog-body p {
    margin-bottom: 18px;
}

.blog-body ul,
.blog-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-body li {
    margin-bottom: 10px;
}

.blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-body blockquote {
    margin: 25px 0;
    padding: 20px 25px;
    background: #f8f9fa;
    border-left: 4px solid #2ecc71;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

.blog-body a {
    color: #2ecc71;
    text-decoration: underline;
}

.blog-body a:hover {
    color: #27ae60;
}

/* Tags Section */
.blog-tags-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.blog-tags-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.blog-tags-section h4 i {
    margin-right: 8px;
    color: #2ecc71;
}

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

.blog-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f0f0f0;
    color: #555;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Share Section */
.blog-share-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.blog-share-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

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

.share-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: #fff;
}

.share-btn.facebook {
    background: #1877f2;
}

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

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

.share-btn.whatsapp {
    background: #25d366;
}

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

.share-btn.copy-link.copied {
    background: #2ecc71;
}

/* CTA Box */
.blog-cta-box {
    margin-top: 40px;
    background: linear-gradient(135deg, #0f2a43 0%, #1a4a6e 100%);
    border-radius: 16px;
    padding: 35px;
    color: #fff;
}

.blog-cta-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-cta-box p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
    color: #fff;
    text-decoration: none;
}

/* Detail Sidebar */
.blog-detail-sidebar {
    position: sticky;
    top: 20px;
}

.blog-detail-sidebar .sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

/* Sidebar Search */
.sidebar-search-form {
    display: flex;
    gap: 8px;
}

.sidebar-search-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
}

.sidebar-search-input:focus {
    outline: none;
    border-color: #2ecc71;
}

.sidebar-search-btn {
    padding: 10px 16px;
    background: #2ecc71;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
}

/* Sidebar Categories */
.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories li {
    margin-bottom: 8px;
}

.sidebar-categories a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #444;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.sidebar-categories a:hover {
    background: #f5f5f5;
    color: #2ecc71;
}

.sidebar-categories a i {
    margin-right: 10px;
    color: #ccc;
}

.sidebar-categories a:hover i {
    color: #2ecc71;
}

.sidebar-categories .count {
    margin-left: auto;
    color: #999;
    font-size: 0.85rem;
}

/* Recent Posts Widget */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recent-post-item {
    display: flex;
    gap: 14px;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.recent-post-item:hover {
    background: #f8f9fa;
    text-decoration: none;
}

.recent-post-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.recent-post-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-date {
    font-size: 0.8rem;
    color: #888;
}

.recent-post-date i {
    margin-right: 5px;
}

/* Sidebar CTA Widget */
.sidebar-cta-widget {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%) !important;
    text-align: center;
    color: #fff;
}

.sidebar-cta-content {
    padding: 10px 0;
}

.sidebar-cta-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.sidebar-cta-widget h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.sidebar-cta-widget p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 18px;
}

.sidebar-cta-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #fff;
    color: #27ae60;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: #27ae60;
    text-decoration: none;
}

/* Related Posts Section */
.related-posts-section {
    padding: 60px 0;
    background: #fff;
}

.related-posts-section .section-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #1a1a2e;
}

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

.related-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.related-post-image {
    display: block;
    height: 180px;
    overflow: hidden;
}

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

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

.related-post-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-post-placeholder i {
    font-size: 2.5rem;
    color: #ccc;
}

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

.related-post-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-post-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s;
}

.related-post-title a:hover {
    color: #2ecc71;
}

.related-post-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}

.related-post-date {
    font-size: 0.85rem;
    color: #888;
}

.related-post-date i {
    margin-right: 6px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

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

@media (max-width: 1200px) {
    .blogs-layout {
        grid-template-columns: 260px 1fr;
        gap: 30px;
    }

    .blog-detail-grid {
        grid-template-columns: 1fr 280px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .blogs-layout {
        grid-template-columns: 1fr;
    }

    .blogs-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .sidebar-widget {
        margin-bottom: 0;
    }

    .blog-detail-grid {
        grid-template-columns: 1fr;
    }

    .blog-detail-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .blog-detail-sidebar .sidebar-widget {
        margin-bottom: 0;
    }

    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blogs-hero {
        padding: 40px 0 35px;
    }

    .blogs-hero-title {
        font-size: 2rem;
    }

    .blogs-section {
        padding: 30px 0 60px;
    }

    .blogs-sidebar {
        grid-template-columns: 1fr;
    }

    .blogs-grid {
        grid-template-columns: 1fr;
    }

    .blogs-skeleton {
        grid-template-columns: 1fr;
    }

    .blogs-filters-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .blog-detail-title {
        font-size: 1.8rem;
    }

    .blog-detail-content {
        padding: 25px;
    }

    .blog-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .blogs-hero-title {
        font-size: 1.75rem;
    }

    .blogs-hero-subtitle {
        font-size: 1rem;
    }

    .blog-card-content {
        padding: 18px;
    }

    .blog-card-title {
        font-size: 1.1rem;
    }

    .blog-detail-meta {
        flex-direction: column;
        gap: 10px;
    }

    .blog-cta-box {
        padding: 25px;
    }

    .blog-cta-box h3 {
        font-size: 1.2rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}
