/* Native article archive; loaded only on insights, blog, and archive routes. */
.ryan-articles-page {
  --articles-paper: #e8dfd0;
  --articles-brand: #5c1f2e;
  --articles-accent: #c1571e;
  --articles-ink: #33373d;
  --articles-card: #fff;
  color: var(--articles-ink);
}
.articles-container {
  width: calc(100% - 60px);
  max-width: 1205px;
  margin-inline: auto;
}
.articles-hero {
  padding: 83px 0 77px;
  background: var(--articles-paper);
  border-radius: 24px 24px 0 0;
}
.articles-hero__title {
  max-width: 730px;
  margin: 26px 0 0;
  color: var(--articles-brand);
  font-size: 52px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.5px;
  text-wrap: initial;
}
.articles-hero__accent { color: var(--articles-accent); }
.articles-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid rgba(92, 31, 46, .12);
  border-radius: 999px;
  color: var(--articles-brand);
  background: rgba(255, 255, 255, .22);
  font-size: 11px;
  font-weight: 500;
  line-height: 19.8px;
  letter-spacing: -.2px;
}
.articles-listing {
  padding: 0 0 72px;
  background: var(--articles-paper);
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.articles-grid__item { min-width: 0; }
.article-card {
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: var(--articles-card);
  transition: background-color .22s ease, transform .22s ease;
}
.article-card:hover { background: #fcfaf6; transform: translateY(-2px); }
.article-card__link {
  display: flex;
  height: 100%;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 20px;
  color: inherit;
  text-decoration: none;
}
.article-card__link:focus-visible,
.articles-service-card:focus-visible,
.articles-contact-cta a:focus-visible,
.articles-pagination a:focus-visible {
  outline: 3px solid var(--articles-accent);
  outline-offset: 4px;
}
.article-card__content { display: flex; flex-direction: column; gap: 10px; }
.article-card__media {
  position: relative;
  display: block;
  width: 100%;
  min-height: 290px;
  aspect-ratio: 1.2;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 16px;
  background: var(--articles-paper);
}
.article-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.article-card:hover .article-card__image { transform: scale(1.025); }
.article-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(92, 31, 46, .55);
  background: linear-gradient(135deg, #eee4d4, #f8f5ee);
}
.article-card__placeholder svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}
.article-card__body {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
}
.article-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 5px 0 -2px;
  color: var(--articles-brand);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}
.article-card__category,
.article-card__date { display: block; }
.article-card__date { flex: 0 0 auto; white-space: nowrap; }
.article-card__title {
  display: block;
  margin: 0;
  padding-inline-start: 20px;
  color: var(--articles-brand);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  text-wrap: pretty;
}
.article-card__footer {
  display: grid;
  width: 53px;
  height: 53px;
  flex: 0 0 auto;
  place-items: center;
  align-self: flex-end;
  border-radius: 50%;
  color: var(--articles-brand);
  background: rgba(92, 31, 46, .06);
  transition: color .2s ease, background-color .2s ease;
}
.article-card__footer svg {
  display: block;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.article-card:hover .article-card__footer { color: #fff; background: var(--articles-brand); }
.articles-pagination { display: flex; justify-content: center; margin-block-start: 40px; }
.articles-pagination ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.articles-pagination a,
.articles-pagination span {
  display: inline-grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(92, 31, 46, .18);
  border-radius: 50px;
  color: var(--articles-brand);
  background: #fff;
  font-size: 14px;
  text-decoration: none;
}
.articles-pagination .current { color: #fff; background: var(--articles-brand); }
.articles-empty {
  margin: 0;
  padding: 48px 24px;
  border-radius: 20px;
  background: #fff;
  text-align: center;
}
.articles-related {
  padding: 76px 0 64px;
  background: #fff;
}
.articles-related__header { max-width: 780px; margin: 0 auto 32px; text-align: center; }
.articles-related__header h2 {
  margin: 14px 0 10px;
  color: var(--articles-brand);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.35;
}
.articles-related__header > p:last-child {
  margin: 0;
  color: var(--articles-ink);
  font-size: 16px;
  line-height: 1.7;
}
.articles-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.articles-service-card {
  display: flex;
  min-height: 126px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 20px;
  border: 1px solid rgba(92, 31, 46, .1);
  border-radius: 18px;
  color: var(--articles-ink);
  background: #fcfaf6;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.articles-service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 31, 46, .26);
  background: #fff;
}
.articles-service-card__copy { display: flex; flex-direction: column; gap: 8px; }
.articles-service-card__copy strong { color: var(--articles-brand); font-size: 16px; font-weight: 500; line-height: 1.5; }
.articles-service-card__copy > span { color: var(--articles-ink); font-size: 13px; line-height: 1.65; }
.articles-service-card__arrow {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  margin-block-start: 2px;
  fill: none;
  stroke: var(--articles-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.articles-contact-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-block-start: 32px;
  padding: 22px 24px;
  border-radius: 18px;
  color: #fff;
  background: var(--articles-brand);
  text-align: center;
}
.articles-contact-cta p { margin: 0; font-size: 15px; line-height: 1.6; }
.articles-contact-cta__faq { color: #f0d49b; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.articles-contact-cta__button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  color: var(--articles-brand);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}
.articles-contact-cta__button:hover { transform: translateY(-1px); background: #f3e4c6; }
@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .articles-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .articles-container { width: calc(100% - 40px); }
  .articles-hero { padding: 42px 0 30px; border-radius: 20px 20px 0 0; }
  .articles-hero__title { max-width: 100%; margin-block-start: 12px; font-size: clamp(30px, 8vw, 36px); line-height: 1.25; letter-spacing: -.025em; }
  .articles-listing { padding-block-end: 48px; }
  .articles-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .article-card__link { gap: 24px; padding: 16px; }
  .article-card__media { aspect-ratio: 1.2; }
  .article-card__meta { font-size: 11px; }
  .article-card__title { padding-inline-start: 12px; font-size: 20px; line-height: 1.4; }
  .articles-related { padding: 56px 0 44px; }
  .articles-related__header { margin-block-end: 24px; }
  .articles-related__header h2 { font-size: 25px; }
  .articles-related__header > p:last-child { font-size: 14px; }
  .articles-services-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .articles-service-card { min-height: auto; padding: 18px; }
  .articles-contact-cta { align-items: stretch; flex-direction: column; gap: 12px; margin-block-start: 24px; padding: 20px; }
  .articles-contact-cta__button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .article-card, .article-card__image, .articles-service-card, .articles-contact-cta__button { transition-duration: .01ms; }
}
