/* sopp-haiku.css — Four Medicinal Mushrooms Page Styling */

/* Hero section title styling */
.hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  color: #f5ede4;
  margin-bottom: 1rem;
  font-family: var(--font-serif, 'New Spirit', serif);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #f5ede4;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro paragraph styling */
.intro-lede {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-color, #3d2817);
  margin: 2rem 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-serif, 'New Spirit', serif);
  font-style: italic;
}

/* Grid for four mushroom cards */
.mushroom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  padding: 0 1rem;
}

.mushroom-card {
  background-color: #f5ede4;
  padding: 1.5rem;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e8dccf;
}

.mushroom-image {
  margin-bottom: 1.5rem;
  border-radius: 3px;
  overflow: hidden;
}

.mushroom-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.mushroom-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3d2817;
  margin: 0 0 0.5rem 0;
  font-family: var(--font-serif, 'New Spirit', serif);
}

.mushroom-latin {
  color: #8b7355;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.mushroom-card :is(p, h1, h2, h3, h4, li, blockquote, figcaption, a) {
  color: inherit;
}

.mushroom-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #3d2817;
  margin-bottom: 1rem;
}

.qualities-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #3d2817;
  margin: 1rem 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-sans, 'Roca', sans-serif);
}

.mushroom-card .wp-block-list {
  margin: 0.5rem 0 0 1.5rem;
  padding: 0;
}

.mushroom-card .wp-block-list li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #3d2817;
  margin-bottom: 0.5rem;
}

/* Section heading */
.section-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #3d2817;
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-family: var(--font-serif, 'New Spirit', serif);
  text-align: center;
}

/* Comparison table styling */
.mushroom-comparison {
  margin: 2rem auto;
  overflow-x: auto;
}

.mushroom-comparison table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.mushroom-comparison thead {
  background-color: #3d2817;
  color: #f5ede4;
}

.mushroom-comparison th {
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  border: 1px solid #8b7355;
  font-family: var(--font-sans, 'Roca', sans-serif);
}

.mushroom-comparison td {
  padding: 0.85rem 1rem;
  border: 1px solid #d4c4b0;
  color: #3d2817;
}

.mushroom-comparison tbody tr:nth-child(odd) {
  background-color: #faf6f0;
}

.mushroom-comparison tbody tr:hover {
  background-color: #f0e4d4;
}

/* Brewing ritual section */
.brewing-ritual {
  background-color: #f5ede4;
  padding: 2.5rem 2rem;
  margin: 3rem 0;
  border-left: 4px solid #8b7355;
}

.brewing-ritual :is(p, h1, h2, h3, h4, li, blockquote, figcaption, a) {
  color: inherit;
}

.ritual-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: #3d2817;
  margin-bottom: 1rem;
  font-family: var(--font-serif, 'New Spirit', serif);
}

.ritual-intro {
  font-size: 1rem;
  color: #3d2817;
  margin-bottom: 1.5rem;
  font-style: italic;
  opacity: 0.9;
}

.ritual-steps {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.ritual-steps li {
  margin-bottom: 1rem;
  color: #3d2817;
  line-height: 1.6;
}

.ritual-note {
  font-size: 0.9rem;
  color: #8b7355;
  margin-top: 1.5rem;
  font-style: italic;
  padding-top: 1rem;
  border-top: 1px solid #e8dccf;
}

/* CTA button styling */
.wp-block-buttons {
  justify-content: center;
  margin: 2rem 0;
}

.wp-block-button__link {
  background-color: #3d2817;
  color: #f5ede4;
  padding: 0.875rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  font-family: var(--font-sans, 'Roca', sans-serif);
  letter-spacing: 0.5px;
}

.wp-block-button__link:hover {
  background-color: #2a1d10;
  color: #f5ede4;
}

/* Footnote / human review note */
.footnote-review {
  font-size: 0.85rem;
  color: #8b7355;
  background-color: #faf6f0;
  padding: 1rem;
  border-radius: 3px;
  margin-top: 2rem;
  line-height: 1.6;
  border-left: 3px solid #d4a574;
}

.footnote-review strong {
  color: #3d2817;
}

.footnote-review :is(p, h1, h2, h3, h4, li, blockquote, figcaption, a) {
  color: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.875rem;
  }

  .mushroom-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-heading {
    font-size: 1.5rem;
  }

  .mushroom-comparison {
    font-size: 0.8rem;
  }

  .mushroom-comparison th,
  .mushroom-comparison td {
    padding: 0.6rem 0.75rem;
  }
}
