/* /en/ 영어판 전용 스타일. 기본 색·그림자·버튼은 사이트와 prompts.css 의 변수와 클래스를 그대로 쓴다. */

.en-category-list,
.en-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.en-category-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 14px;
}

.en-category {
  display: grid;
  height: 100%;
  gap: 6px;
  padding: 16px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-hard-sm);
  color: var(--ink);
}

.en-category:hover {
  transform: translate(-2px, -2px);
}

.en-category strong {
  font-size: 18px;
  line-height: 1.35;
}

.en-category span {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.en-category em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 750;
}

.en-list {
  margin-top: 0;
}

.en-card {
  display: grid;
  height: 100%;
  align-content: start;
  gap: 10px;
  padding: 16px 18px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-hard-sm);
  color: var(--ink);
}

.en-card:hover {
  transform: translate(-2px, -2px);
}

.en-card-head {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.en-card-head img {
  flex: none;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--paper-deep);
  object-fit: cover;
}

.en-card-title {
  min-width: 0;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

.en-card-text {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

/* 영어는 단어 단위로 줄바꿈한다. 한국어용 keep-all 을 되돌린다. */
.prompt-hero h1,
.prompt-summary,
.prompt-section h2,
.prompt-section p,
.en-facts dd {
  word-break: normal;
  overflow-wrap: break-word;
}

.en-facts dt {
  font-size: 14px;
  text-transform: none;
}

.en-facts a {
  color: var(--desk-cobalt);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* .prompt-section a 의 밑줄·파란색이 카드 링크에 번지지 않게 한다. */
.prompt-section a.en-category,
.prompt-section a.en-card {
  color: var(--ink);
  font-weight: inherit;
  text-decoration: none;
}

.en-insight p,
.en-insight ol {
  max-width: 760px;
}

.en-insight h3 {
  margin: 24px 0 8px;
  font-size: 19px;
  line-height: 1.4;
}

.en-insight ol {
  margin: 0 0 14px;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.8;
}
