/* The Detailed Traveler — restored blog layout */
@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Open+Sans:wght@400;600;700&display=swap");

body.custom-background,
body {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #333;
  margin: 0;
  background: #e8eef2 url("https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80") center top / cover fixed;
}

#wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.12);
}

#header {
  text-align: center;
  padding: 2rem 1.5rem 1rem;
  border-bottom: 3px solid #2c7a9e;
}

#logo {
  max-width: 420px;
  width: 100%;
  height: auto;
}

.site-title-text {
  display: none;
  font-family: Lora, Georgia, serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: #1e3a4a;
}

#logo[src=""],
img#logo:not([src]) {
  display: none;
}

#logo:not([src]),
.site-brand:has(img[src=""]) .site-title-text {
  display: block;
}

body.custom-background {
  background-image: url("https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80") !important;
}

#primary-nav,
#secondary-nav {
  background: #1e3a4a;
  padding: 0.5rem 1rem;
}

#primary-navigation,
#secondary-navigation {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  justify-content: center;
}

#primary-navigation a,
#secondary-navigation a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

#primary-navigation a:hover,
#secondary-navigation a:hover {
  text-decoration: underline;
}

#secondary-nav .sub-menu {
  display: none;
}

#content {
  padding: 2rem 1.5rem 3rem;
}

.post,
article {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #dde4e8;
}

.post h2,
.post h2 a,
.entry-title a {
  font-family: Lora, Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #1e3a4a;
  text-decoration: none;
  line-height: 1.3;
}

.post h2 a:hover,
.entry-title a:hover {
  color: #2c7a9e;
}

.post img,
.entry-content img,
.wp-post-image {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1rem 0;
}

.postmeta,
.post-meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.entry-summary,
.entry-content {
  font-size: 1.05rem;
}

#footer {
  background: #1e3a4a;
  color: #ccc;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

#footer a {
  color: #fff;
}

.clear {
  clear: both;
}
