:root {
    --white: #FFFFFF;
    --light-blue: #B1D4E0;
    --medium-blue: #2E8BC0;
    --dark-blue: #145DA0;
    --navy: #071640;
    --accent-teal: #37A3BE;
    --highlight-yellow: #F4B52D;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: var(--navy);
    line-height: 1.6;
    background-color: var(--white);
}

.header {
    background-color: var(--dark-blue);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-title {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 4rem;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-suggestions {
    position: absolute;
    width: 100%;
    background: var(--white);
    border: 1px solid var(--light-blue);
    border-radius: 0.25rem;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.blog-card {
    background: var(--white);
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.blog-card img {
    border-radius: 0.75rem 0.75rem 0 0;
    height: 200px;
    object-fit: cover;
}

.filter-sidebar {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.pagination .page-link {
    color: var(--dark-blue);
    border: 1px solid var(--light-blue);
    margin: 0 4px;
    border-radius: 0.5rem;
}

.pagination .active .page-link {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--white);
}

.main-content {
    order: 2;
}

.sidebar {
    order: 1;
}

@media (min-width: 992px) {
    .main-content {
        order: 1;
    }
    .sidebar {
        order: 2;
    }
}

/* Aged Care Blog */
.blog-container {
    max-width: 800px;
    margin: 150px auto;
    padding: 0 20px;
}

.blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-meta {
    color: #666;
    font-size: 0.95rem;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 40px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.featured-image:hover {
    transform: translateY(-5px);
}

.content-section {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
}

h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 2rem 0 1.5rem;
    padding-bottom: 0.5rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

ul.analysis-list {
    list-style: none;
    padding-left: 1.5rem;
}

ul.analysis-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

ul.analysis-list li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.conclusion-card {
    background: #e8f4fc;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
    border-left: 4px solid var(--primary-color);
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-container {
        margin: 120px auto;
    }
    
    .content-section {
        padding: 20px;
    }
}