/* ===============================================
   BUDGET RADIATORS BLOG STYLES
   Modern, responsive blog design
   =============================================== */

:root {
    --blog-primary: #d73f15;
    --blog-primary-light: #e55535;
    --blog-primary-dark: #b8340f;
    --blog-secondary: #36445a;
    --blog-text: #333333;
    --blog-text-light: #666666;
    --blog-text-muted: #999999;
    --blog-bg: #ffffff;
    --blog-bg-light: #f8fafb;
    --blog-bg-dark: #f4f6f8;
    --blog-border: #e5e7eb;
    --blog-border-light: #f0f0f0;
    --blog-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --blog-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --blog-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --blog-radius: 12px;
    --blog-radius-lg: 16px;
    --blog-spacing: 1.5rem;
    --blog-spacing-lg: 2rem;
    --blog-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===============================================
   GLOBAL BLOG STYLES
   =============================================== */

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-content-wrapper {
    margin: 2rem 0 3rem;
}

/* Typography */
.blog-title,
.blog-heading {
    font-family: var(--blog-font-family);
    font-weight: 700;
    line-height: 1.2;
    color: var(--blog-secondary);
    margin-bottom: 1rem;
}

.blog-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.blog-text {
    font-family: var(--blog-font-family);
    line-height: 1.7;
    color: var(--blog-text-light);
}

/* Links */
.blog-link {
    color: var(--blog-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: var(--blog-primary-dark);
    text-decoration: none;
}

/* Buttons */
.blog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--blog-radius);
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--blog-font-family);
}

.blog-btn-primary {
    background: linear-gradient(135deg, var(--blog-primary) 0%, var(--blog-primary-light) 100%);
    color: white;
    box-shadow: var(--blog-shadow);
}

.blog-btn-primary:hover {
    background: linear-gradient(135deg, var(--blog-primary-dark) 0%, var(--blog-primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--blog-shadow-lg);
    color: white;
    text-decoration: none;
}

.blog-btn-outline {
    background: transparent;
    color: var(--blog-primary);
    border: 2px solid var(--blog-primary);
}

.blog-btn-outline:hover {
    background: var(--blog-primary);
    color: white;
    text-decoration: none;
}

.blog-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===============================================
   BREADCRUMB STYLES
   =============================================== */

.blog-breadcrumb {
    background: var(--blog-bg-light);
    border-radius: var(--blog-radius);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--blog-border-light);
}

.blog-breadcrumb ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.blog-breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.blog-breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: var(--blog-text-muted);
}

.blog-breadcrumb a {
    color: var(--blog-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-breadcrumb a:hover {
    color: var(--blog-primary);
    text-decoration: none;
}

.blog-breadcrumb li:last-child {
    color: var(--blog-text-muted);
    font-weight: 500;
}

/* ===============================================
   BLOG HOME / LISTING PAGE
   =============================================== */

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.blog-header h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blog-secondary) 0%, var(--blog-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.blog-header .description {
    font-size: 1.2rem;
    color: var(--blog-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Grid Layout */
.blog-main-content {
    display: block;
    width: 100%;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Featured Post */
.blog-featured-post {
    background: var(--blog-bg);
    border-radius: var(--blog-radius-lg);
    overflow: hidden;
    box-shadow: var(--blog-shadow-xl);
    margin-bottom: 3rem;
    transition: transform 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 450px;
}

.blog-featured-post:hover {
    transform: translateY(-5px);
}

.blog-featured-image {
    position: relative;
    height: 450px;
    overflow: hidden;
}

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

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

.blog-featured-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--blog-primary);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blog-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.blog-featured-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-featured-title a:hover {
    color: var(--blog-primary);
}

.blog-featured-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--blog-text-muted);
    font-weight: 500;
}

.blog-featured-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-featured-excerpt {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--blog-text-light);
    margin-bottom: 2rem;
}

/* Regular Blog Cards */
.blog-card {
    background: var(--blog-bg);
    border-radius: var(--blog-radius-lg);
    overflow: hidden;
    box-shadow: var(--blog-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--blog-border-light);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--blog-shadow-xl);
}

.blog-card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

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

