/* Layout fixes on top of the vendor stylesheets. Linked last on every main page. */

/* Phones: three columns left about 110px per card and clipped the headings, so the cards stack in order. */
@media (max-width: 720px) {
  .page-home .steps,
  .page-advertising .why-grid { grid-template-columns: 1fr !important; }
  .page-home .step,
  .page-advertising .why-card { border-right: 0 !important; border-bottom: 1.5px solid #111 !important; }
  .page-home .step:last-child,
  .page-advertising .why-card:last-child { border-bottom: 0 !important; }

  /* The status column pushed the vacancy header 10px past its card. */
  .page-jobs .vacancy-header { grid-template-columns: 1fr !important; gap: 12px !important; padding: 24px 20px !important; }
  .page-jobs .vacancy-type { font-size: 11px !important; letter-spacing: .3px !important; }
}

/* The vacancy label is drawn as a pill but had no inner padding, so the text touched its border. */
.page-jobs .vacancy-type { display: inline-block !important; max-width: 100%; padding: 6px 14px !important; }

/* The network picture on Publicidad opens the live station map. */
.page-advertising a.map-block {
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  text-decoration: none !important;
  cursor: pointer;
}
.page-advertising .map-open {
  display: inline-block;
  flex: none;
  white-space: nowrap;
  margin-top: 14px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 800;
  color: #171815;
  background: #ffd829;
  border-radius: 999px;
}
