* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9 url('/images/background-tighter.jpg') repeat;
    background-size: 50px 50px;
}

header {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav h1 {
    margin-bottom: 15px;
}

nav h1 a {
    color: #8b5cf6;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s;
}

nav a:hover {
    color: #8b5cf6;
}

main {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

h2 {
    color: #8b5cf6;
    margin-bottom: 20px;
}

h3 {
    color: #333;
    margin-top: 15px;
}

/* Filter */
.filter-container {
    margin: 30px 0;
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.filter-header label {
    font-weight: 600;
    color: #333;
}

.tag-filter {
    padding: 10px 15px;
    font-size: 1em;
    font-family: inherit;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s;
    min-width: 200px;
}

.tag-filter:hover {
    border-color: #8b5cf6;
}

.tag-filter:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Food Places List */
.food-places-list {
    margin: 30px 0;
}

.food-place {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #8b5cf6;
}

.food-place h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #8b5cf6;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.cuisine-tag {
    display: inline-block;
    background: #8b5cf6;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.food-place .location {
    margin: 8px 0;
    color: #666;
}

.food-place .description {
    margin: 12px 0;
}

.food-place a {
    color: #8b5cf6;
    text-decoration: none;
}

.food-place a:hover {
    text-decoration: underline;
}

/* Blog Posts */
.recent-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.recent-posts ul {
    list-style: none;
    margin: 20px 0;
}

.recent-posts li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.recent-posts li:last-child {
    border-bottom: none;
}

.recent-posts a {
    color: #333;
    text-decoration: none;
    flex: 1;
}

.recent-posts a:hover {
    color: #8b5cf6;
}

.recent-posts .date {
    color: #999;
    font-size: 0.9em;
    white-space: nowrap;
}

/* Blog List & Single Post */
.blog-list .posts {
    margin-top: 30px;
}

.post-preview {
    padding: 20px 0;
    border-bottom: 2px solid #eee;
}

.post-preview:last-child {
    border-bottom: none;
}

.post-preview h3 {
    margin-top: 0;
}

.post-preview h3 a {
    color: #333;
    text-decoration: none;
}

.post-preview h3 a:hover {
    color: #8b5cf6;
}

.post-meta {
    color: #999;
    font-size: 0.9em;
    margin: 8px 0;
}

.post .content {
    margin: 30px 0;
}

.post .content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.post footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

footer {
    text-align: center;
    color: #999;
    font-size: 0.9em;
    padding: 20px;
}

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .recent-posts li {
        flex-direction: column;
        align-items: flex-start;
    }
}
