/* One card design for the directory, homepage and related blog sections. */
#datacrops-site .blog-card {
    --blog-blue: #018bba;
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    color: #111;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .035);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

#datacrops-site .blog-card-img-wrapper {
    display: block;
    width: 100%;
    height: auto;
    flex: 0 0 auto;
    overflow: hidden;
    background: #eaf8fc;
}

#datacrops-site .blog-card-img-wrapper img {
    position: static;
    display: block;
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    object-position: center;
}

#datacrops-site .blog-card-content { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 22px; }
#datacrops-site .blog-card-content > .dc-blog-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; color: #64748b; font-size: 11px; line-height: 1.5; }
#datacrops-site .blog-card .blog-card-title { margin: 0 0 12px; color: #111; font-size: 20px !important; line-height: 1.4; letter-spacing: normal; overflow-wrap: anywhere; transition: color .2s ease; }
#datacrops-site .dc-blog-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid #edf1f5; }
#datacrops-site .dc-blog-card-foot > i { color: #018bba; }
#datacrops-site .dc-blog-author { display: inline-flex; min-width: 0; align-items: center; gap: 9px; color: #475569; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
#datacrops-site .dc-blog-author > img { display: block; flex: 0 0 32px; width: 32px; height: 32px !important; object-fit: contain !important; }
#datacrops-site .blog-card .dc-blog-image-placeholder { color: #018bba; font-size: 48px; }
#datacrops-site .blog-card:focus-visible { outline: 2px solid #ff914d; outline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
    #datacrops-site .blog-card:hover { transform: translateY(-5px); border-color: #bde5f2; box-shadow: 0 14px 30px rgba(1, 139, 186, .1); }
    #datacrops-site .blog-card:hover .blog-card-title { color: #018bba; }
}

@media (max-width: 767px) {
    #datacrops-site .blog-card-img-wrapper--placeholder { min-height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
    #datacrops-site .blog-card { transition: none; }
    #datacrops-site .blog-card:hover { transform: none; }
}
