:root {
    --primary: #2c3e50;
    --accent: #2980b9;
    --bg: #f4f7f6;
    --text: #333;
}
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    line-height: 1.6; color: var(--text); background-color: var(--bg); margin: 0; padding: 0; 
}
/* Link Styles */
a { color: var(--accent); text-decoration: none; transition: color 0.2s ease-in-out; }
a:hover { color: #1a5276; text-decoration: underline; }

.header { 
    background: var(--primary); color: #fff; padding: 1.5rem 0; text-align: center; 
}
.header a { color: #fff; text-decoration: none; font-size: 2rem; font-weight: bold; }
.header a:hover { text-decoration: none; color: #ecf0f1; }
.container { 
    max-width: 1200px; margin: 2rem auto; padding: 0 1rem; 
}
h1, h2, h3 { color: var(--primary); }

/* New 3-Column Concept Layout (2 Cols Main, 1 Col Sidebar) */
.layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 768px) {
    .layout-grid { grid-template-columns: 1fr; } /* Stacks on mobile */
}

/* Search Form */
.search-form { 
    background: #fff; padding: 1rem; border-radius: 8px; margin-bottom: 1.5rem; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); display: flex; gap: 1rem; flex-wrap: wrap;
}
.search-form input[type="text"] { flex: 2; padding: 0.6rem; border: 1px solid #ccc; border-radius: 4px; min-width: 200px; }
.search-form select { flex: 1; padding: 0.6rem; border: 1px solid #ccc; border-radius: 4px; min-width: 150px; }
.search-form button { 
    background: var(--accent); color: white; border: none; padding: 0.6rem 1.5rem; 
    border-radius: 4px; cursor: pointer; font-weight: bold; transition: background 0.2s;
}
.search-form button:hover { background: #1a5276; }

/* Grids and Cards */
.grid { 
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; 
}
.list-item { 
    background: #fff; padding: 1rem; border-radius: 5px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); margin-bottom: 0.5rem;
}
.list-item a { font-weight: bold; font-size: 1.1rem; display: block;}
.card { 
    background: #fff; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); padding: 1.5rem; margin-bottom: 1.5rem; 
}
.card h3 { margin-top: 0; color: var(--accent); font-size: 1.4rem; margin-bottom: 0.5rem;}
.card p { margin: 0.5rem 0; }

.pagination { margin-top: 2rem; margin-bottom: 2rem; text-align: center; }
.pagination a { 
    padding: 0.5rem 1rem; background: var(--accent); color: #fff; text-decoration: none; border-radius: 4px; margin: 0 0.5rem; 
}
.pagination a:hover { text-decoration: none; background: #1a5276;}

/* Find this line and update the color from var(--accent) to var(--primary) */
.card h3 { margin-top: 0; color: var(--primary); font-size: 1.4rem; margin-bottom: 0.5rem;}

/* Add this to the bottom of your CSS file */
.footer {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
}
.footer a {
    color: #ecf0f1;
    margin: 0 10px;
    font-weight: normal;
}
.footer a:hover {
    color: #fff;
    text-decoration: underline;
}
.legal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
