/*
 * temp.css — Quick fixes and one-off overrides.
 *
 * Rules here should be migrated to the appropriate SCSS partial before launch.
 * Tag each rule with a comment indicating where it belongs, e.g.:
 *
 *   // TODO: migrate → src/scss/_components.scss
 */

/* Restore Gutenberg block text-alignment classes.
 * wp-block-library CSS is dequeued in tov5/functions.php (smartwp_remove_wp_block_library_css),
 * stripping these classes. Without them, text aligned in the editor renders as default (left).
 * TODO: migrate → src/scss/_base.scss
 */
.has-text-align-center { text-align: center; }
.has-text-align-right  { text-align: right;  }
.has-text-align-left   { text-align: left;   }


.page-title-hero__subheading {
    font-weight: 800;
    font-size: 1.5rem;
    color: #004a8f;
}


/* Training page - START */
.page-template-training .carousel-item {
  height:auto;
  padding:3em 0;
  background:#fff;
  background:linear-gradient(135deg,rgb(255 255 255) 15%,rgb(219 229 238) 100%)
}
.page-template-training .navbar-default {
  margin-bottom:0
}
.training-item {
  padding:3em 0;
  background:linear-gradient(135deg,rgb(219 229 238) 15%,rgb(255 255 255) 100%)
}
.training-item .card {
  height:100%;
  border:none;
  box-shadow:0 0 30px rgb(0 0 0 / .05)
}
.training-item .card p {
  margin-bottom:15px
}
.lead.course-intro {
  padding:30px;
  color:#004A8F;
  font-weight:700;
  font-size:24px
}
.training-cta {
  padding:4em 0 3em
}

/* Training page - END */

.grid-section { padding: 45px 0; }
.site-main .grid-section:nth-of-type(even) { background: #004a8f0a; }
.page-id-51 .site-main .grid-section:nth-of-type(even) { background: transparent; }

/* Case Studies page - START */
.case-study img {
  width:200px;
  border:none;
  border-radius:5px;
  margin:30px auto;
  box-shadow:0 0 10px #00000017
}
.case-study .card-body {
  background:#004A8F14;
  padding:20px;
  border-radius:10px;
  border-top-left-radius:0
}
.case-study p:empty {
  display:none
}
.case-study {
  border:none;
  border-radius:0;
  margin-bottom:30px;
  background:#f9f9f9
}
/* Case Studies page - END */