/* ================================================================
   writing-task1/general-task1 — local.css
   ================================================================ */

/* ---- Scoring Criteria Grid (Section 02) ---- */
.gt1-criteria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.2rem 0 1.4rem;
}
.gt1-criterion {
  border: 1px solid rgba(70,162,218,.2);
  border-radius: 10px;
  overflow: hidden;
}
.gt1-criterion__head {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem 1.1rem;
  background: rgba(70,162,218,.08);
  border-bottom: 1px solid rgba(70,162,218,.15);
}
.gt1-criterion__abbr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--blue);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  border-radius: 8px;
  font-family: 'Raleway', sans-serif;
  letter-spacing: .05em;
}
.gt1-criterion__info { flex: 1; min-width: 0; }
.gt1-criterion__name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
}
.gt1-criterion__ja {
  font-size: .78rem;
  color: var(--gray3);
  margin-top: .1rem;
}
.gt1-criterion .a-list {
  padding: .85rem 1.1rem .9rem;
  margin: 0;
}

/* ---- Letter Type Grid (Section 03) ---- */
.gt1-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin: 1.2rem 0 1.4rem;
}
.gt1-type-card {
  border: 1px solid rgba(70,162,218,.18);
  border-radius: 8px;
  padding: .85rem 1.1rem .9rem;
  background: rgba(4,63,109,.02);
}
.gt1-type-card__label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .5rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid rgba(70,162,218,.18);
}
.gt1-type-card .a-list { margin: 0; }

/* ---- Salutation Table — 4-column override (Section 04) ---- */
.gt1-salutation-table { min-width: 560px; }
.gt1-salutation-table small {
  font-size: .78em;
  color: var(--gray3);
  display: block;
  margin-top: .1rem;
}

/* ---- Task Card extensions (Section 05) ---- */
.gt1-task-time {
  font-size: .83rem;
  color: var(--gray3);
  margin: 0 0 .6rem;
  font-style: italic;
}
.gt1-task-en {
  font-size: .93rem;
  color: var(--black);
  margin: 0 0 .4rem;
}
.gt1-task-ja {
  font-size: .88rem;
  color: var(--gray2);
  margin: .7rem 0 .3rem;
  border-top: 1px dashed rgba(70,162,218,.2);
  padding-top: .7rem;
}
.gt1-task-foot {
  font-size: .83rem;
  color: var(--gray3);
  margin: .7rem 0 0;
  padding-top: .6rem;
  border-top: 1px dashed rgba(70,162,218,.2);
  line-height: 1.7;
}
.gt1-task-foot strong { color: var(--blue); }

/* ---- Detail Annotation Items (Section 06) ---- */
.gt1-detail-item {
  border: 1px solid rgba(70,162,218,.15);
  border-radius: 8px;
  padding: .75rem 1rem .8rem;
  margin: .8rem 0;
  background: rgba(4,63,109,.03);
}
.gt1-detail-item__task {
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue);
  font-family: 'Raleway', sans-serif;
  margin-bottom: .4rem;
}
.gt1-detail-item .a-list { margin: 0; }

/* ---- Model Answer Block (Section 07) ---- */
.gt1-model-answer {
  padding: 1.5rem 1.8rem;
  line-height: 2;
}
.gt1-model-answer p { margin: 0 0 .8rem; }
.gt1-model-answer p:first-child {
  font-weight: 700;
  color: var(--blue);
}
.gt1-model-answer p:last-child { margin-bottom: 0; }

/* ---- Contraction Box (Section 08) ---- */
.gt1-contraction-box {
  background: rgba(176,48,48,.05);
  border: 1px solid rgba(176,48,48,.15);
  border-radius: 8px;
  padding: .75rem 1.1rem .85rem;
  margin: .8rem 0 1rem;
}
.gt1-contraction-box__head {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #b03030;
  font-family: 'Raleway', sans-serif;
  margin-bottom: .5rem;
}
.gt1-contraction-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.gt1-contraction-list li {
  font-size: .9rem;
  color: var(--black);
  line-height: 1.65;
}

/* ---- Phrase Tables (Section 09) ---- */
.gt1-phrase-table td:first-child {
  white-space: normal;
  min-width: 130px;
}
.gt1-phrase-table td small {
  font-size: .82em;
  color: var(--gray3);
  display: block;
  margin-top: .1rem;
  line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .gt1-criteria-grid,
  .gt1-type-grid {
    grid-template-columns: 1fr;
  }
  .gt1-criterion__head { padding: .75rem .9rem; }
  .gt1-criterion .a-list { padding: .75rem .9rem .8rem; }
  .gt1-type-card { padding: .75rem .9rem .8rem; }
  .gt1-detail-item { padding: .65rem .85rem .7rem; }
  .gt1-model-answer { padding: 1.1rem 1.2rem; }
}
