/* Small additive styles for the FME blog.
   This file is intentionally separate so the existing landing-page CSS stays untouched. */

.brand-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.blog-nav-link {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.86;
}

.blog-nav-link:hover,
.blog-nav-link:focus-visible {
  opacity: 1;
  text-decoration: underline;
}

.home-article-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;

  /* Equal breathing room between the intro copy and signup card */
  margin: 1.35rem 0;

  /* Slightly larger and more prominent */
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(127, 127, 127, 0.42);
  border-radius: 0.8rem;
  background: rgba(127, 127, 127, 0.10);

  color: inherit;
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;

  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.home-article-link:hover,
.home-article-link:focus-visible {
  border-color: rgba(127, 127, 127, 0.68);
  background: rgba(127, 127, 127, 0.17);
  transform: translateY(-1px);
}

.article-new {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.42rem;
  border-radius: 0.35rem;
  background: rgba(127, 127, 127, 0.16);

  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.blog-card,
.article-card {
  max-width: 880px;
}

.blog-intro {
  margin-bottom: 1.6rem;
}

.blog-list {
  display: grid;
  gap: 1rem;
}

.blog-entry {
  padding: 1rem 0;
  border-top: 1px solid rgba(127, 127, 127, 0.25);
}

.blog-entry:first-child {
  border-top: 0;
  padding-top: 0;
}

.blog-entry h2 {
  margin-bottom: 0.35rem;
}

.blog-entry a {
  color: inherit;
}

.article-card h1 {
  max-width: 18ch;
}

.article-card h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.7rem;
}

.article-card p,
.article-card li {
  line-height: 1.72;
}

.article-card ul {
  padding-left: 1.25rem;
}

.article-card li + li {
  margin-top: 0.3rem;
}

.article-lead {
  font-size: 1.12rem;
  line-height: 1.7;
}

.article-question {
  font-weight: 700;
}

.article-back {
  margin-bottom: 1rem;
}

.article-back a,
.blog-card a {
  color: inherit;
}

@media (max-width: 640px) {
  .brand-actions {
    gap: 0.55rem;
  }

  .blog-nav-link {
    font-size: 0.92rem;
  }

  .home-article-link {
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
    margin: 1.2rem 0;
    padding: 0.9rem 1rem;
    font-size: 1.03rem;
  }
}
