/* docs/styles.css */

/* Base Reset */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  background: #0c0c0c;
  color: #f0f0f0;
  line-height: 1.5;
}

/* Container */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

/* Headings */
h1, h2, h3 {
  font-family: "Cinzel Decorative", serif;
  font-weight: 700;
  color: #f2c14e;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 6px rgba(242,193,78,0.3);
}

/* Event group headings */
h2 {
  border-bottom: 1px solid #333;
  padding-bottom: .25rem;
}

/* Event Cards */
article {
  padding: 1rem 0;
  border-bottom: 1px dashed #444;
  transition: background .2s ease;
}
article:hover {
  background: rgba(255,255,255,0.04);
}

/* Event title links */
article a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border .2s ease;
}
article a:hover {
  border-bottom: 1px solid #f2c14e;
  color: #f2c14e;
}

/* Metadata (date/place/source) */
article div {
  margin: .2rem 0;
}

/* Controls Bar */
div#controls, 
div[style*="margin: 1rem auto"] {
  max-width: 900px;
  margin: 1rem auto;
  display: flex;
  gap: .5rem;
  align-items: center;
  justify-content: space-between;
}

/* Input + button styling */
input[type="search"] {
  flex: 1;
  padding: .6rem .8rem;
  border-radius: 8px;
  border: 1px solid #333;
  background: #111;
  color: #eee;
}
input[type="search"]:focus {
  outline: none;
  border-color: #f2c14e;
}

button {
  padding: .6rem .9rem;
  border-radius: 8px;
  border: 1px solid #333;
  background: #222;
  color: #eee;
  cursor: pointer;
  transition: background .2s ease, border .2s ease;
}
button:hover {
  background: #333;
  border-color: #f2c14e;
}
