@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap");

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

body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.7;
  color: #384743;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Merriweather", serif;
  font-weight: 700;
  color: #242e2b;
}

a { color: #5b8cf1; text-decoration: none; }
a:hover { color: #3f6ecc; text-decoration: underline; }

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

/* Header */
.site-header {
  border-bottom: 1px solid #e8e8e8;
  padding: 0 2rem;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
.site-logo img {
  height: 85px;
  width: auto;
}
.site-nav {
  display: flex;
  gap: 2rem;
}
.site-nav a {
  color: #5b8cf1;
  font-size: 20px;
  font-family: Georgia, serif;
  font-weight: 400;
}
.site-nav a:hover, .site-nav a.active {
  color: #3f6ecc;
  text-decoration: none;
}

/* Main content */
.site-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* Page / home */
.page-content {
  max-width: 760px;
  margin: 0 auto;
}
.page-content h1 { margin-bottom: 1.5rem; }
.page-content h2, .page-content h3 { margin: 1.5rem 0 0.5rem; }
.page-content p { margin-bottom: 1rem; }
.page-content ul, .page-content ol { margin: 0.5rem 0 1rem 1.5rem; }
.page-content li { margin-bottom: 0.25rem; }

/* Figures */
.site-figure {
  margin: 1.5rem 0;
  text-align: center;
}
.site-figure img {
  margin: 0 auto;
}

/* Tags */
.tag {
  display: inline-block;
  font-size: 0.8rem;
  color: #666;
  background: #f0f0f0;
  border-radius: 3px;
  padding: 0.1rem 0.4rem;
  margin-right: 0.25rem;
}

/* Maps link */
.maps-link img {
  width: 24px;
  height: 24px;
  display: inline-block;
}

/* Single place page */
.place-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

/* Passear layout */
.passear-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}

/* Filters sidebar */
.filters-sidebar {
  position: sticky;
  top: 1rem;
}
.filters-sidebar h2 {
  font-size: 1.17em;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #444;
}
.tag-filters {
  list-style: none;
}
.tag-filters li {
  margin-bottom: 0.4rem;
}
.tag-filters label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: #333;
}
.tag-filters input[type="checkbox"] {
  cursor: pointer;
}

/* Places list */
.places-main h1 {
  margin-bottom: 0.25rem;
}
.results-count {
  color: #888;
  font-size: 0.9rem;
  text-align: right;
  margin-bottom: 1rem;
}

.place-item {
  border-bottom: 1px solid #eee;
  padding: 1.5rem 0;
}
.place-item:last-child {
  border-bottom: none;
}
.place-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.place-item-header h2 {
  margin: 0;
}
.place-item-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: 1rem;
}
.place-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.place-item-content p { margin-bottom: 0.75rem; }
.place-item-content img { margin: 1rem auto; }

/* Footer */
.site-footer {
  border-top: 1px solid #e8e8e8;
  text-align: center;
  padding: 1.5rem;
  color: #888;
  font-size: 0.9rem;
  margin-top: 3rem;
}

/* Responsive */
@media (max-width: 700px) {
  .passear-layout {
    grid-template-columns: 1fr;
  }
  .filters-sidebar {
    position: static;
  }
  .site-nav { gap: 1rem; }
}
