/* Blog specific styles */

/* Post date */
.post-date {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  font-style: italic;
}

/* Codebox */
.codebox {
  display: block;
  background-color: #EEEEFF;
  margin-top: 10px;
  margin-bottom: 10px;
}

.codebox code {
  font-size: 1.9em;
  font-style: italic;
}

/* IDs */
#func {
  background-color: lightgrey;
  color: blue;
}

#object {
  background-color: lightgrey;
  color: black;
}

#feature {
  font-size: large;
  background: lightgrey;
}

/* Images */
.iimg {
  transition: transform 0.25s ease;
}

.iimg:hover {
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
}

/* Utility */
.help {
  color: #1c757d;
}

.hint {
  background: rgb(210, 206, 206);
}

.data_import td {
  border-spacing: 1cm 0;
  padding-left: 27.5px;
  padding-right: 27.5px;
  padding: 0 5px 0 0;
  color: #1c757d;
}

/* Blockquotes */
blockquote#important {
  min-height: 5em;
  padding: 1em 4em;
  font: 1em/150% sans-serif;
  position: relative;
  background-color: lightgoldenrodyellow;
}

blockquote#formula {
  font: 1em/150% sans-serif;
  position: relative;
  background-color: lightgoldenrodyellow;
}

blockquote#math::before {
  position: absolute;
  height: 3rem;
  top: 0.0rem;
  left: 0.1rem;
  font: 4rem/100% Georgia, "Times New Roman", Times, serif;
  content: "\3A9";
}

blockquote#important::before {
  content: "!";
}

/* Blog cards */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.blog-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.blog-card h2 {
  font-size: 1.2rem;
  padding: 1rem;
  margin: 0;
}

@media (max-width: 600px) {
  .blog-card img {
    height: 150px;
  }

  .blog-card h2 {
    font-size: 1rem;
    padding: 0.75rem;
  }
}