/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Crimson+Pro:wght@400;600&display=swap');

body {
  background-image: url('../images/velvet-bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: repeat;
  color: #C0C0C0;
  font-family: 'Crimson Pro', Georgia, serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

a {
  color: #C0C0C0;
  text-decoration: none;
  border-bottom: 1px dotted #C0C0C0;
}

a:hover {
  color: #7C1E33;
  border-bottom: 1px solid #7C1E33;
}

header {
  background-color: #5D3A9B;
  padding: 1rem;
  text-align: center;
  text-shadow: 1px 1px 2px #1A1A1A;
}

header h1 {
  font-family: 'Cinzel Decorative', 'Georgia', serif;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px #1A1A1A;
}

header h1 a {
  border-bottom: none;
  color: inherit;
}

main h1, main h2, main h3 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  text-shadow: none;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav li a {
  color: #ffffff;
  font-weight: bold;
  position: relative;
  border-bottom: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav li a.active {
  color: #C0C0C0;
  text-shadow:
    0 0 5px #5D3A9B,   /* purple glow */
    0 0 10px #C0C0C0;  /* silver outer glow */
}

nav li a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: -2px;
  background-color: #C0C0C0; /* Silver underline */
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

nav li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

main {
  max-width: 750px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #2A2A2A;
  border: 2px solid #C0C0C0; /* silver border */
  border-radius: 12px;
  box-shadow:
    0 0 10px rgba(192, 192, 192, 0.3),
    inset 0 0 5px rgba(255, 255, 255, 0.05);
}

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

/* Koenig editor image width options.
   The site uses a boxed card layout rather than full-bleed sections,
   so "wide" and "full" both fill the available width of the content box. */
.kg-width-wide img,
.kg-width-full img {
  width: 100%;
  height: auto;
}

/* Post & page content images pasted via Ghost editor */
main figure {
  margin: 0 0 1.5rem;
  text-align: center;
}

main figcaption {
  font-size: 0.85rem;
  color: #999;
}

/* Blog / post list */
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  padding: 1rem 0;
  border-bottom: 1px solid #444;
}

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

.post-list li a {
  font-size: 1.2rem;
  font-weight: 600;
  border-bottom: none;
}

.post-list li a:hover {
  color: #7C1E33;
}

.post-meta {
  font-size: 0.85rem;
  color: #999;
  margin: 0.25rem 0 0.5rem;
}

blockquote {
  border-left: 3px solid #5D3A9B;
  margin: 1rem 0;
  padding-left: 1rem;
  color: #C0C0C0;
  font-style: italic;
}

footer {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 3rem;
  background-color: #1A1A1A;
  padding: 1.5rem;
  border-top: 1px solid #444;
  color: #777;
  position: relative;
}

footer .goblin-totals {
  margin-bottom: 0.75rem;
}

footer .goblin-totals ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

footer .goblin-totals li {
  display: inline-block;
  font-size: 1rem;
  color: #bfbfbf;
}
