#g4 {
  --g4-accent: #a63714;
  --g4-warm: #fff0e8;
  padding: 67px 0 63px;
}
#g4 .chili-head { margin-bottom: 30px; }
#g4 .chili-head h2 { max-width: 1160px; }
#g4 .chili-head em { color: var(--g4-accent); }
#g4 .g4-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
#g4 .g4-tool {
  display: flex; flex-direction: column; min-width: 0;
  padding: 20px 21px 3px; background: var(--chili-paper);
  border: 1px solid var(--chili-line); border-radius: 20px;
  box-shadow: 0 10px 28px #20315809;
}
#g4 .g4-titlebar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 11px;
  align-items: center; margin-bottom: 12px;
}
#g4 .g4-titlebar h3 { font-size:1.6875rem; line-height:1.875rem; }
#g4 .g4-art {
  display: grid; place-items: center; width: 94px; height: 61px;
  background: #211d1e; border: 1px solid #423336; border-radius: 13px;
}
#g4 .g4-art img { width: 92px; height: auto; }
#g4 .g4-description {
  color: var(--chili-sub); margin-bottom: 14px;
  font-size:1.125rem; line-height:1.625rem;
}
#g4 .g4-details {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  width: 100%; min-height: 52px; margin-top: auto;
  border-top: 1px solid var(--chili-line);
  color: var(--chili-ink); font:600 1.0625rem/1.5rem var(--chili-body);
}
#g4 .g4-arrow {
  display: grid; place-items: center; flex: none; width: 28px; height: 28px;
  background: var(--g4-warm); color: var(--g4-accent); border-radius: 50%;
  font:600 1.125rem/1 var(--chili-body);
}
#g4 .g4-note {
  margin-top: 22px; padding: 2px 0 2px 12px; border-left: 2px solid #eaa88f;
  color: var(--chili-sub); font-size:1.0625rem; line-height:1.5rem;
}
#g4 .g4-note strong { color: var(--chili-ink); font-weight: 600; }
@media (min-width: 1001px) and (max-width: 1220px) {
  #g4 .g4-grid { gap: 16px; }
  #g4 .g4-tool { padding-inline: 16px; }
  #g4 .g4-titlebar h3 { font-size:1.5rem; line-height:1.6875rem; }
  #g4 .g4-art { width: 79px; height: 52px; }
  #g4 .g4-art img { width: 77px; }
}
@media (max-width: 1000px) {
  #g4 .g4-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  #g4 .g4-description { max-width: 670px; }
}
@media (max-width: 767px) {
  #g4 { padding: 49px 0 47px; }
  #g4 .chili-head { margin-bottom: 21px; }
  #g4 .g4-grid { gap: 11px; }
  #g4 .g4-tool { padding: 12px 15px 1px; }
  #g4 .g4-titlebar { gap: 8px; margin-bottom: 7px; }
  #g4 .g4-titlebar h3 { font-size:1.4375rem; line-height:1.5625rem; }
  #g4 .g4-art { width: 76px; height: 50px; border-radius: 11px; }
  #g4 .g4-art img { width: 74px; }
  #g4 .g4-description { margin-bottom: 9px; font-size:1rem; line-height:1.4375rem; }
  #g4 .g4-details { min-height: 48px; font-size:1rem; }
  #g4 .g4-arrow { width: 26px; height: 26px; }
  #g4 .g4-note { margin-top: 17px; padding-left: 10px; font-size:1rem; line-height:1.4375rem; }
}
