/* === Blog card (desktop default) === */
.ccb-blog-list {
  box-sizing: border-box;
  display: block;
  padding: 12px;
  margin-bottom: 20px;
  background: #f9fbfc;                    /* ultra-light tint of #093855 */
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  line-height: 1.3 !important;
}
.ccb-blog-list::after { content: ""; display: table; clear: both; }

/* Title block: balanced spacing */
.ccb-blog-list .ccb-title {
  margin: 0 0 6px 0 !important;
  line-height: 1.25 !important;
}
.ccb-blog-list .ccb-title h2,
.ccb-blog-list .ccb-title h3,
.ccb-blog-list .ccb-title h4 {
  margin: 0 !important;
  padding: 0 !important;
}

/* === Image (right @ 40% for 60/40 split) === */
.ccb-blog-list .ccb-image { float: right; width: 40%; margin: 0 0 6px 12px; }
.ccb-blog-list .ccb-image a,
.ccb-blog-list .ccb-image img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 4px; }

/* === Text Fields (author/date/tags/etc.) === */
.ccb-blog-list .ccb-author,
.ccb-blog-list .ccb-date,
.ccb-blog-list .ccb-tags {
  display: block;
  width: auto;
  clear: none;
  overflow: visible;
  margin: 0 0 4px 0;
  line-height: 1.45;
}

.ccb-blog-list .ccb-tags {
  font-size: 0.85em !important;  /* shrink tags text */
}

/* Phones: stack — text first, image last */
@media (max-width: 600px) {
  .ccb-blog-list { display: flex; flex-direction: column; gap: 6px; padding: 10px; }
  .ccb-blog-list .ccb-title { order: 1; }
  .ccb-blog-list .ccb-author, .ccb-blog-list .ccb-date, .ccb-blog-list .ccb-tags { order: 2; }
  .ccb-blog-list .ccb-image { order: 3; float: none; width: 100%; margin: 10px 0 0 0; }
}

/* ================================
   LINKS — unset first, then brand behavior
   ================================ */
.ccb-blog-list a,
.ccb-blog-list a:link,
.ccb-blog-list a:visited,
.ccb-blog-list a:hover,
.ccb-blog-list a:focus,
.ccb-blog-list a:active {
  all: unset;
  display: inline;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  border-bottom: none;
  background-image: none;
  box-shadow: none;
  color: inherit;
}

/* Default + visited state */
.ccb-blog-list .ccb-title a,
.ccb-blog-list .ccb-tags a,
.ccb-blog-list .ccb-author a,
.ccb-blog-list .ccb-date a {
  color: #093855 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

/* Hover, focus, active state */
.ccb-blog-list .ccb-title a:hover,
.ccb-blog-list .ccb-title a:focus,
.ccb-blog-list .ccb-title a:active,
.ccb-blog-list .ccb-tags a:hover,
.ccb-blog-list .ccb-tags a:focus,
.ccb-blog-list .ccb-tags a:active,
.ccb-blog-list .ccb-author a:hover,
.ccb-blog-list .ccb-author a:focus,
.ccb-blog-list .ccb-author a:active,
.ccb-blog-list .ccb-date a:hover,
.ccb-blog-list .ccb-date a:focus,
.ccb-blog-list .ccb-date a:active {
  color: #286ca4 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  box-shadow: none !important;
}
