/**
 * Note that these styles are loaded *before* editor styles, so that
 * editor-specific styles using the same selectors will take precedence.

These are dupes of the styles found in the Habitat theme style.css


 */

 .wp-block-habitat-blocks-card-block .card-h2 {
 	margin-top: 0;
 	margin-bottom: .25em;
 }

 .wp-block-habitat-blocks-card-block .card-content p {
 	margin-top: .25em;
 }

 .wp-block-habitat-blocks-card-block .card-content-home, .card-content{
 	padding-top: .7em;
 }

 .wp-block-habitat-blocks-card-block p.cardLink {
   margin-bottom: .25em;
   margin-top: auto;
 }

 .wp-block-habitat-blocks-card-block.card {
   background-color: white;
   border-radius: 0.25rem;
   box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);
   color: #4a4a4a;
   max-width: 100%;
   overflow: hidden;
   position: relative;
   border: none;
   height: 100%;
   flex-grow: 1;
   flex-direction: column;
   display:flex;
 }

 .wp-block-habitat-blocks-card-block .card-header {
   background-color: transparent;
   align-items: stretch;
   box-shadow: 0 0.125em 0.25em rgba(10, 10, 10, 0.1);
   display: flex;
 }

 .wp-block-habitat-blocks-card-block .card-header-title {
   align-items: center;
   color: #363636;
   display: flex;
   flex-grow: 1;
   font-weight: 700;
   padding: 0.75rem 1rem;
 }

 .wp-block-habitat-blocks-card-block .card-header-title.is-centered {
   justify-content: center;
 }

 .wp-block-habitat-blocks-card-block .card-header-icon {
   align-items: center;
   cursor: pointer;
   display: flex;
   justify-content: center;
   padding: 0.75rem 1rem;
 }

 .wp-block-habitat-blocks-card-block .card-image {
   display: block;
   position: relative;
   /* padding: 1em; I think removing this gives the cards a cleaner more modern look */
   padding-bottom: .5em;

 }

 .wp-block-habitat-blocks-card-block .card-image .image {
   margin: 0;
 }

 .wp-block-habitat-blocks-card-block .card-content {
   background-color: transparent;
   padding: 2rem;
   padding-top: .75em;
   flex-grow: 1;
   flex-direction: column;
   display:flex;
 }

 .wp-block-habitat-blocks-card-block .card-footer {
   background-color: transparent;
   border-top: 1px solid #ededed;
   align-items: stretch;
   display: flex;
 }

 .wp-block-habitat-blocks-card-block .card-footer-item {
   align-items: center;
   display: flex;
   flex-basis: 0;
   flex-grow: 1;
   flex-shrink: 0;
   justify-content: center;
   padding: 0.75rem;
 }

 .wp-block-habitat-blocks-card-block .card-footer-item:not(:last-child) {
   border-right: 1px solid #ededed;
 }

 .wp-block-habitat-blocks-card-block.card .media:not(:last-child) {
   margin-bottom: 1.5rem;
 }
