/**
 * Office Fun Games - Main Stylesheet
 * Mobile-first responsive design
 * Optimized for performance and SEO
 */

/* ========================================
   CSS Variables
======================================== */
:root {
    /* Brand Colors - From Logo */
    --primary: #1E73BE;          /* Main Blue */
    --primary-dark: #155A96;     /* Darker Blue */
    --primary-light: #2B7FD9;    /* Light Blue */
    --secondary: #FDB81E;        /* Yellow/Gold */
    --secondary-dark: #E5A61A;   /* Darker Yellow */
    --accent-green: #52C485;     /* Green */
    --success: #52C485;          /* Green for success states */
    --error: #ef4444;
    --warning: #FDB81E;          /* Yellow for warnings */
    --info: #7DB4E6;

    /* Neutrals */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;

    /* Layout */
    --container-max-width: 1200px;
    --header-height: 70px;
}

/* ========================================
   Reset & Base Styles
======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    color: var(--gray-800);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Typography
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--gray-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Layout Components
======================================== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Better mobile padding */
@media (max-width: 640px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
}

.main-content {
    min-height: calc(100vh - var(--header-height) - 400px);
    padding: var(--spacing-xl) 0;
}

/* ========================================
   Header & Navigation
======================================== */
.site-header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.navbar {
    height: var(--header-height);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-image {
    height: 45px;
    width: auto;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-office {
    color: var(--primary);
    font-size: 1em;
}

.logo-fun {
    color: var(--secondary);
    font-size: 1em;
}

.logo-games {
    color: var(--primary);
    font-size: 0.9em;
    font-weight: 600;
}

/* Mobile: Show only logo icon */
@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
    .logo-image {
        height: 40px;
    }
}

.nav-menu {
    display: none;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu a {
    color: var(--gray-700);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: var(--gray-100);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--gray-800);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Active State */
.nav-menu.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.user-avatar,
.user-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.user-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.user-menu .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    min-width: 150px;
    list-style: none;
}

.user-menu:hover .dropdown {
    display: block;
}

.user-menu .dropdown li {
    margin: 0;
}

.user-menu .dropdown a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #059669;
    color: white;
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.125rem;
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.875rem;
}

/* Mobile-friendly touch targets */
@media (max-width: 640px) {
    .btn {
        min-height: 44px; /* iOS recommended touch target */
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .btn-lg {
        min-height: 48px;
        padding: var(--spacing-md) var(--spacing-xl);
    }
}

/* ========================================
   Hero Section
======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.6;
}

/* Better mobile hero */
@media (min-width: 768px) {
    .hero {
        padding: var(--spacing-3xl) 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.25rem;
    }
}

/* ========================================
   Game Grid
======================================== */
.games-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.game-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

.game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

/* Responsive image heights */
@media (max-width: 640px) {
    .game-card-image {
        height: 180px;
    }
}

.game-card-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-card-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.game-card-description {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.game-card-meta {
    display: flex;
    gap: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: var(--spacing-md);
}

.game-card-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.game-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-200);
}

.badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-multiplayer {
    background: var(--primary-light);
    color: white;
}

.badge-solo {
    background: var(--gray-300);
    color: var(--gray-700);
}

.badge-featured {
    background: var(--secondary);
    color: white;
}

/* ========================================
   Search Bar
======================================== */
.search-section {
    margin: var(--spacing-xl) 0;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    padding-left: 3rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-icon {
    position: absolute;
    left: var(--spacing-md);
    color: var(--gray-400);
    pointer-events: none;
}

/* ========================================
   Section Headers
======================================== */
.section {
    margin: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ========================================
   Flash Messages
======================================== */
.flash-message {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideDown 0.3s ease-out;
    transition: opacity var(--transition-base);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flash-message.success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success);
}

.flash-message.error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--error);
}

.flash-message.info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid var(--info);
}

.close-flash {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.close-flash:hover {
    opacity: 1;
}

/* ========================================
   Footer
======================================== */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    margin-top: var(--spacing-3xl);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--gray-800);
}

.footer-column h3,
.footer-column h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.footer-column p {
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-column ul a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-column ul a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--gray-800);
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-ad {
    margin: var(--spacing-xl) 0;
}

.ad-placeholder {
    background: var(--gray-800);
    border: 2px dashed var(--gray-700);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-label {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: var(--spacing-xs);
}

/* ========================================
   Forms
======================================== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
}

/* ========================================
   Loading States
======================================== */
.loading {
    text-align: center;
    padding: var(--spacing-xl);
}

.spinner {
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: var(--radius-full);
    width: 40px;
    height: 40px;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Responsive Design - Tablet
======================================== */
@media (min-width: 640px) {
    .logo-text {
        display: inline;
    }

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

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

@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.375rem;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
    }

    .nav-menu.active {
        position: static;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-top {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   Responsive Design - Desktop
======================================== */
@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-xl);
    }

    .games-grid {
        gap: var(--spacing-xl);
    }
}

/* ========================================
   Utility Classes
======================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }

.gap-1 { gap: var(--spacing-sm); }
.gap-2 { gap: var(--spacing-md); }
.gap-3 { gap: var(--spacing-lg); }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.w-full { width: 100%; }
.h-full { height: 100%; }

/* ========================================
   Blog Styles
======================================== */

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
    line-height: 1.4;
    font-weight: 600;
}

/* Blog Category Badges */
.blog-category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: white;
    color: var(--gray-700);
    border-radius: 20px;
    text-decoration: none;
    transition: all var(--transition-base);
    border: 2px solid var(--gray-300);
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-category-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

/* Blog Post Content */
.blog-post {
    background: white;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-800);
    margin-bottom: var(--spacing-2xl);
}

.blog-content h2 {
    font-size: 1.8rem;
    color: var(--gray-900);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.blog-content h3 {
    font-size: 1.4rem;
    color: var(--gray-900);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.blog-content h4 {
    font-size: 1.2rem;
    color: var(--gray-900);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.blog-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    line-height: 1.8;
}

.blog-content li {
    margin-bottom: 0.75rem;
}

.blog-content ul li {
    list-style-type: disc;
}

.blog-content ol li {
    list-style-type: decimal;
}

.blog-content strong {
    font-weight: 600;
    color: var(--gray-900);
}

.blog-content a {
    color: var(--primary);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.blog-content a:hover {
    color: var(--secondary);
}

.blog-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--gray-700);
}

.blog-content code {
    background: var(--gray-100);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--gray-800);
}

.blog-content pre {
    background: var(--gray-900);
    color: var(--gray-100);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.blog-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* Blog Meta Info */
.blog-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--gray-600);
    font-size: 0.9rem;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.blog-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Blog Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-post h1 {
        font-size: 1.8rem !important;
    }

    .blog-content {
        font-size: 1rem;
    }

    .blog-content h2 {
        font-size: 1.5rem;
    }

    .blog-content h3 {
        font-size: 1.25rem;
    }

    .blog-content h4 {
        font-size: 1.1rem;
    }
}

@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
