/* Additions for the DGPuK Show & Tell deck; colours follow styles/slides.scss */

/*********************************************
 * PROBLEM STATEMENT (slide 1)
 *********************************************/

.problem {
  font-size: 1.15em;
  line-height: 1.35;
  border-left: 6px solid #8ec07c;
  padding: .4em 0 .4em .9em;
  margin: .2em 0 1.1em;
}

.problem strong {
  background: rgba(142, 192, 124, .35);
  padding: 0 .15em;
}

.reveal .evidence li {
  margin-bottom: .55em;
}

.reveal .evidence .cite {
  font-size: .6em;
  color: #7c6f64;
}

/*********************************************
 * METHOD COMPARISON TABLE (slide 2)
 *********************************************/

.reveal table.compare {
  min-width: 0 !important;
  width: 100% !important;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .62em;
  margin: .2em 0 .6em;
}

.reveal table.compare th,
.reveal table.compare td {
  padding: .38em .6em !important;
  text-align: center;
  vertical-align: middle;
  line-height: 1.2;
}

.reveal table.compare thead th {
  font-weight: 700;
  border-bottom: 2px solid #8ec07c !important;
}

.reveal table.compare tbody th {
  text-align: left;
  font-weight: 700;
  border: none !important;
}

.reveal table.compare td.g { background: rgba(152, 151, 26, .22); }
.reveal table.compare td.m { background: rgba(0, 0, 0, .06); }
.reveal table.compare td.b { background: rgba(204, 36, 29, .2); }

.reveal table.compare td {
  border: 3px solid #fff !important;
  border-radius: 8px;
}

/* the LLM column sits on a band in the accent colour, so it reads as the
   point of the slide; the cells keep their strength/weakness colours inside it */
.reveal table.compare .llm {
  font-weight: 800;
}

.reveal table.compare thead th.llm {
  background: #8ec07c;
  border-bottom-color: #8ec07c !important;
  border-radius: 12px 12px 0 0;
}

.reveal table.compare td.llm {
  border: 5px solid #8ec07c !important;
  border-top-width: 3px !important;
  border-bottom-width: 3px !important;
  border-radius: 0;
}

.reveal table.compare tbody tr:last-child td.llm {
  border-bottom-width: 5px !important;
  border-radius: 0 0 12px 12px;
}

.compare-legend {
  font-size: .5em;
  color: #7c6f64;
  text-align: right;
  margin-top: -.9em !important;
}

.compare-legend span.sw {
  display: inline-block;
  width: .9em;
  height: .9em;
  border-radius: 3px;
  vertical-align: -.1em;
  margin: 0 .25em 0 .8em;
}

.takeaway {
  font-size: .9em;
  line-height: 1.3;
}

/*********************************************
 * MODEL TYPES (slide 3)
 *********************************************/

.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9em;
  margin-top: .4em;
}

.type-card {
  font-size: .58em;
  line-height: 1.3;
  border-top: 3px solid #8ec07c;
  padding-top: .45em;
}

.type-card strong {
  display: block;
  margin-bottom: .25em;
}

/* German labels are longer than the workshop's English ones */
.de-pipeline .out-box {
  font-size: .5em;
}

.de-pipeline .pipe-corpus-title {
  font-size: .5em;
}

/*********************************************
 * CODE ROWS (slide 4)
 *********************************************/

.code-text {
  font-size: .62em;
  margin-bottom: .5em !important;
}

.code-rows {
  display: grid;
  grid-template-columns: 7.4em minmax(0, 1fr) 1.2em 12.5em;
  align-items: center;
  column-gap: .6em;
  row-gap: .25em;
  font-size: .62em;
}

.code-label {
  border: 2px solid #3c3836;
  border-radius: 12px;
  padding: .5em .4em;
  text-align: center;
  font-weight: 800;
  font-size: .9em;
  line-height: 1.2;
}

.code-rows div.sourceCode,
.code-rows pre {
  margin: 0 !important;
  width: 100% !important;
  box-shadow: none !important;
}

.reveal .code-rows pre {
  font-size: 1em !important;
}

.reveal .code-rows pre code {
  font-size: .74em !important;
  line-height: 1.3;
  padding: .45em .6em !important;
  max-height: none !important;
}

.code-arrow {
  width: 1.2em;
  height: .8em;
  background: #3c3836;
  clip-path: polygon(0 30%, 55% 30%, 55% 0, 100% 50%, 55% 100%, 55% 70%, 0 70%);
}

.code-out {
  font-family: monospace;
  font-size: .72em;
  line-height: 1.3;
  background: #f4f4f4;
  border-radius: 8px;
  padding: .45em .6em;
}

.code-out b {
  background: rgba(142, 192, 124, .45);
  padding: 0 .1em;
}

