/* Company-home media directory: normal document flow, never a floating panel. */
.cguide-home {
  padding: clamp(48px, 6vw, 88px) 0;
  border-bottom: 1px solid #ded7cd;
  background: #f7f3ed;
  color: #29231e;
}
.cguide-home, .cguide-home * { box-sizing: border-box; }
.cguide-home .cguide-home-shell {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.cguide-home :where(h2, h3, p) { margin: 0; overflow-wrap: anywhere; word-break: normal; }
.cguide-home .cguide-home-kicker {
  margin-bottom: 14px;
  color: #a43d25;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.cguide-home h2 { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.5; text-wrap: balance; }
.cguide-home .cguide-home-intro > p:not(.cguide-home-kicker) {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.9;
  color: #665c53;
}
.cguide-home .cguide-home-index {
  display: inline-block;
  margin-top: 24px;
  color: #a43d25;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.cguide-home .cguide-home-articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cguide-home .cguide-home-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  padding: 26px;
  border: 1px solid #ded7cd;
  border-radius: 4px;
  background: #fff;
  color: #29231e;
  text-decoration: none;
}
.cguide-home .cguide-home-category { font-size: 11px; font-weight: 700; color: #665c53; letter-spacing: .04em; }
.cguide-home h3 { font-size: 20px; line-height: 1.6; text-wrap: balance; }
.cguide-home .cguide-home-card p { font-size: 14px; line-height: 1.85; color: #665c53; }
.cguide-home .cguide-home-more { margin-top: auto; padding-top: 6px; color: #a43d25; font-size: 14px; font-weight: 700; }
.cguide-home .cguide-home-card:hover { border-color: #a43d25; }
.cguide-home a:focus-visible { outline: 3px solid #a43d25; outline-offset: 5px; }
/* Match the theme's hidden-background behavior when its mobile menu is open. */
html:has(.mobile-nav:not([hidden])) .cguide-home { visibility: hidden; }
@media (max-width: 900px) {
  .cguide-home .cguide-home-shell { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cguide-home .cguide-home-shell { width: calc(100% - 32px); }
  .cguide-home .cguide-home-articles { grid-template-columns: 1fr; }
  .cguide-home .cguide-home-card { padding: 22px; }
}
