/* Blogs listing — replicates the live 4ab.in/blogs card design:
   2-col grid (1140px), white cards r3px shadow 0 0 10px .15,
   thumb 3:2 on top, Roboto 21/600 #54595F titles, 14px #777 excerpts,
   12px green Read More, 12px #ADADAD meta strip. */

.blog-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 20px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 30px;
}
@media (max-width: 767px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.blog-card {
  background: var(--card);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .15);
  overflow: hidden;
}

.blog-card__thumb {
  display: block;
  position: relative;
  padding-bottom: 66%;
  overflow: hidden;
}
.blog-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .35));
  opacity: 0;
  transition: opacity .3s ease;
}
.blog-card:hover .blog-card__thumb img { transform: scale(1.04); }
.blog-card:hover .blog-card__thumb::after { opacity: 1; }

.blog-card__text {
  padding: 0 30px;
  margin-top: 20px;
}

.blog-card__title {
  margin: 0 0 25px;
  font-family: 'Roboto', sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
}
.blog-card__title a {
  color: var(--ink);
  text-decoration: none;
  transition: color .2s ease;
}
.blog-card__title a:hover { color: #61CE70; }

.blog-card__excerpt {
  margin: 0 0 25px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--body-c);
}

.blog-card__more {
  display: inline-block;
  margin: 0 0 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #61CE70;
  text-decoration: none;
}

.blog-card__meta {
  border-top: 1px solid var(--line-soft);
  padding: 15px 30px;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: var(--muted);
}

/* The card relies on a soft drop shadow, which disappears on a dark page —
   give it a real edge instead. */
:root[data-theme="dark"] .blog-card { border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .blog-card { border: 1px solid var(--line); }
}