.blog-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--blog-secondary);
    margin-bottom: 1rem;
    line-height: 1.3;
    flex-grow: 1;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--blog-primary);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    color: var(--blog-text-muted);
    font-weight: 500;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card-excerpt {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--blog-text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.blog-read-time {
    font-size: 0.95rem;
    color: var(--blog-text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

/* ===============================================
   BLOG SIDEBAR
   =============================================== */

.blog-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background: var(--blog-bg);
    border-radius: var(--blog-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--blog-shadow);
    border: 1px solid var(--blog-border-light);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blog-secondary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--blog-primary);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--blog-primary-light);
}

/* Search Widget */
.search-widget {
    position: relative;
}

.search-widget input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--blog-border);
    border-radius: var(--blog-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--blog-bg-light);
}

.search-widget input:focus {
    outline: none;
    border-color: var(--blog-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(215, 63, 21, 0.1);
}

.search-widget .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blog-text-muted);
    font-size: 1.1rem;
}

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

.categories-list li {
    margin-bottom: 0.75rem;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--blog-bg-light);
    border-radius: var(--blog-radius);
    color: var(--blog-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.categories-list a:hover {
    background: var(--blog-primary);
    color: white;
    transform: translateX(5px);
    text-decoration: none;
}

.category-count {
    background: var(--blog-text-muted);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.categories-list a:hover .category-count {
    background: rgba(255, 255, 255, 0.2);
}

/* Tags Widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-item {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--blog-bg-light);
    color: var(--blog-text);
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--blog-primary);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: var(--blog-shadow);
}

/* Recent Posts Widget */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--blog-border-light);
}

.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--blog-radius);
    overflow: hidden;
    flex-shrink: 0;
}

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

.recent-post-item:hover .recent-post-thumb img {
    transform: scale(1.1);
}

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

.recent-post-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blog-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.recent-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-title a:hover {
    color: var(--blog-primary);
}

.recent-post-date {
    font-size: 0.8rem;
    color: var(--blog-text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

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

.blog-detail-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.blog-detail-content {
    background: var(--blog-bg);
    border-radius: var(--blog-radius-lg);
    overflow: hidden;
    box-shadow: var(--blog-shadow-lg);
}

.blog-detail-header {
    padding: 2.5rem 2.5rem 0;
}

.blog-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blog-secondary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--blog-border-light);
}

.blog-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--blog-text-muted);
    font-weight: 500;
}

.blog-detail-meta-item i {
    color: var(--blog-primary);
    font-size: 1.1rem;
}

.blog-detail-image {
    margin: 0 -2.5rem 2rem;
    height: 500px;
    overflow: hidden;
}

.blog-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-body {
    padding: 0 2.5rem 2.5rem;
}

.blog-detail-content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--blog-text);
}

.blog-detail-content-text h2,
.blog-detail-content-text h3,
.blog-detail-content-text h4 {
    color: var(--blog-secondary);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-detail-content-text h2 {
    font-size: 1.8rem;
    border-bottom: 3px solid var(--blog-primary);
    padding-bottom: 0.5rem;
}

.blog-detail-content-text h3 {
    font-size: 1.5rem;
}

.blog-detail-content-text h4 {
    font-size: 1.3rem;
}

.blog-detail-content-text p {
    margin-bottom: 1.5rem;
}

.blog-detail-content-text ul,
.blog-detail-content-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-detail-content-text li {
    margin-bottom: 0.5rem;
}

.blog-detail-content-text blockquote {
    background: var(--blog-bg-light);
    border-left: 4px solid var(--blog-primary);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
    border-radius: 0 var(--blog-radius) var(--blog-radius) 0;
}

/* Blog Tags */
.blog-tags {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--blog-bg-light);
    border-radius: var(--blog-radius);
}

.blog-tags h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--blog-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Social Share */
.social-share {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--blog-bg-light) 0%, var(--blog-bg-dark) 100%);
    border-radius: var(--blog-radius);
    text-align: center;
}

.social-share h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blog-secondary);
    margin-bottom: 1.5rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: var(--blog-shadow);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--blog-shadow-lg);
    text-decoration: none;
    color: white;
}

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

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

.share-linkedin {
    background: #0a66c2;
}

