.home-model-directory {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(14px, 3vw, 28px);
  border: 1px solid #c6ded0;
  border-radius: 6px;
  background: #eef6ef;
  color: #174d35;
}
.home-model-directory:hover { background: #e0efe3; }
.home-model-directory > .icon { margin-left: auto; width: 24px; height: 24px; }
.home-model-icon {
  display: grid;
  flex: 0 0 46px;
  height: 46px;
  place-items: center;
  border-radius: 6px;
  background: #227347;
  color: white;
}
.home-model-icon .icon { width: 25px; height: 25px; }
.home-model-label { display: grid; gap: 4px; }
.home-model-label strong { font-size: clamp(18px, 3.5vw, 22px); }
.home-model-label small { font-size: 13px; color: #466451; }
html[data-ad-preview-ready="true"] .home-model-directory { display: none; }

.model-directory { padding-bottom: 28px; }
.model-directory > .back + .page-head { padding-top: 0; }
.model-directory-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.model-directory-tabs { display: flex; gap: 6px; padding: 4px; border-radius: 6px; background: #f0f4f0; }
.model-directory-tabs a { padding: 10px 18px; border-radius: 4px; font-weight: 700; }
.model-directory-tabs a[aria-current="page"] { background: #174d35; color: white; }
.model-directory-total { display: inline-flex; align-items: center; gap: 6px; color: #174d35; font-weight: 700; }
.model-directory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr)); gap: 12px; align-items: start; }
.model-directory-column { overflow: hidden; min-width: 0; border: 1px solid #dbe5dc; border-radius: 6px; background: white; }
.model-directory-column h2 {
  padding: 10px 12px;
  background: var(--model-brand-background, #eaf3ec);
  color: var(--model-brand-text, #174d35);
  font-size: 17px;
  letter-spacing: 0;
}
.model-directory-column[data-brand="얀마"] { --model-brand-background: #b4232c; --model-brand-text: #fff; }
.model-directory-column[data-brand="구보다"] { --model-brand-background: #ad4b08; --model-brand-text: #fff; }
.model-directory-column[data-brand="대동"] { --model-brand-background: #7d2e08; --model-brand-text: #fff; }
.model-directory-column[data-brand="존디어"] { --model-brand-background: #246033; --model-brand-text: #fff; }
.model-directory-column:is([data-brand="이세키"], [data-brand="ISEKI"]) { --model-brand-background: #2156a4; --model-brand-text: #fff; }
.model-directory-column a { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; overflow-wrap: anywhere; }
.model-directory-column a:hover { color: #176342; text-decoration: underline; }
.model-directory-count { flex-shrink: 0; color: #4a6757; font-size: 12px; font-weight: 600; }
.model-directory-column h2 a:hover,
.model-directory-column h2 .model-directory-count { color: inherit; }
.model-directory-category { padding: 8px 12px; border-top: 1px solid #e7ede7; }
.model-directory-category h3 { font-size: 15px; }
.model-directory-spec { margin: 6px 0 4px; padding-left: 8px; border-left: 1px solid #cbdccf; }
.model-directory-category a { padding: 6px 0; }
.model-directory-spec ul { margin: 0; padding: 0 0 0 8px; list-style: none; }
.model-directory-spec li a { font-weight: 700; }
.model-directory-result-count { margin-bottom: 14px; color: #174d35; }
@media (max-width: 600px) {
  .home-model-directory { gap: 10px; }
  .model-directory-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 154px), 1fr)); }
  .model-directory-column a { min-height: 32px; }
}
