/* Basic reset-ish */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: #111;
  color: #eee;
}

/* Centered page with nice buffer */
.page {
  display: flex;
  justify-content: center;
  padding: 1.5rem 1rem 3rem;
}

.page-inner {
  width: 100%;
  max-width: 800px;
}

/* Header */
.site-header {
  border-bottom: 1px solid #333;
  text-align: center;
  padding: 1.5rem 1rem 0.75rem;
}

.site-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.site-title {
  margin: 0;
  font-size: 2.5rem;
}

.site-title a {
  text-decoration: none;
  color: #fff;
}

.site-tagline {
  margin: 0.25rem 0 0;
  font-size:1.2rem;
  opacity: 0.9;
}

.site-subtagline {
  margin: 0.15rem 0 0.75rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Nav */
.site-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  font-size: 1rem;
  list-style: none;
  border-top: 1px solid #333;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.site-nav a {
  text-decoration: none;
  color: #ccc;
  padding: 0.4rem 0.8rem;   /* gives the hover box some shape */
  border-radius: 4px;
  display: inline-block;    /* makes background fill only around the text */
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  text-decoration: underline;
  background: rgba(255,255,255,0.8);
  color: #000;
}

/* Typography */
h2 {
	text-align: center;
}

h2, h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
}

p {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Global link color (non-nav) */
a {
  color: orange;
}

a:hover {
  color: #ffb566; /* optional lighter hover shade */
}


/* Posts */
.post-header h2 {
  margin-bottom: 0.2rem;
}

.post-meta {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

.post-list {
  list-style: none;
  padding-left: 0;
}

.post-list li {
  margin-bottom: 0.6rem;
}

.post-date {
  font-size: 0.85rem;
  opacity: 0.7;
  display: inline-block;
  width: 13ch;
}

.post-summary {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 0.2rem;
}

.post-tags {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 0.15rem;
}

.post-tags a {
  text-decoration: none;
}

.post-tags a:hover {
  text-decoration: underline;
}

.tag-list {
  list-style: none;
  padding-left: 0;
}

.tag-list li {
  margin-bottom: 0.3rem;
}

/* Welcome */

.center {
	text-align: center;
	justify-content: center;
}

/* Figures */
figure {
  margin: 1.2rem 0;
}

figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

figcaption {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 0.25rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid #333;
  text-align: center;
  padding: 1rem 1rem 1.5rem;
}

.site-footer-inner {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.85rem;
  opacity: 0.75;
}

.footer svg,
.site-footer svg {
  width: 20px;
  height: 20px;
  fill: #ff9900;    /* your link color */
  vertical-align: middle;
}

.site-footer a{
	text-decoration: none;
}

.footer a:hover svg {
  fill: #ffa733;    /* optional hover */
}

.newsletter-icon svg {
  width: 20px;
  height: 20px;
  fill: #ff9900;
  stroke: #ff9900;
}

.newsletter-icon:hover svg {
  fill: #ffa733;
  stroke: #ffa733;
}
