/* Blog Entries */
.blog-entry-two-col {
    display: flex;
    margin-bottom: 25px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-entry-two-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.blog-thumbnail {
    flex: 0 0 40%;
    display: block;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    flex: 1;
    padding: 20px;
}

.blog-category a {
    display: inline-block;
    background: #e54b3c;
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    text-decoration: none;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.blog-title {
    font-size: 20px;
    margin: 5px 0 12px;
}

.blog-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #e54b3c;
}

.blog-summary {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

.blog-footer .read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #e54b3c;
    text-decoration: none;
}

.blog-footer .read-more svg {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.blog-footer .read-more:hover svg {
    transform: translateX(4px);
}

/* Categories list */
.blog-categories {
    background: #f8f8f8;
    padding: 15px 20px;
    border-radius: 8px;
}

.blog-categories h5 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #e54b3c;
}

.blog-categories ul {
    list-style: none;
    padding-left: 0;
}

.blog-categories ul li {
    margin-bottom: 8px;
}

.blog-categories ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-categories ul li a:hover {
    color: #e54b3c;
}






/* ---------- Base / mobile (stacked) ---------- */
section#lnk-1 .blog-entry-two-col {
  display: flex;
  flex-direction: column;    /* image on top, content below */
  gap: 14px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  padding: 14px;
}

section#lnk-1 .blog-thumbnail {
  width: 100%;
  display: block;
}

section#lnk-1 .blog-thumb-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}

/* content spacing */
section#lnk-1 .blog-content { padding: 0; }
section#lnk-1 .blog-category a {
  display: inline-block;
  background: #e54b3c;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
}
section#lnk-1 .blog-title { font-size: 20px; margin: 8px 0; }
section#lnk-1 .blog-title a { color: #222; text-decoration: none; }
section#lnk-1 .blog-summary { color: #555; font-size: 14px; }
section#lnk-1 .read-more { color: #e54b3c; font-weight: 600; text-decoration: none; }

/* ---------- Desktop (>=768px) : image left, content right ---------- */
@media (min-width: 768px) {

  /* Use a row (flex) layout for each article */
  section#lnk-1 .blog-entry-two-col {
    flex-direction: row;          /* image | content */
    align-items: flex-start;
    gap: 22px;
    padding: 18px;
  }

  /* Image column width (adjust to taste) */
  section#lnk-1 .blog-thumbnail {
    flex: 0 0 35%;                /* thumbnail takes ~35% of card width */
    max-width: 35%;
  }

  /* Keep image responsive inside that column */
  section#lnk-1 .blog-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
  }

  /* Content column expands to fill remaining space */
  section#lnk-1 .blog-content {
    flex: 1 1 65%;
    padding: 4px 0;
  }

  /* Slightly larger title on desktop */
  section#lnk-1 .blog-title { font-size: 22px; }
}

/* ---------- Optional: override old conflicting rules ---------- */
/* If you previously added a rule like `.blog-entry { display:block !important; }` remove it.
   If you cannot remove it, uncomment the next block to force the correct layout. */

/*
section#lnk-1 .blog-entry-two-col {
  display: flex !important;
}
@media (min-width:768px) {
  section#lnk-1 .blog-entry-two-col { flex-direction: row !important; }
}
*/