/* LAYOUT */

/* Page title font weight */
h1, h2 {
  font-weight: 300;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

header {
  max-width: 100%;
  padding: .5rem 2rem;
}

.site-header {
  max-width: 100%;
  padding: 0rem 1rem;
  box-sizing: border-box;
  overflow: visible;
}

body {
  color: #333;
  font-size: 125%;
  line-height: 1.5;
  max-width: 45rem;
  padding: 1rem;
  margin: 0 auto;
}

/* General link colors -- warm golden-brown, site-wide (matches nav) */
a {
  color: #C08A3E;
  text-decoration: underline;
}

a:visited {
  color: #96652A;
}

a:hover {
  color: #6B4423;
  text-decoration: none;
}

.post-title {
  margin-bottom: 1rem;
}

.post-date {
  display: block;
  margin-bottom: 2rem;
  font-style: italic;
}

.content {
  margin-bottom: 2rem;
}

img {
  max-width: 100%;
}

/* NAVIGATION */

.site-nav {
  display: flex;
  padding-bottom: 0.5rem;
}

.site-nav a {
  display: block;
  padding: .5rem .66rem;
  letter-spacing: 0.05em;
  color: #C08A3E;
  text-decoration: none;
}

.site-nav a:visited {
  color: #96652A;
}

.site-nav a:hover {
  color: #6B4423;
}

.site-nav .logo {
  font-weight: bold;
  padding-left: 0;
}

.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Dropdown Menu Styles */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li {
  display: block;
  width: 100%;
}

.dropdown a {
  display: block;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.dropdown a:hover {
  background-color: #f8f9fa;
  color: #2c3e50;
}

.dropdown li:last-child a {
  border-bottom: none;
}

@media screen and (max-width: 48rem) {
  .site-nav,
  .main-menu {
    flex-direction: column;
  }

  .site-nav a {
    padding: 0.5rem;
    padding-left: 0;
  }
}

/* LISTS */

.post-snippet {
  margin-bottom: 1rem;
}

.post-snippet h3 {
  margin-bottom: 0.25rem;
}
