/*
 * İlkokul Dijital A4 Player v1.29.65.8
 * Normal 1–2. sınıf Türkçe etkinliklerinde tema bağlamı kartı.
 * URL/hiyerarşi/player/yazdırma kapsam dışıdır.
 */
.ild-a4-material-facts.has-turkish-theme>.is-theme{
  min-width:0;
}
.ild-a4-theme-context-list{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  align-items:center;
}
.ild-a4-theme-context-chip{
  display:inline-block;
  max-width:100%;
  line-height:1.28;
}

@media (min-width:861px){
  /* İlk satırdaki 1/3 Sınıf + 2/3 Konu dengesi korunur; tema ikinci satırda iki hücre kullanır. */
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week){
    grid-template-columns:repeat(6,minmax(0,1fr));
    grid-template-areas:
      "grade grade topic topic topic topic"
      "week lesson theme theme code file";
  }
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week)>.is-grade{grid-area:grade}
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week)>.is-topic{grid-area:topic}
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week)>.is-week{grid-area:week}
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week)>.is-lesson{grid-area:lesson}
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week)>.is-theme{grid-area:theme;display:flex;flex-direction:column;justify-content:center}
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week)>.is-code{grid-area:code}
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week)>.is-file{grid-area:file}
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week):not(:has(> .is-code)){
    grid-template-areas:
      "grade grade topic topic topic topic"
      "week lesson theme theme published file";
  }
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week):not(:has(> .is-code))>.is-published{grid-area:published}
  .ild-a4-material-facts.is-activity-style.has-turkish-theme>.is-theme dd{font-size:13.5px}
}

@media (min-width:561px) and (max-width:860px){
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week){
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-areas:
      "grade week"
      "topic topic"
      "lesson theme"
      "code file";
  }
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week)>.is-grade{grid-area:grade}
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week)>.is-week{grid-area:week}
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week)>.is-topic{grid-area:topic}
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week)>.is-lesson{grid-area:lesson}
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week)>.is-theme{grid-area:theme}
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week)>.is-code{grid-area:code}
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week)>.is-file{grid-area:file}
}

@media (max-width:560px){
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week){
    grid-template-areas:
      "grade week"
      "lesson lesson"
      "topic topic"
      "theme theme"
      "code file";
  }
  .ild-a4-material-facts.is-activity-style.has-turkish-theme:has(> .is-week)>.is-theme{grid-area:theme;padding-top:10px;padding-bottom:10px}
}

html[data-bs-theme="dark"] .ild-a4-theme-context-chip,
body.dark-mode .ild-a4-theme-context-chip,
body.theme-dark .ild-a4-theme-context-chip{color:inherit}
