@font-face {
  font-family: "RC Outfit";
  src: url("./Outfit-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

.tcmd-trabajo {
  padding-block: clamp(2.2rem, 5.3vw, 5rem);
  scroll-margin-top: 5rem;
  border-block-start: .3rem solid var(--a11y-border, #ffe06b);
  background: var(--a11y-bg, linear-gradient(110deg, #c61c6b, #a91158));
  color: var(--a11y-fg, #fff);
  font-family: "ASUR Manrope", system-ui, sans-serif;
}

.tcmd-trabajo-layout {
  display: grid;
  grid-template-columns: minmax(0, .77fr) minmax(0, 1.23fr);
  gap: clamp(1.3rem, 4vw, 4rem);
}

.tcmd-trabajo .tcmd-trabajo-intro h2 {
  max-width: 15ch;
  margin: 0;
  color: inherit;
  font: 650 clamp(2rem, 4.4vw, 3.7rem)/1 "RC Outfit", system-ui, sans-serif;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.tcmd-trabajo .tcmd-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .62rem;
  margin: .85rem 0 0;
  color: inherit;
  font: 700 clamp(1rem, 2vw, 1.17rem)/1.25 "RC Outfit", system-ui, sans-serif;
}

.tcmd-credit strong { color: inherit; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; }

.tcmd-trabajo .tcmd-tareas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.95rem, 2.8vw, 1.85rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tcmd-trabajo .tcmd-tareas > li {
  --tarea-color: #77dcff;
  min-width: 0;
  padding-block-start: .75rem;
  border-block-start: 3px solid var(--a11y-border, var(--tarea-color));
  list-style: none;
}

.tcmd-tareas li:nth-child(2) { --tarea-color: #ffe06b; }
.tcmd-tareas li:nth-child(3) { --tarea-color: #ffc5df; }
.tcmd-tareas li:nth-child(4) { --tarea-color: #c8f16a; }

.tcmd-trabajo .tcmd-tareas h3 {
  margin: 0 0 .25rem;
  color: inherit;
  font: 680 clamp(1.13rem, 2vw, 1.4rem)/1.2 "RC Outfit", system-ui, sans-serif;
}

.tcmd-trabajo .tcmd-tareas p { margin: 0; color: inherit; font-size: .98rem; line-height: 1.58; }

@media (max-width: 850px) { .tcmd-trabajo-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .tcmd-trabajo .tcmd-tareas { grid-template-columns: minmax(0, 1fr); } }

.tcmd-videos {
  --tcmd-ink: #15364a;
  --tcmd-blue: #07678e;
  --tcmd-gold: #e4b414;
  --tcmd-paper: #fbfdff;
  --tcmd-focus: var(--a11y-focus, #a90c5a);
  padding-block: clamp(2.5rem, 5.4vw, 5.8rem);
  scroll-margin-top: 5rem;
  background: linear-gradient(148deg, #def3fc, #f5fbff 54%, #e3f2f7);
  color: var(--tcmd-ink);
  font-family: "ASUR Manrope", system-ui, sans-serif;
}

.tcmd-videos :where(*, *::before, *::after) { box-sizing: border-box; }

.tcmd-inner { width: min(calc(100% - clamp(2rem, 7vw, 6rem)), 76rem); margin-inline: auto; }

.tcmd-video-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.35rem, 3.2vw, 2.6rem);
}

.tcmd-videos .tcmd-videos-title {
  margin: 0;
  color: var(--tcmd-ink);
  font: 640 clamp(2rem, 5.3vw, 4.65rem)/1 "RC Outfit", system-ui, sans-serif;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.tcmd-videos .tcmd-public { margin: .55rem 0 0; color: #305667; font-size: clamp(.95rem, 1.35vw, 1.08rem); }

.tcmd-videos .tcmd-playlist {
  display: inline-flex;
  min-height: 44px;
  width: fit-content;
  align-items: center;
  gap: .55em;
  padding: .55rem .95rem;
  border: 1px solid #91b7c8;
  border-radius: .45rem;
  background: var(--tcmd-paper);
  color: #075274;
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
}

.tcmd-videos .tcmd-playlist:hover { background: #e0f3fc; color: #063b53; }

.tcmd-videos .tcmd-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.8rem, 2.25vw, 1.55rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tcmd-video-card {
  --rc-video-radius: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #b0cbd6;
  border-radius: .78rem;
  background: var(--a11y-panel, var(--tcmd-paper));
  color: var(--tcmd-ink);
  box-shadow: 0 8px 21px #14618114;
  list-style: none;
}

.tcmd-video-card:hover { border-color: var(--tcmd-blue); box-shadow: 0 10px 24px #14618129; }

.tcmd-videos :where(a:not([data-play-video])):focus-visible { outline: 3px solid var(--tcmd-focus); outline-offset: 3px; }

.tcmd-video-image {
  --rc-video-background: linear-gradient(135deg, #058bc3 0%, #086c94 68%, #e4b414 68% 85%, #e32780 85%);
}

.tcmd-video-text {
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: start;
  gap: .24rem;
  padding: .75rem .85rem .4rem;
  overflow-wrap: anywhere;
}

.tcmd-videos .tcmd-video-name { margin: 0; color: #000; font: 650 clamp(1rem, 1.65vw, 1.22rem)/1.2 "RC Outfit", system-ui, sans-serif; }
.tcmd-video-topic { color: #305667; font-size: .84rem; line-height: 1.4; }
.tcmd-video-text .rc-inline-video-link { grid-row: 3; color: #19516c; }

@media (min-width: 760px) {
  .tcmd-video-header { padding-inline-end: max(0px, calc(6.2rem - (100vw - 100%) / 2)); }
}

@media (max-width: 900px) { .tcmd-videos .tcmd-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 650px) { .tcmd-videos .tcmd-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tcmd-videos .tcmd-video-grid { grid-template-columns: minmax(0, 1fr); } }

.tcmd-cierre {
  scroll-margin-top: 5rem;
  background: linear-gradient(110deg, #cb1c70, #bb195f);
  color: #fff;
  font-family: "ASUR Manrope", system-ui, sans-serif;
}

.elementor-4954 > .elementor-section:has(+ .tcmd-cierre) {
  padding-block-end: clamp(2.5rem, 5vw, 4.5rem);
}

@media (max-width: 720px) {
  .elementor-4954 .tcmd-hero { text-align: center; }
  .elementor-4954 .tcmd-hero img { margin-inline: auto; }
  .elementor-4954 .tcmd-hero p { max-width: 46ch; margin-inline: auto; }
  .tcmd-trabajo :is(.tcmd-trabajo-intro, .tcmd-tareas > li) { text-align: center; }
  .tcmd-trabajo .tcmd-trabajo-intro h2 { margin-inline: auto; }

  .tcmd-video-header { justify-content: center; text-align: center; }
  .tcmd-videos .tcmd-playlist { max-width: 100%; }
  .tcmd-video-text { justify-items: center; text-align: center; }
}
