.page-id-1249 .wp-block-post-featured-image,
.page-id-2322 .wp-block-post-featured-image,
.page-id-2079 .wp-block-post-featured-image,
.page-id-684 .wp-block-post-featured-image,
.page-id-573 .wp-block-post-featured-image,
.page-id-89815 .wp-block-post-featured-image,
.page-id-100542 .wp-block-post-featured-image,
.postid-86266 .wp-block-post-featured-image,
.postid-85819 .wp-block-post-featured-image,
.postid-83883 .wp-block-post-featured-image,
.postid-24010 .wp-block-post-featured-image,
.postid-89297 .wp-block-post-featured-image,
.postid-99415 .wp-block-post-featured-image,
.postid-88902 .wp-block-post-featured-image,
.postid-88021 .wp-block-post-featured-image,
.postid-80214 .wp-block-post-featured-image
{
  display: none;
}

/* Make all button links white by default */
.ibr-amazon-link a,
.ibr-bookshop-link a {
    color: #FFFFFF !important;
}

/* But keep homepage links black */
.home .ibr-amazon-link a,
.home .ibr-bookshop-link a,
.home .wp-block-button__link {
    color: #000000 !important;
}

/* Except keep the contact button white */
.home .wp-block-button__link[href*="contact"] {
    color: #FFFFFF !important;
}
/* Make "View All" link white on homepage */
.home a[href*="staff-picks"],
.home .staff-picks-section a {
    color: #FFFFFF !important;
}

/* Mobile: Full sentence, large font, and full image */
@media (max-width: 781px) {
    /* 1. Show the full background image */
    .wp-block-cover.show-full-image-mobile img.wp-block-cover__image-background,
    .wp-block-cover.show-full-image-mobile .wp-block-cover__image-background {
        object-fit: contain !important;
        object-position: center !important;
        background-position: center !important;
    }

    /* 2. Setup for reordering */
    .wp-block-cover.show-full-image-mobile .wp-block-cover__inner-container {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 3. Re-position Advertisement and Title above the image */
    .wp-block-cover.show-full-image-mobile p:first-child {
        order: -3 !important;
        position: absolute !important;
        top: -45px !important;
        left: 0 !important;
        font-size: 10px !important;
        color: #888 !important;
        margin: 0 !important;
    }

    .wp-block-cover.show-full-image-mobile h1, 
    .wp-block-cover.show-full-image-mobile h2,
    .wp-block-cover.show-full-image-mobile .wp-block-post-title {
        order: -2 !important;
        position: absolute !important;
        top: -30px !important;
        left: 0 !important;
        width: 100% !important;
        font-size: 16px !important;
        line-height: 1.1 !important;
        color: #000 !important;
        margin: 0 !important;
    }

    /* 4. Show first sentence and attribution with a large font */
    .wp-block-cover.show-full-image-mobile p:not(:first-child) {
        width: 60% !important;
        font-size: 13px !important; /* Large, readable font */
        line-height: 1.3 !important;
        margin-top: 50px !important; /* Pushed into the image area */
        color: #333 !important;
        
        /* This allows for 3 lines, ensuring "stubbornly earnest" fits */
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important; 
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* 5. Attribution - Jenny Catlin... */
    .wp-block-cover.show-full-image-mobile p:not(:first-child)::after {
        content: " - Jenny Catlin, Independent Book Review" !important;
        display: block !important;
        font-size: 11px !important;
        font-weight: bold !important;
        margin-top: 5px !important;
    }

    /* 6. Button positioning */
    .wp-block-cover.show-full-image-mobile .wp-block-button {
        width: 60% !important;
        margin-top: 10px !important;
    }
    .wp-block-cover.show-full-image-mobile .wp-block-button__link {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }

    /* 7. Block height and spacing */
    .wp-block-cover.show-full-image-mobile {
        margin-top: 55px !important;
        min-height: 210px !important; /* Slightly taller to fit the attribution and button */
        aspect-ratio: 16 / 9;
        overflow: visible !important;
    }
}

/* Desktop: Keep original settings */
@media (min-width: 782px) {
    .wp-block-cover.show-full-image-mobile img.wp-block-cover__image-background {
        object-fit: cover !important;
        object-position: 65% 47% !important;
    }
}
