/* Diseños de plantillas de pantalla. Todo en `em`: quien las muestra decide
 * cuanto vale 1em (la tele: 1% del lado corto; la vista previa: segun su recuadro). */
.tpl {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 6em 8em; text-align: center; color: #fff; overflow: hidden;
  background: radial-gradient(ellipse at center, #17202b 0%, #05070a 78%);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.tpl > div { max-width: 100%; }
.tpl-name { font-size: 11em; font-weight: 800; line-height: 1.08; }
.tpl-title { font-size: 8.5em; font-weight: 800; line-height: 1.1; }
.tpl-sub { font-size: 4.2em; color: #b6c2d0; margin-top: 0.9em; line-height: 1.3; }
.tpl-text { font-size: 4.2em; color: #c9d3df; margin-top: 0.8em; line-height: 1.35; white-space: pre-line; }
.tpl-bar { width: 22em; height: 0.9em; border-radius: 1em; margin-top: 3.2em; flex: none; }
.tpl-tag {
  font-size: 3.2em; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: #10151c; padding: 0.35em 1em; border-radius: 2em; margin-bottom: 1em;
}
.tpl-price { font-size: 13em; font-weight: 800; line-height: 1.05; margin-top: 0.25em; }
.tpl-lines { font-size: 5em; line-height: 1.45; color: #e3e9f0; margin-top: 0.7em; }
.tpl-promo { background: radial-gradient(ellipse at 30% 30%, #2a1d08 0%, #070605 75%); }
.tpl-aviso { background: radial-gradient(ellipse at center, #10202e 0%, #04070a 78%); }

/* Texto sobre una foto del cliente */
.tpl-foto { padding: 0; justify-content: flex-end; background: #000; }
.tpl .tpl-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover !important; }
.tpl-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; max-width: none !important; background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,0)); }
.tpl-over { position: relative; width: 100%; padding: 0 7em 7em; text-align: left; }
.tpl-over .tpl-title { text-shadow: 0 0.04em 0.3em rgba(0,0,0,.6); }
.tpl-over .tpl-text { color: #fff; margin-top: 0.4em; }
