/* SAMPRO blog / resource center */

.blog-hero {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.58) 0%, rgba(45, 79, 29, 0.78) 100%),
              url('../images/banners/workwears.webp');
  background-size: cover;
  background-position: center;
  min-height: 240px;
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.blog-hero__eyebrow,
.blog-article__eyebrow {
  font-family: var(--font-topbar, sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.85rem;
}

.blog-hero__title {
  color: #fff;
  font-family: var(--font-heading, sans-serif);
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 auto;
  max-width: 22ch;
}

.blog-hero__lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.85vw, 1.08rem);
  max-width: 36rem;
  margin: 1rem auto 0;
  line-height: 1.65;
}

.blog-breadcrumb .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(0, 0, 0, 0.35);
  font-size: 0.88rem;
}

.blog-breadcrumb--light .breadcrumb-item,
.blog-breadcrumb--light .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85);
}

.blog-breadcrumb--light .breadcrumb-item.active {
  color: #fff;
}

.blog-breadcrumb--light .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.45);
}

.blog-card {
  border: 1px solid rgba(45, 79, 29, 0.12);
  background: #fff;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  height: 100%;
}

a.blog-card:hover,
a.blog-card:focus {
  color: inherit;
  text-decoration: none;
  border-color: #2d4f1d;
}

a.blog-card:hover .blog-card__title,
a.blog-card:focus .blog-card__title,
a.blog-card:hover .blog-card__more,
a.blog-card:focus .blog-card__more {
  color: #2d4f1d;
}

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

.blog-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e8ebe4;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.78rem;
  color: #5c6758;
  margin-bottom: 0.55rem;
}

.blog-card__cat {
  color: #2d4f1d;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-card__title {
  display: block;
  font-family: var(--font-heading, sans-serif);
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0 0 0.65rem;
}

.blog-card__excerpt {
  display: block;
  color: #4a5246;
  font-size: 0.94rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.blog-card__more {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #2d4f1d;
  text-decoration: none;
}

.blog-card__more:hover {
  text-decoration: underline;
}

.blog-article {
  width: 100%;
  max-width: 100%;
  display: block;
}

.blog-article__hero {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: #111;
  overflow: hidden;
}

.blog-article__hero img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.blog-article__eyebrow--dark {
  color: #2d4f1d;
  margin-top: 0;
}

.blog-article__title {
  font-family: var(--font-heading, sans-serif);
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  line-height: 1.2;
  max-width: 28ch;
  margin: 0;
  color: #1f2e18;
}

.blog-article__meta {
  margin-top: 0.85rem;
  margin-bottom: 1.75rem;
  color: #5c6758;
  font-size: 0.95rem;
}

.blog-article__content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #222;
}

.blog-article__content img {
  max-width: 100%;
  height: auto;
}

.blog-article__content h2 {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.45rem;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  color: #1f2e18;
}

.blog-article__content p,
.blog-article__content ul,
.blog-article__content ol {
  margin-bottom: 1.1rem;
}

.blog-article__content a {
  color: #2d4f1d;
  font-weight: 600;
}

.blog-article__content .blog-cta {
  margin-top: 2rem;
}

.blog-related {
  border-top: 1px solid rgba(45, 79, 29, 0.15);
}

.blog-related__link {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(45, 79, 29, 0.12);
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: border-color 0.15s ease;
}

.blog-related__link:hover {
  border-color: #2d4f1d;
}

.blog-related__cat {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2d4f1d;
  margin-bottom: 0.4rem;
}

.blog-related__title {
  display: block;
  font-family: var(--font-heading, sans-serif);
  font-size: 1.05rem;
  line-height: 1.35;
}

.blog-divisions {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(45, 79, 29, 0.12);
}
