/* Hand-maintained site tweaks.
   Kept separate from site-generated-styles.css (which mirrors WordPress's
   auto-generated block styles) so future exports from WordPress won't
   overwrite these manual adjustments. */

/* Make all images scale down on smaller screens instead of overflowing. */
img {
  max-width: 100%;
  height: auto;
}

/* Homepage blog preview cards */
.wwttg-blog-section {
  margin: 2.5rem 0 0;
  padding: 1.75rem 1.25rem 0;
}

.wwttg-blog-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.wwttg-blog-eyebrow {
  margin: 0 0 0.4rem;
  color: #5a00ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wwttg-blog-header h3 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

.wwttg-blog-header p {
  margin: 0 auto;
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.6;
}

.wwttg-blog-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wwttg-blog-card {
  background: #ffffff;
  border: 1px solid rgba(90, 0, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  padding: 1.25rem;
}

.wwttg-blog-card-meta {
  margin: 0 0 0.5rem;
  color: #5a00ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wwttg-blog-card h4 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.wwttg-blog-card p {
  margin: 0 0 0.9rem;
  line-height: 1.6;
}

.wwttg-blog-card a {
  color: #5a00ff;
  font-weight: 700;
  text-decoration: none;
}

.wwttg-blog-card a:hover,
.wwttg-blog-card a:focus-visible {
  text-decoration: underline;
}
