/*learn - Blog Page Styling */
:root {
    --blog-primary: var(--primary);
    --blog-secondary: var(--primary);
    --blog-accent: #FB8500;
    --blog-dark: #023047;
    --blog-light: #F8F9FA;
    --blog-text: #333333;
    --blog-gradient: linear-gradient(135deg, var(--primary) 0%, #219EBC 100%);
    --blog-shadow: 0 10px 30px rgba(33, 158, 188, 0.1);
    --blog-success: #4CAF50;
    --blog-warning: #FF9800;
    --blog-info: #2196F3;
}

/* Blog Page Background */
body.about-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    min-height: 100vh;
    padding-bottom: 0;
}

/* Blog Hero Section */
.blog-hero {
    background: url("../image/learn.jpeg") center/cover no-repeat;
    background-size: cover;
    background-position: center;
    height: 45vh;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    position: relative;
    border-radius: 0 0 40px 40px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(33, 158, 188, 0.2);
    padding-bottom: 36px;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-search {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.hero-search input {
    width: 100%;
    padding: 18px 60px 18px 30px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hero-search input:focus {
    outline: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.hero-search button {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--blog-gradient);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.hero-search button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(33, 158, 188, 0.3);
}

/* Blog Content Layout */
.blog-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 10px 20px 0;
}

.blog-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

/* Sidebar Styling */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    min-width: 0;
    flex: 0 0 320px;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(33, 158, 188, 0.35) transparent;
}

.blog-sidebar::-webkit-scrollbar {
    width: 6px;
}

.blog-sidebar::-webkit-scrollbar-thumb {
    background: rgba(33, 158, 188, 0.35);
    border-radius: 999px;
}

.blog-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--blog-shadow);
    border: 1px solid rgba(33, 158, 188, 0.1);
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(33, 158, 188, 0.15);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--blog-light);
}

.widget-header h3 {
    font-size: 1.2rem;
    color: var(--blog-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.widget-icon {
    width: 35px;
    height: 35px;
    background: var(--blog-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

/* Quick Tips Widget */
.quick-tips-widget {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    border: 1px solid var(--blog-secondary);
}

.quick-tips {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tip-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(33, 158, 188, 0.1);
}

.tip-item:hover {
    transform: translateX(5px);
    border-color: var(--blog-primary);
    box-shadow: 0 5px 15px rgba(33, 158, 188, 0.1);
}

.tip-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--blog-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.tip-content h4 {
    font-size: 1rem;
    color: var(--blog-dark);
    margin-bottom: 5px;
}

.tip-content p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Categories Widget */
.categories-widget {
    background: white;
}

.categories-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.categories-list li {
    margin-bottom: 0;
}

.categories-list a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--blog-text);
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: var(--blog-light);
    border: 1px solid rgba(33, 158, 188, 0.1);
}

.categories-list a:hover {
    background: var(--blog-gradient);
    color: white;
    transform: translateX(5px);
}

.categories-list a:hover .category-icon {
    background: white;
    color: var(--blog-primary);
}

.categories-list a:hover .category-info,
.categories-list a:hover .category-count {
    color: rgba(255, 255, 255, 0.9);
}

.category-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--blog-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blog-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.category-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.category-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.category-info {
    font-size: 0.8rem;
    color: #666;
    transition: all 0.3s ease;
}

.category-count {
    background: white;
    color: var(--blog-primary);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 45px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #023047 0%, #219EBC 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-widget .widget-header h3 {
    color: white;
}

.newsletter-widget .widget-icon {
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-content {
    text-align: center;
}

.newsletter-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
}

.newsletter-content p {
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.newsletter-form input {
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    background: white;
    color: var(--blog-dark);
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.newsletter-form button:hover {
    background: var(--blog-accent);
    color: white;
    transform: translateY(-3px);
}

.newsletter-benefits {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.newsletter-benefits span {
    font-size: 0.8rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.newsletter-benefits i {
    color: #4CAF50;
}

/* Main Blog Content */
.main-blog {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--blog-shadow);
    min-width: 0;
    flex: 1;
}

.blog-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--blog-light);
}

.header-left h2 {
    font-size: 1.8rem;
    color: var(--blog-dark);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-subtitle {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.result-count {
    font-size: 0.9rem;
    color: var(--blog-primary);
    font-weight: 500;
    margin-top: 5px;
    display: block;
}

/* Blog Cards Grid - 3 columns, 2 rows (6 per page) */
.enhanced-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    align-content: start;
}

/* Simplified Blog Card */
.enhanced-blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--blog-shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(33, 158, 188, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%; /* Make all cards equal height */
}

.enhanced-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(33, 158, 188, 0.15);
    border-color: var(--blog-secondary);
}

.blog-card-header {
    position: relative;
    height: 240px; /* Taller image area for better proportion */
    overflow: hidden;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.enhanced-blog-card:hover .blog-card-image {
    transform: scale(1.05);
}

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

.blog-card-body h3 {
    font-size: 1.2rem; /* Slightly larger title */
    margin-bottom: 0;
    color: var(--blog-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 56px; /* Fixed height for title */
}

/* Remove author section and add read button at bottom */
.blog-card-footer {
    padding: 18px 20px;
    border-top: 1px solid rgba(33, 158, 188, 0.1);
    background: var(--blog-light);
}

.read-btn {
    background: var(--accent-yellow);
    color: var(--primary);
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(11, 77, 186, 0.08);
    width: 100%;
    justify-content: center;
}

.read-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(11, 77, 186, 0.12);
    background: var(--accent-yellow-dark);
    color: var(--primary);
} 

/* Loading, Error, and No Articles States */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    grid-column: 1 / -1;
}

.loading-container i {
    color: var(--blog-primary);
    margin-bottom: 20px;
}

.loading-container p {
    color: #666;
    font-size: 1rem;
}

.no-articles, .error-message {
    text-align: center;
    padding: 60px;
    grid-column: 1 / -1;
}

.no-articles i, .error-message i {
    color: #ddd;
    margin-bottom: 20px;
}

.no-articles h3, .error-message h3 {
    color: var(--blog-dark);
    margin-bottom: 10px;
}

.no-articles p, .error-message p {
    color: #666;
    margin-bottom: 20px;
}

.retry-btn {
    background: var(--accent-yellow);
    color: var(--primary);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 77, 186, 0.08);
    background: var(--accent-yellow-dark);
}

/* Pagination Styles */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-top: 30px;
    border-top: 2px solid var(--blog-light);
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: white;
    border: 2px solid #eee;
    color: var(--blog-text);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.pagination-btn:hover:not(.disabled) {
    border-color: var(--accent-yellow);
    color: var(--primary);
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: var(--accent-yellow);
    color: var(--primary);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 77, 186, 0.08);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-dots {
    color: #999;
    padding: 0 5px;
}

/* Recipe Blog Section */
.recipe-blog {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
                url('../image/recipe-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 10px 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.recipe-blog .container {
    width: 100%;
}

.recipe-page {
    margin: 0;
    border-radius: 0;
    background-attachment: scroll;
    padding: 20px 0;
    min-height: auto;
    display: block;
}

.recipe-header {
    margin-bottom: 30px;
}

.recipe-header-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.recipe-header-row.recipe-header-center {
    justify-content: center;
}

.recipe-header-row.recipe-header-center .recipe-header-text {
    text-align: center;
    margin: 0 auto;
}

.recipe-header-text {
    flex: 1;
    min-width: 240px;
    text-align: center;
}

.recipe-header h2 {
    font-size: 2.5rem;
    color: var(--blog-dark);
    margin-bottom: 15px;
}

.recipe-header p {
    color: #666;
    max-width: 600px;
    font-size: 1.1rem;
}

.recipe-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    background: var(--accent-yellow);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    margin-top: 4px;
}

.recipe-view-all:hover {
    transform: translateY(-2px);
    background: var(--accent-yellow-dark);
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.recipe-actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.recipe-loading,
.recipe-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
    font-size: 1rem;
    padding: 20px;
}

.recipe-meta.empty {
    display: none;
}

.recipe-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--blog-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(33, 158, 188, 0.2);
    cursor: pointer;
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(33, 158, 188, 0.15);
}

.recipe-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    background: #f1f4f8;
}

