
.blog-grid {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    max-width: 1280px;
    grid-gap: 10px;
    padding: 20px;
    background-color: #FFFFFF;
}

.blog-tile {
    display: flex;
    padding: 10px;
    border: 1px solid #000000;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 5px;
    overflow: hidden;
    background: #ffffff;
    color: #272343;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.589);
    opacity: 0.98;
    transition: transform 0.3s ease, opacity 0.3s ease;
    
}

.blog-tile img {
    width: 80%;
    height: 200px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.blog-tile h1 {
    text-align: center;
    font-size: 1.5rem;
}

.blog-tile a {
    text-decoration: none;
    color: black;
}

.blog-tile p {
    text-align: center;
}

.blog-nav {
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    background-color: #FFFFFF;
}

.blog-nav a {
    padding: 5px;
    margin: 0 5px;
    border: 1px solid #000000;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.589);
    background: #FFFFFF;
    text-decoration: none;
    color: black;
}


/* Blog post page here */
.blog-post {
    margin: 0 auto;
    max-width: 800px;
    padding: 20px;

  	.ck-editor__editable {
		min-height: 10rem;
		max-height: 40rem;
  	}

    & figure.image {
      display: inline-block;
      margin: 1em auto;
      text-align: center;
    }

    & figure.image img {
      max-width: 100%;
      height: auto;
    }

    & .image-style-align-left {
      float: left;
      margin-right: 1em;
    }

    & .image-style-align-right {
      float: right;
      margin-left: 1em;
    }
}

.blog-post img {
    margin: auto;
    max-width: 100%;
    height: auto;
}

.blog-post h1 {
    text-transform: uppercase;
    color: var(--headerColor) /* experiment with colors */
}