/* Black, white and red palette for the homepage practice and case sections. */
.page-index #practice {
  color: #202020;
  background: #fff;
  border-top: 1px solid #e3e3e3;
}
.page-index #practice h2,
.page-index #practice .practice-item h3 { color: #202020; }
.page-index #practice .practice-item { border-color: #dedede; }
.page-index #practice .practice-number { color: #c62828; }
.page-index #practice .circle-arrow { color: #202020; border-color: #aaa; }
.page-index #practice .practice-item:is(:hover, :focus-visible) { background: #f5f5f5; border-color: #c62828; }
.page-index #practice .practice-item:is(:hover, :focus-visible) h3 { color: #202020; }
.page-index #practice .practice-item:is(:hover, :focus-visible) .practice-number { color: #c62828; }
.page-index #practice .practice-item:is(:hover, :focus-visible) .circle-arrow { color: #fff; background: #c62828; border-color: #c62828; }
.page-index #practice .practice-item:focus-visible { outline: 2px solid #c62828; outline-offset: 4px; }

.page-index #cases.home-case-grid {
  color: #202020;
  background: #eee;
  border-top: 1px solid #e3e3e3;
}
.page-index #practice + #cases.home-case-grid { border-top-color: #e3e3e3; }
.page-index #cases .home-cases-heading h2 { color: #202020; }
.page-index #cases .home-cases-more { color: #666; }
.page-index #cases .home-cases-more:hover { color: #c62828; }
.page-index #cases .case-result-card { background: #fff; border-color: #e3e3e3; color: #202020; }
.page-index #cases .case-result-meta { color: #707070; }
.page-index #cases :is(.case-category-icon, .case-result-arrow) { color: #c62828; }
.page-index #cases .case-result-card h3 { color: #c62828; }
.page-index #cases .case-result-card strong { color: #202020; }
.page-index #cases .case-result-card .case-description { color: #707070; }
.page-index #cases .case-result-card:is(:hover, :focus-visible) { background: #c62828; border-color: #c62828; }
.page-index #cases .case-result-card:is(:hover, :focus-visible) :is(h3, strong) { color: #fff; }
.page-index #cases .case-result-card:is(:hover, :focus-visible) :is(.case-description, .case-result-meta, .case-category-icon, .case-result-arrow) { color: #fff; }
.page-index #cases .case-result-card:focus-visible { outline: 2px solid #c62828; outline-offset: 4px; }

/* Topic keywords on the homepage practice list. */
.page-index #practice .practice-item h3 { flex: 0 0 34%; }
.page-index #practice .practice-keywords { flex: 1 1 0; min-width: 0; color: #666; font-size: 14px; line-height: 1.65; }
@media (max-width: 767px) {
  .page-index #practice .practice-item { display: grid; grid-template-columns: 38px minmax(0, 1fr) 35px; row-gap: 8px; }
  .page-index #practice .practice-number { grid-column: 1; grid-row: 1; }
  .page-index #practice .practice-item h3 { grid-column: 2; grid-row: 1; }
  .page-index #practice .practice-keywords { grid-column: 2 / 4; grid-row: 2; font-size: 12px; line-height: 1.65; padding-right: 52px; }
  .page-index #practice .circle-arrow { grid-column: 3; grid-row: 1; margin-left: 0; }
}
/* Match the international center's homepage practice-list width. */
.page-index #practice .home-practice-inner { width: min(1331px, calc(100% - 52px)) !important; }
@media (max-width: 767px) {
  .page-index #practice .home-practice-inner { width: calc(100% - 48px) !important; }
}
@media (max-width: 420px) {
  .page-index #practice .home-practice-inner { width: calc(100% - 40px) !important; }
}
