.back-link {
  display: block; /* Allow padding and margin */
  padding: 0.5em 1em; /* Add some padding for better click area */
  background-color: var(--primary); /* Background color */
  color: var(--text2); /* Text color */
  text-decoration: none; /* Remove underline */
  border-radius: 5px; /* Rounded corners */
  width: max-content;
  margin: 0;
}



article a {
	text-decoration: none;
	color: var(--primary);
}

article p {
    margin: 16px 0px;
    line-height: 1.5;
    color: var(--text1);
    letter-spacing: 0.2px;
}

blockquote {
  font-style: italic;
  color: var(--text1);               /* Subtle text color */
  border-left: 4px solid var(--primary); /* Vertical line to the left */
  padding: 0.5em 1em;         /* Add some padding */
  margin: 1.5em 0;            /* Space around the blockquote */
  background-color: var(--layers);  /* Light background color */
  border-radius: 5px;         /* Slightly rounded corners */
}

blockquote p {
  margin: 0;                 /* Remove default paragraph margin */
}

blockquote footer {
  text-align: right;         /* Align citation to the right */
  color: var(--primary);               /* Subtle color for citation */
  font-size: 0.9em;
}

article img {
    height: 350px;
    border-radius: 8px;
    max-width: 800px;
    display: block;
}

article .blog_title {
    /*margin-top: -90px;*/
    z-index: 5;
}

article div {
	/*background: var(--layers3);*/
    /*padding: 16px 32px;*/
    margin: 16px 0;
    border-radius: 8px;
    position: relative;
    max-width: 800px;
}

.blogposts {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 24px;
    margin: 24px 0;
}

.card:hover {
    transform: scale(1.02);
}

.card {
	display: grid;
    max-width: 350px;
    box-sizing: border-box;
    overflow: auto;
    text-overflow: ellipsis;
    background-color: var(--layers);
    border-radius: 8px;
	cursor: pointer;
	text-decoration: none;
    box-shadow: 0 2px 10px var(--layers3);
    transition: transform 0.2s;
}

.card_image {
	max-height: 230px;
}

.card h3 {
	font-size: x-large;
}

img {
	width: 100%;
    height: 100%;
    object-fit: cover;
}

.card_content {
    padding: 0px 16px 16px 16px;
    display: grid;
    grid-row-gap: 8px;
}

@media (max-width: 425px), only screen and (orientation: portrait) {
	article img {
		height: 300px;	
	}
	article div {
		padding: 8px 16px;
        background: none;
        margin: 8px auto;
	}
	article .blog_title {
		margin-top: 8px;
	}
	.blogposts {
		justify-content: center;
	}
}