.code-sep {
  grid-column: 1 / -1;
  border-top: 2px dashed #9e9e9e;
  margin: .15em 0;
}

.code-note {
  font-size: .55em;
  text-align: right;
  margin-top: .5em !important;
}

/*********************************************
 * WEBSITE & COLLECTION (slide 5)
 *********************************************/

.site-shot img {
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
  margin-top: .3em !important;
}

.usp {
  font-size: .62em;
  line-height: 1.3;
  margin-top: .8em;
}

.reveal .usp ul {
  margin-left: 1em !important;
}

.reveal .usp li {
  margin-bottom: .3em;
}

.collection-title {
  font-weight: 800;
  font-size: .8em;
  border-bottom: 2px solid #8ec07c;
  padding-bottom: .2em;
  margin-bottom: .5em !important;
}

.tut {
  display: grid;
  grid-template-columns: 1.6em 1fr;
  column-gap: .4em;
  align-items: start;
  font-size: .62em;
  line-height: 1.25;
  padding: .45em .5em;
  margin-bottom: .35em;
  border-radius: 10px;
  background: #f4f4f4;
}

.tut-icon {
  font-size: 1.15em;
  line-height: 1.1;
}

.tut-name {
  font-weight: 800;
}

.tut-who {
  font-size: .85em;
  color: #665c54;
}

.tut-status {
  display: inline-block;
  font-size: .72em;
  font-weight: 700;
  padding: 0 .45em;
  border-radius: 5px;
  margin-left: .3em;
  vertical-align: .1em;
}

.tut-status.online { background: rgba(152, 151, 26, .3); }
.tut-status.planned { background: rgba(250, 189, 47, .4); }

.tut.done { background: rgba(142, 192, 124, .18); }

.tut.cta {
  background: #fff;
  border: 2px dashed #8ec07c;
}

/*********************************************
 * CLOSING
 *********************************************/

.qr {
  width: 62% !important;
  max-width: 260px;
}

.closing-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  text-align: center;
  font-size: .6em;
  line-height: 1.35;
}

.closing-contact img.bio-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto .4em !important;
}

.paper-ref {
  font-size: .5em;
  line-height: 1.3;
  margin-top: 1em !important;
}

/*********************************************
 * PAPER OVERVIEW (slide 3)
 * cover + QR and contributions on the left; the paper's figure and
 * table shrunk on the right as examples of two of its contributions
 *********************************************/

.paper-head {
  display: grid;
  grid-template-columns: 9.5em 7em;
  column-gap: .7em;
  align-items: end;
}

.paper-head p {
  margin: 0 !important;
}

.reveal .paper-head img.paper-cover {
  display: block;
  width: 100%;
  height: 10em;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
  margin: 0 !important;
}

.paper-qr {
  font-size: .45em;
  line-height: 1.3;
  color: #7c6f64;
  text-align: center;
}

.reveal .paper-qr img {
  width: 100%;
  max-width: 9em;
  margin: 0 auto .3em !important;
}

.contrib {
  font-size: .66em;
  line-height: 1.3;
  margin-top: .9em;
}

.reveal .contrib ul {
  margin: 0 0 .2em 1em !important;
}

.contrib-ref {
  font-size: .82em;
  font-weight: 700;
  color: #689d6a;
  white-space: nowrap;
}

.workshop-note {
  display: inline-block;
  font-size: .6em;
  line-height: 1.3;
  border: 2px dashed #8ec07c;
  border-radius: 10px;
  padding: .45em .6em;
  margin-top: .6em;
}

.workshop-note p {
  margin: 0 !important;
}

.paper-side {
  align-self: center;
}

.paper-fig {
  font-size: .41em;
}

.paper-fig .pipeline {
  margin: 0 auto .4em;
}

.paper-tab {
  font-size: .66em;
  margin-top: 1.6em;
}

.slide-sub {
  color: #7c6f64;
  margin-bottom: 1.1em !important;
}

.nowrap {
  white-space: nowrap;
}

.paper-tab table.compare {
  margin-bottom: .4em !important;
}

.paper-tab .compare-legend {
  margin-top: 0 !important;
}

/*********************************************
 * ACCESS COMPARISON (slide 4)
 *********************************************/

.reveal table.compare.access {
  font-size: .66em;
}

.reveal table.compare.access thead th {
  width: 39%;
}

.reveal table.compare.access thead th:first-child {
  width: 22%;
}

.reveal table.compare .th-sub {
  display: block;
  font-size: .72em;
  font-weight: 400;
  margin-top: .15em;
}


.qr-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  font-size: .6em;
  line-height: 1.3;
}

.reveal .qr-pair img.qr {
  width: 100% !important;
  max-width: 230px;
  margin-bottom: .3em !important;
}

.qr-label {
  font-weight: 800;
}