.recipe-content {
    padding: 25px;
}

.recipe-content h3 {
    font-size: 1.4rem;
    color: var(--blog-dark);
    margin-bottom: 10px;
}

.recipe-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
}

.recipe-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.recipe-content p {
    color: var(--blog-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.recipe-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.recipe-open {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--accent-yellow);
    color: var(--primary);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.recipe-open:hover {
    transform: translateY(-2px);
    background: var(--accent-yellow-dark);
}

.recipe-tag {
    background: var(--blog-light);
    color: var(--blog-primary);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Blog Contact Form */
.blog-contact {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
                url('../image/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    padding: 20px;
    margin: 20px auto;
    max-width: 1400px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(33, 158, 188, 0.2);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--blog-gradient);
}

.contact-header {
    text-align: center;
    margin-bottom: 32px;
}

.contact-header h2 {
    font-size: 2.8rem;
    color: var(--blog-dark);
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.contact-header p {
    color: #666;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e1f5fe;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--blog-primary);
    box-shadow: 0 0 0 3px rgba(33, 158, 188, 0.1);
    background: white;
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-submit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
}

.contact-submit button {
    background: var(--blog-gradient);
    color: white;
    border: none;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(33, 158, 188, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

.contact-submit button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(33, 158, 188, 0.35);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .blog-layout {
        gap: 30px;
    }

    .blog-sidebar {
        flex-basis: 300px;
    }
    
    .blog-card-header {
        height: 220px;
    }
    
    .contact-header h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 992px) {
    .blog-layout {
        display: grid;
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-contact {
        padding: 40px 30px;
        min-height: auto;
    }
    
    .blog-section-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .enhanced-blog-grid {
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-card-header {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        height: 50vh;
        min-height: 400px;
        padding-bottom: 28px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    /* Switch to single column on mobile */
    .enhanced-blog-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }

    .recipe-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card-header {
        height: 230px;
    }
    
    .blog-card-body h3 {
        font-size: 1.3rem;
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .contact-header p {
        font-size: 1.1rem;
    }
    
    .main-blog {
        padding: 25px;
    }
}

@media (max-width: 600px) {
    .blog-card-header {
        height: 210px;
    }
    
    .blog-card-body h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        height: 40vh;
        min-height: 300px;
        border-radius: 0 0 30px 30px;
        padding-bottom: 20px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .blog-card-body,
    .blog-sidebar,
    .blog-contact {
        padding: 20px;
    }
    
    .contact-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-submit button {
        width: 100%;
        justify-content: center;
        padding: 18px;
        font-size: 1rem;
    }
    
    .newsletter-benefits {
        flex-direction: column;
        gap: 8px;
    }
    
    .pagination-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .enhanced-blog-grid {
        gap: 15px;
    }
    
    .blog-card-header {
        height: 180px;
    }
    
    .blog-card-body h3 {
        font-size: 1.1rem;
    }
}
