/*
Theme Name: Astra Child
Template: astra
*/

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.post-card {
  background: transparent;
  color: white;
  border: none;
  transition: all 0.3s ease;
  padding: 1.5rem;
  gap: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.post-card h2 {
  color: white;
  text-decoration: none;
}

.post-card:hover {
  background: white;
  color: black;
}

.post-card:hover h2 {
  color: black;
}

.post-link-button {
  margin-top: 1rem;
  font-size: 1.5rem;
  text-decoration: none;
  color: white;
  background: transparent;
  border: 2px solid white;
  padding: 0.4rem 0.5rem;
  padding-left: 0;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.post-card:hover .post-link-button {
  border-color: #005EE9;
  background: #005EE9;
}

.rotated-arrow {
  display: inline-block;
  transform: rotate(-45deg);
  transform-origin: center;
  font-size: 2rem;
  color: white;
}

/* Change background color for these pages */
.single-post {
    background-color: #0f172a;
}

.category {
	background-color: #0f172a;
}