.share-pinterest {
    background: #bd081c;
}

.share-email {
    background: var(--blog-secondary);
}

/* Related Products */
.related-products {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--blog-bg-light);
    border-radius: var(--blog-radius);
}

.related-products h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blog-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.related-product-card {
    background: white;
    border-radius: var(--blog-radius);
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--blog-border-light);
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--blog-shadow-lg);
}

/* Comments Section */
.blog-comments {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--blog-bg);
    border-radius: var(--blog-radius);
    border: 1px solid var(--blog-border-light);
}

.blog-comments h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blog-secondary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comment {
    padding: 1.5rem;
    border: 1px solid var(--blog-border-light);
    border-radius: var(--blog-radius);
    margin-bottom: 1.5rem;
    background: var(--blog-bg-light);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--blog-border-light);
}

.comment-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--blog-secondary);
    margin: 0;
}

.comment-date {
    font-size: 0.9rem;
    color: var(--blog-text-muted);
}

.comment-content {
    line-height: 1.6;
    color: var(--blog-text-light);
}

/* Comment Form */
.comment-form-wrapper {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--blog-bg);
    border-radius: var(--blog-radius);
    border: 1px solid var(--blog-border-light);
}

.comment-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blog-secondary);
    margin-bottom: 1.5rem;
}

.comment-form .form-group {
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    font-weight: 600;
    color: var(--blog-secondary);
    margin-bottom: 0.5rem;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--blog-border);
    border-radius: var(--blog-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--blog-font-family);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--blog-primary);
    box-shadow: 0 0 0 3px rgba(215, 63, 21, 0.1);
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
    padding: 2rem;
}

.pagination-info {
    font-size: 0.95rem;
    color: var(--blog-text-muted);
    margin-right: auto;
}

.pagination {
    display: flex;
    gap: 0.5rem;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 2px solid var(--blog-border);
    border-radius: var(--blog-radius);
    color: var(--blog-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--blog-primary);
    border-color: var(--blog-primary);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.pagination .active {
    background: var(--blog-primary);
    border-color: var(--blog-primary);
    color: white;
}

/* Loading States */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--blog-text-muted);
}

.loading-spinner i {
    margin-right: 0.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 1200px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .blog-featured-post {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .blog-featured-image {
        height: 350px;
    }

    .blog-featured-title {
        font-size: 2.2rem;
    }

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

@media (max-width: 992px) {

    .blog-main-content,
    .blog-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-header h1 {
        font-size: 2.5rem;
    }

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

    .blog-detail-header,
    .blog-detail-body {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .blog-detail-image {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-container {
        padding: 0 15px;
    }

    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-featured-content,
    .sidebar-widget {
        padding: 1.5rem;
    }

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

    .blog-detail-meta {
        gap: 1rem;
    }

    .share-buttons {
        gap: 0.75rem;
    }

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

    .related-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-featured-content {
        padding: 2rem;
    }

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

    .blog-featured-excerpt {
        font-size: 1.1rem;
    }

    .blog-card-content {
        padding: 1.5rem;
    }

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

    .blog-card-excerpt {
        font-size: 1rem;
    }

    .blog-card-image {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .blog-header {
        padding: 1rem 0;
    }

    .blog-header h1 {
        font-size: 1.75rem;
    }

    .blog-featured-content,
    .blog-card-content,
    .sidebar-widget {
        padding: 1rem;
    }

    .blog-detail-header,
    .blog-detail-body {
        padding: 1rem;
    }

    .blog-detail-image {
        margin-left: -1rem;
        margin-right: -1rem;
        height: 250px;
    }

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

    .blog-detail-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .categories-list a,
    .comment {
        padding: 1rem;
    }

    .pagination a,
    .pagination span {
        width: 40px;
        height: 40px;
    }
}

/* ===============================================
   ACCESSIBILITY IMPROVEMENTS
   =============================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
.blog-link:focus,
.blog-btn:focus,
.tag-item:focus,
.categories-list a:focus,
.comment-form input:focus,
.comment-form textarea:focus {
    outline: 2px solid var(--blog-primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --blog-border: #000000;
        --blog-text-muted: #333333;
        --blog-bg-light: #f0f0f0;
    }
}