/* Korean project list only; title/caption bases account for the existing +5px runtime. */
html[lang="ko"] body.a2-site[data-page="projects"] #content .site-project-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: none !important;
  grid-auto-rows: auto !important;
  gap: 36px 24px !important;
  background: transparent !important;
  border: 0 !important;
}
html[lang="ko"] body.a2-site[data-page="projects"] #content .site-project-grid .tc-project-card {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  grid-area: auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  aspect-ratio: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
  clip-path: none !important;
  opacity: 1 !important;
  cursor: pointer;
}
html[lang="ko"] body.a2-site[data-page="projects"] #content .tc-project-card::before,
html[lang="ko"] body.a2-site[data-page="projects"] #content .tc-project-card::after,
html[lang="ko"] body.a2-site[data-page="projects"] #content .tc-project-photo::after { display: none !important; }
html[lang="ko"] body.a2-site[data-page="projects"] #content .tc-project-card .tc-project-photo {
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1.55;
  overflow: hidden !important;
  border-radius: 14px;
  background: #e1e5df;
  flex: 0 0 auto;
}
html[lang="ko"] body.a2-site[data-page="projects"] #content .tc-project-card .tc-project-photo img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}
html[lang="ko"] body.a2-site[data-page="projects"] #content .tc-project-card .tc-project-copy {
  position: static !important;
  inset: auto !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 0 auto;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 18px 0 0 !important;
  background: transparent !important;
  color: #17211b !important;
  text-shadow: none !important;
  box-sizing: border-box;
}
html[lang="ko"] body.a2-site[data-page="projects"] #content .tc-project-copy em {
  display: block !important;
  margin: 0 0 7px !important;
  color: #16854d !important;
  font-size: 11px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}
html[lang="ko"] body.a2-site[data-page="projects"] #content .tc-project-copy h3 {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 0 10px !important;
  color: #17211b !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  text-overflow: clip !important;
}
html[lang="ko"] body.a2-site[data-page="projects"] #content .tc-project-copy .tc-project-meta {
  display: block !important;
  margin: auto 0 0 !important;
  padding: 0 !important;
  color: #6c756e !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}
html[lang="ko"] body.a2-site[data-page="projects"] #content .tc-project-card:focus-visible { outline: 2px solid #16854d; outline-offset: 6px; }
/* Keep the existing controls, arranged in one compact toolbar at desktop widths. */
html[lang="ko"] body.a2-site[data-page="projects"] #content .legacy-inline-toolbar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 16px 22px !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
  border: 0 !important;
}
html[lang="ko"] body.a2-site[data-page="projects"] #content .legacy-project-filters {
  order: 0;
  display: flex !important;
  flex-wrap: wrap !important;
  flex: 1 1 auto;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  width: auto !important;
}
html[lang="ko"] body.a2-site[data-page="projects"] #content .legacy-project-filters button {
  border-radius: 24px !important;
  padding: 8px 13px !important;
  font-size: 10px !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}
html[lang="ko"] body.a2-site[data-page="projects"] #content .legacy-inline-toolbar > label { order: 1; flex: 0 1 245px; min-width: 0 !important; width: 245px !important; }
html[lang="ko"] body.a2-site[data-page="projects"] #content .legacy-inline-toolbar > label > span { display: none !important; }
html[lang="ko"] body.a2-site[data-page="projects"] #content .legacy-inline-toolbar input { width: 100% !important; font-size: 10px !important; padding: 9px 0 !important; }
html[lang="ko"] body.a2-site[data-page="projects"] #content .legacy-inline-toolbar > p { order: 2; margin: 0 !important; white-space: nowrap; }
html[lang="ko"] body.a2-site[data-page="projects"] #content .legacy-inline-toolbar > p strong,
html[lang="ko"] body.a2-site[data-page="projects"] #content .legacy-inline-toolbar > p span { font-size: 10px !important; }
@media (max-width: 1000px) {
  html[lang="ko"] body.a2-site[data-page="projects"] #content .site-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html[lang="ko"] body.a2-site[data-page="projects"] #content .legacy-project-filters { flex-basis: 100%; }
}
@media (max-width: 600px) {
  html[lang="ko"] body.a2-site[data-page="projects"] #content .site-project-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 30px !important; }
  html[lang="ko"] body.a2-site[data-page="projects"] #content .tc-project-copy h3 { font-size: 16px !important; }
  html[lang="ko"] body.a2-site[data-page="projects"] #content .tc-project-copy { padding-top: 14px !important; }
  html[lang="ko"] body.a2-site[data-page="projects"] #content .legacy-inline-toolbar > label { flex: 1 1 160px; }
}
