/* =========================================
   Room Hire Features
   ========================================= */

.room-hire-features {
  margin-top: 1.5rem;
}

.room-hire-features__heading {
  margin: 0 auto 1.75rem auto;
  padding: 0 0 1rem;
  border-bottom: 2px dotted var(--turquoise);
  color: var(--almost-black);
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
}

.room-hire-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.room-hire-features__item {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.room-hire-features__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--almost-black);
}

.room-hire-features__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.room-hire-features__label {
  line-height: 1.35;
  font-weight: 600;
}

/* Ensure Info page list styles don't indent the feature grids. */
ul.room-hire-features__grid {
  padding-left: 0;
}

/* =========================================
       Individual feature panels
       ========================================= */

.room-hire-features--included {
  /* Panel-specific styles can go here. */
}

.room-hire-features--accessibility {
  /* Panel-specific styles can go here. */
}

/* =========================================
       Tablet and above
       ========================================= */

@media (min-width: 37.5rem) {
  .room-hire-features {
    padding: 1.5rem 0;
  }

  .room-hire-features__item {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .room-hire-features__icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .room-hire-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
  }

  .room-hire-features--included {
    padding: 1.5rem 0 0;
  }
}
