body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #333;
  font-size: large;
}

.header-footer {
  max-width: 1000px;
  min-width: 320px;
  margin: auto;
  /* background-color: #555; */
  color: #e2e2e2;
  /* border-radius: 10px; */
  padding: 32px 0 32px 0;
  text-align: center;
}

.header-footer a:link {
  color: #e2e2e2;
}

.header-footer a:visited {
  color: #e2e2e2;
}

.header-footer a:hover {
  color: #e2e2e2;
}

.header-footer a:active {
  color: #e2e2e2;
}

.header-footer h1 {
  font-family: cursive;
  margin: 0; padding: 0;
}

.header-footer p {
  margin: 0; padding: 0;
}

.header-footer a:link {
  text-decoration: none;
}

p {
  margin-bottom: 1.5em;
}

.cards-grid-container {
  max-width: 1000px;
  min-width: 320px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
  /* font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif; */
}

/* === General Card Styles === */
.it-card-container {
  --it-card-padding: 1.5rem;
  --it-card-border-radius: 12px;
  --it-card-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  background: #ffffff;
  border-radius: var(--it-card-border-radius);
  overflow: hidden;
  box-shadow: var(--it-card-shadow);
  transition: transform 0.2s ease-in-out;
}

/* .it-card-container:hover {
  transform: translateY(-5px);
} */

.it-card-container a.it-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* === Card Image === */
.it-card-container .it-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* === Card Content === */
.it-card-container .it-card-content {
  padding: var(--it-card-padding);
}

.it-card-container {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0; margin-bottom 0.5rem;
  color: #4b5563; /* A muted gray */
}

/* === Optional "Read More" Button === */
.it-card-container .it-card-action {
    display: inline-block;
    background-color: #e5e7eb;
    color: #111827;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    /* transition: background-color 0.2s ease; */
}

.post-container {
  max-width: 1000px;
  min-width: 320px;
  margin: auto;
  font-size: 1rem;
  line-height: 1.5;
  color: #4b5563; /* A muted gray */
  background-color: #FFF;
  border-radius: 12px;
  padding-bottom: 32px;
}

.post-container .it-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block; /* object-position: top; */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.post {
  padding: 20px;
}

.post a:link {
  color: #4b5563;
}

.post a:visited {
  color: #4b5563;
}

.post a:hover {
  color: #4b5563;
}

.post a:active {
  color: #4b5563;
}