/* Articles listing only; shared components and article pages are unchanged. */
.resources-page #articles .resources-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.resources-page #articles .resources-article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce4ea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(19, 43, 59, .06);
  color: #132b3b;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.resources-page #articles .resources-article-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eaf1f5;
}
.resources-page #articles .resources-article-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.resources-page #articles .resources-article-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}
.resources-page #articles .resources-article-meta {
  margin-bottom: 13px;
  padding: 5px 9px;
  border-radius: 6px;
  background: #edf3f7;
  color: #36536a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.resources-page #articles .resources-article-card :is(h2, h3, h4) {
  margin: 0 0 12px;
  color: #132b3b;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.resources-page #articles .article-collection { scroll-margin-top: 100px; }
.resources-page #articles .article-collection + .article-collection { margin-top: 72px; }
.resources-page #articles .article-collection-intro { max-width: 720px; margin: 16px auto 30px; color: #4b5d6b; text-align: center; font-size: 16px; line-height: 1.75; }
.resources-page #articles .home-services-library { margin-top: 56px; padding-top: 36px; border-top: 1px solid #cbd8e1; }
.resources-page #articles .home-services-library > :is(h2, h3) { margin: 0 0 12px; color: #132b3b; font-size: 27px; line-height: 1.25; }
.resources-page #articles .home-services-library > p { margin: 0 0 26px; color: #4b5d6b; line-height: 1.75; }
.resources-page #articles .trade-reading { margin-top: 32px; padding: 26px; border: 1px solid #dce4ea; border-radius: 16px; background: #fff; color: #405563; }
.resources-page #articles .trade-reading :is(h3, h4) { margin: 0 0 12px; color: #132b3b; font-size: 20px; }
.resources-page #articles .trade-reading p { line-height: 1.75; }
.resources-page #articles .trade-reading ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; padding: 0; list-style: none; }
.resources-page #articles .trade-reading a { display: inline-block; padding: 6px 0; color: #a73f07; text-decoration: underline; text-underline-offset: 3px; }
.resources-page #articles .trade-reading p a { display: inline; padding: 0; }
.resources-page #articles .trade-reading a:focus-visible { outline: 3px solid #b94708; outline-offset: 3px; }
.resources-page #articles .resources-article-card p {
  margin: 0 0 22px;
  color: #4b5d6b;
  font-size: 14px;
  line-height: 1.65;
}
.resources-page #articles .resources-article-link {
  margin-top: auto;
  color: #b94708;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.resources-page #articles .resources-article-card:hover {
  transform: translateY(-2px);
  border-color: #b9cbd8;
  box-shadow: 0 9px 24px rgba(19, 43, 59, .1);
}
.resources-page #articles .resources-article-card:focus-visible {
  outline: 3px solid #b94708;
  outline-offset: 4px;
}
.resources-page #articles .resources-article-card:is(:hover, :focus-visible) .resources-article-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 950px) {
  .resources-page #articles .resources-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resources-page #articles .trade-reading ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .resources-page #articles .resources-article-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .resources-page #articles .resources-article-body { padding: 20px; }
  .resources-page #articles .trade-reading ul { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .resources-page #articles .resources-article-card { transition: none; }
  .resources-page #articles .resources-article-card:hover { transform: none; }
}
.home-services-articles .hero h1 { max-width: none; font-size: clamp(34px, 4vw, 52px); }
.home-services-articles .collection-breadcrumb { margin-bottom: 20px; font-size: 13px; }
.home-services-articles .collection-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.home-services-articles .collection-hero-image { overflow: hidden; border: 1px solid #ffffff24; border-radius: 18px; }
.home-services-articles .collection-hero-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.home-services-articles #articles .home-services-library { margin-top: 0; padding-top: 0; border-top: 0; }
.home-services-articles #home-services-guides, .resources-page #articles a#home-services-guides { scroll-margin-top: 100px; }
.home-services-articles .hero a:focus-visible { outline: 3px solid #ffb66b; outline-offset: 4px; }
.articles-hero .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 40px; }
.articles-hero h1 { max-width: 17ch; }
.articles-hero-art { width: 100%; max-width: 520px; margin-inline: auto; pointer-events: none; }
.articles-hero-art img { display: block; width: 100%; height: auto; }
.resources-page .industry-collection-hero { padding: 48px 0; }
.industry-collection-hero h1 { max-width: none; font-size: clamp(32px, 4vw, 48px); }
.industry-collection-hero .collection-breadcrumb { margin-bottom: 20px; color: #d5e5ec; font-size: 13px; line-height: 1.7; }
.industry-collection-hero .collection-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.industry-collection-layout { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 44px; align-items: start; }
.resources-page #articles .industry-collection-layout .resources-article-grid { width: 100%; grid-template-columns: minmax(0, 1fr); }
.resources-page #articles .collection-reading-heading { margin: 0 0 20px; color: #132b3b; font-size: 24px; line-height: 1.3; }
.collection-general-reading { padding: 28px; border: 1px solid #dce4ea; border-radius: 18px; background: #fff; color: #405563; }
.collection-general-reading h2 { margin: 0 0 14px; color: #132b3b; font-size: 23px; line-height: 1.3; }
.collection-general-reading p { line-height: 1.8; }
.collection-general-reading ul { padding-left: 20px; }
.collection-general-reading a { display: inline-block; padding: 8px 0; color: #a73f07; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; }
.collection-general-reading .collection-broader-reading a { display: inline; padding: 0; }
.collection-general-reading .collection-return { font-weight: 650; }
.industry-articles a:focus-visible { outline: 3px solid #b94708; outline-offset: 4px; }
.industry-collection-hero a:focus-visible { outline-color: #ffb66b; }
@media (max-width: 800px) {
  .industry-collection-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .resources-page #articles .industry-collection-layout .resources-article-grid { max-width: 360px; }
  .resources-page .industry-collection-hero { padding: 36px 0 !important; }
}
@media (max-width: 900px) {
  .resources-page .articles-hero { padding: 56px 0 !important; }
  .articles-hero-art { max-width: 390px; }
}
@media (max-width: 480px) {
  .resources-page .articles-hero { padding: 48px 0 !important; }
  .articles-hero-art { max-width: 300px; }
}
