/* ===== Header ===== */
header {
  background-color: #fff;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--color-border);
}

.header .logo img {
  max-height: 40px;
}

.nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  margin-left: 1rem;
}

.nav a {
  font-weight: 500;
  text-decoration: none;
  color: var(--color-text);
}

.nav a:hover {
  text-decoration: underline;
}

/* ===== Layout ===== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
}

/* ===== Cards ===== */
.card {
  display: block;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.card h3 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.25rem;
  color: var(--color-text);
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: #444;
}

/* ===== Text Blocks ===== */
.text {
  margin-bottom: 2rem;
}

.text p {
  margin: 0 0 1rem;
  text-indent: 2em;
}

.post-body p {
  margin: 0 0 1rem;
  text-indent: 0;
}

/* ===== Blog Grid ===== */
.bloglist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ===== Hero Image ===== */
.hero-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 0 0 8px 8px;
  display: block;
}

/* ===== Adaptogen Images ===== */
.adaptogen {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
}

.adaptogen-img {
  height: 180px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ===== Footer ===== */
.site-footer {
  background-color: #111;
  color: #eee;
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 960px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo img {
  max-height: 40px;
  filter: brightness(0) invert(1);
}

.footer-signup h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #eee;
}

.footer-signup form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-signup input {
  padding: 0.5rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
}

.footer-signup button {
  padding: 0.6rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}

.footer-signup button:hover {
  opacity: 0.9;
}

.footer-copy {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #aaa;
}

/* ===== Comments ===== */
.comments {
  margin-top: 2rem;
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.comment-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.95rem;
}

.comment-form button {
  align-self: flex-start;
  padding: 0.6rem 1.2rem;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.comment-form button:hover {
  opacity: 0.9;
}