/*
If the file is going to be imported don't add doc comments
*/
.cards {
  width: 100%;
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap; }
  .cards.routes {
    display: flex;
    justify-content: center;
    gap: 1em; }
    .cards.routes .card {
      min-width: 300px; }

.card {
  background: white;
  min-width: 300px;
  height: auto;
  /* Heading */
  /* Routes */ }
  .card__heading {
    display: flex;
    align-items: center;
    z-index: 5;
    padding: 1em; }
    .card__heading h6, .card__heading h4 {
      margin: 0; }
  .card__icon {
    width: 40px;
    background: #efefef;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1em; }
  .card__title {
    flex: 1; }
  .card__share {
    width: 30px; }
  .card__thumb {
    height: 200px;
    background: #efefef;
    position: relative; }
    .card__thumb__inner {
      position: relative;
      z-index: 5;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column; }
  .card__routes {
    max-width: 300px; }
    .card__routes.bg-white .overlay {
      display: none; }
    .card__routes.bg-white .card__thumb h4, .card__routes.bg-white .card__thumb .btn {
      color: black;
      text-transform: uppercase; }
    .card__routes .card__thumb {
      background-size: cover;
      background-repeat: no-repeat;
      position: relative;
      display: flex; }
      .card__routes .card__thumb .card__heading {
        display: flex;
        align-items: flex-start;
        z-index: 5;
        padding: 1em;
        flex: 1; }
      .card__routes .card__thumb .card__footer {
        height: 40px;
        text-align: right; }
      .card__routes .card__thumb .overlay {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: 1;
        background: #C41D23;
        opacity: .8; }
      .card__routes .card__thumb h4, .card__routes .card__thumb .btn {
        color: white;
        text-transform: uppercase; }
      .card__routes .card__thumb .btn:hover {
        background: #C41D23; }
  .card__news {
    min-height: 400px;
    display: flex;
    flex-direction: column; }
    .card__news .card__heading {
      flex: 1; }
    .card__news .card__footer {
      text-align: right;
      height: 40px; }
  .card__events .card__heading {
    padding-bottom: 0; }
  .card__events .card__footer {
    padding: 0; }
  .card__events .btn {
    width: 100%; }
  .card__date {
    padding: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em; }
    .card__date-day {
      font-weight: 700;
      font-size: 4em; }
    .card__date-month {
      font-weight: 600;
      font-size: 2em; }

#features {
  background: white; }
  #features h4 {
    font-size: 24px; }
  #features .cards.routes .card {
    min-width: 30%; }
    @media all and (max-width: 979px) {
      #features .cards.routes .card {
        min-width: 300px; } }
