/* ==================================================
   Split from home-sections.css
   File generated for Blocksy child theme modular CSS.
================================================== */

/* ==================================================
   4. HOMEPAGE BLOG – MODERN CARDS
================================================== */

.home .entries,
.home .wp-block-query .wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px 22px;
    align-items: stretch;
}

.home .entries .entry-card,
.home .wp-block-query .wp-block-post {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0 !important;
    padding: 18px 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
        linear-gradient(180deg, #0d0d14 0%, #090910 100%);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    overflow: hidden;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.home .entries .entry-card:hover,
.home .wp-block-query .wp-block-post:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 0, 0, 0.42);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(184, 0, 0, 0.12) inset;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        linear-gradient(180deg, #101019 0%, #0a0a12 100%);
}

.home .entries .entry-card .entry-card-content,
.home .entries .entry-card .ct-entry-box,
.home .wp-block-query .wp-block-post .wp-block-post-excerpt {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home .entries .entry-card .ct-image-container,
.home .entries .entry-card .post-thumbnail,
.home .entries .entry-card .wp-block-post-featured-image,
.home .entries .entry-card [class*="featured-image"],
.home .wp-block-query .wp-block-post .wp-block-post-featured-image {
    aspect-ratio: 1 / 1;
    min-height: 220px;
    margin: 0 0 16px;
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02) !important;
}

.home .entries .entry-card .ct-image-container img,
.home .entries .entry-card .post-thumbnail img,
.home .entries .entry-card .wp-block-post-featured-image img,
.home .entries .entry-card [class*="featured-image"] img,
.home .wp-block-query .wp-block-post .wp-block-post-featured-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 0.28s ease;
}

.home .entries .entry-card:hover .ct-image-container img,
.home .entries .entry-card:hover .post-thumbnail img,
.home .entries .entry-card:hover .wp-block-post-featured-image img,
.home .entries .entry-card:hover [class*="featured-image"] img,
.home .wp-block-query .wp-block-post:hover .wp-block-post-featured-image img {
    transform: scale(1.04);
}

.home .entries .entry-card,
.home .entries .entry-card *,
.home .wp-block-query .wp-block-post,
.home .wp-block-query .wp-block-post * {
    color: #ffffff !important;
}

.home .entries .entry-card .ct-category,
.home .entries .entry-card .meta-categories,
.home .entries .entry-card .meta-categories a,
.home .entries .entry-card .entry-categories,
.home .entries .entry-card .entry-categories a,
.home .entries .entry-card .ct-taxonomies,
.home .entries .entry-card .ct-taxonomies a,
.home .entries .entry-card .post-categories,
.home .entries .entry-card .post-categories a,
.home .entries .entry-card .entry-taxonomies,
.home .entries .entry-card .entry-taxonomies a,
.home .wp-block-query .wp-block-post .wp-block-post-terms,
.home .wp-block-query .wp-block-post .wp-block-post-terms a {
    display: block;
    min-height: 18px;
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #ffffff !important;
    opacity: 1 !important;
    text-decoration: none !important;
    transition: color 0.25s ease;
}

.home .entries .entry-card:hover .ct-category,
.home .entries .entry-card:hover .meta-categories,
.home .entries .entry-card:hover .meta-categories a,
.home .entries .entry-card:hover .entry-categories,
.home .entries .entry-card:hover .entry-categories a,
.home .entries .entry-card:hover .ct-taxonomies,
.home .entries .entry-card:hover .ct-taxonomies a,
.home .entries .entry-card:hover .post-categories,
.home .entries .entry-card:hover .post-categories a,
.home .entries .entry-card:hover .entry-taxonomies,
.home .entries .entry-card:hover .entry-taxonomies a,
.home .wp-block-query .wp-block-post:hover .wp-block-post-terms,
.home .wp-block-query .wp-block-post:hover .wp-block-post-terms a,
.home .entries .entry-card .meta-categories a:hover,
.home .entries .entry-card .entry-categories a:hover,
.home .entries .entry-card .ct-taxonomies a:hover,
.home .entries .entry-card .post-categories a:hover,
.home .entries .entry-card .entry-taxonomies a:hover,
.home .wp-block-query .wp-block-post .wp-block-post-terms a:hover {
    color: #ffffff !important;
    opacity: 1 !important;
}

.home .entries .entry-card .entry-title,
.home .entries .entry-card .entry-title a,
.home .entries .entry-card .ct-entry-title,
.home .entries .entry-card .ct-entry-title a,
.home .wp-block-query .wp-block-post .wp-block-post-title,
.home .wp-block-query .wp-block-post .wp-block-post-title a {
    display: block;
    min-height: 74px;
    margin: 0 0 14px;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    text-wrap: balance;
}

.home .entries .entry-card .entry-excerpt,
.home .entries .entry-card .entry-excerpt p,
.home .entries .entry-card .ct-entry-content,
.home .entries .entry-card .ct-entry-content p,
.home .entries .entry-card .entry-content,
.home .entries .entry-card .entry-content p,
.home .wp-block-query .wp-block-post .wp-block-post-excerpt,
.home .wp-block-query .wp-block-post .wp-block-post-excerpt p {
    min-height: 112px;
    margin: 0;
    color: #ffffff !important;
    opacity: 1 !important;
    font-size: 14px;
    line-height: 1.7;
}

.home .entries .entry-card .entry-meta,
.home .entries .entry-card .entry-meta *,
.home .entries .entry-card .ct-meta,
.home .entries .entry-card .ct-meta *,
.home .wp-block-query .wp-block-post .wp-block-post-date,
.home .wp-block-query .wp-block-post .wp-block-post-date *,
.home .wp-block-query .wp-block-post .wp-block-post-author,
.home .wp-block-query .wp-block-post .wp-block-post-author * {
    margin-top: auto;
    padding-top: 14px;
    font-size: 11px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #ffffff !important;
    opacity: 1 !important;
}

.home .entries .entry-card a:hover,
.home .wp-block-query .wp-block-post a:hover {
    color: #ffffff !important;
    opacity: 0.92 !important;
}
