#eb .eb-mod-thumb .eb-mod-image-cover {
    border: 1px solid #0c8bcc;
}
#eb .mod-item+.mod-item,#eb .eb-card--border {
    border-top: 1px solid #0c8bcc;
}
#eb.eb-pastel.eb-component {
    background-color: #c0e9ed;
}

#eb .ebd-block p {
  margin-top: 20px;
}

#eb .eb-image-caption {
  font-style: italic;
}

/* EasyBlog responsive YouTube embeds */
#eb .eb-video-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
}

.eb-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Optional alternate ratios */
.eb-video-embed.ratio-4x3 { padding-top: 75%; }
.eb-video-embed.ratio-1x1 { padding-top: 100%; }

/* Hide EasyBlog cover image on single-post pages when we detect a video */
/* If the entry contains a YouTube embed, hide the cover/thumbnail block completely */
#eb .eb-entry:has(iframe[src*="youtube.com/embed"]) .eb-post-thumb,
#eb .eb-entry:has(iframe[src*="youtube-nocookie.com/embed"]) .eb-post-thumb,
#eb .eb-entry:has(.eb-video-embed iframe) .eb-post-thumb {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Belt + suspenders: if anything inside is still rendering, kill it too */
#eb .eb-entry:has(iframe[src*="youtube.com/embed"]) .eb-post-thumb *,
#eb .eb-entry:has(iframe[src*="youtube-nocookie.com/embed"]) .eb-post-thumb *,
#eb .eb-entry:has(.eb-video-embed iframe) .eb-post-thumb * {
  display: none !important;
}
