/* AskPerTask Request Cards v1.1.15 hybrid polish
   v1.1.14: image crop shifted to 60% center; right meta column widened to 200px.
   Dynamic data from v1.1.x + stable image/card sizing from v1.0.27.
   Scoped to homepage HivePress Requests widget only.
*/

/* ── Card shell ─────────────────────────────────────────────────────────── */
body.home .elementor-widget-hivepress-requests .hp-listing--view-block {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.09);
    border: 1px solid #d1d5db;
    box-sizing: border-box;
    background: #fff;
    position: relative;
    min-height: 430px;
    max-height: 520px;
}

/* ── Image area — EXACT stable behaviour from v1.0.27 ───────────────
   Important: no JS frame, no overlay, no stretching. */
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__image,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__media,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .apt-card-image-wrap,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .request-image-block {
    flex: 0 0 130px !important;
    height: 130px !important;
    min-height: 130px !important;
    max-height: 130px !important;
    overflow: hidden !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 12px 12px 0 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__image img,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__media img,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .apt-card-image-wrap img,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block img.request-image-block,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block img.apt-stable-image {
    width: 100% !important;
    height: 130px !important;
    min-height: 130px !important;
    max-height: 130px !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    box-sizing: border-box !important;
    border-radius: 12px 12px 0 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

/* Disable the old large avatar overlay — it was covering/cropping images on PC/mobile. */
body.home .elementor-widget-hivepress-requests .apt-author-overlay {
    display: none !important;
}

/* Compact trusted badge — top-right on the image, without a large avatar. */
body.home .elementor-widget-hivepress-requests .apt-trusted-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-width: 145px;
    padding: 5px 9px;
    border-radius: 10px;
    background: rgba(17, 24, 39, 0.78);
    color: #fff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    pointer-events: none;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-badge__name {
    max-width: 125px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-badge__status {
    max-width: 125px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.15;
    color: #86efac;
}

/* ── Content wrapper ────────────────────────────────────────────────────── */
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    padding: 0;
    gap: 0;
}

/* ── Author overlay — optional, can be disabled safely ──────────────────── */
body.home .elementor-widget-hivepress-requests .apt-author-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(10, 10, 20, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 5px 9px 5px 5px;
    color: #fff;
    max-width: 190px;
    z-index: 10;
}

body.home .elementor-widget-hivepress-requests .apt-overlay__avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.55);
}

body.home .elementor-widget-hivepress-requests .apt-overlay__info {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

body.home .elementor-widget-hivepress-requests .apt-overlay__name {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.home .elementor-widget-hivepress-requests .apt-overlay__rating {
    font-size: 11px;
    color: #fbbf24;
    font-weight: 600;
}

body.home .elementor-widget-hivepress-requests .apt-overlay__count {
    color: rgba(255,255,255,0.75);
    font-size: 10px;
}

body.home .elementor-widget-hivepress-requests .apt-overlay__status {
    font-size: 9px;
    color: #6ee7b7;
    font-weight: 500;
}

/* ── Card body: 2-column information block ─────────────────────────────── */
body.home .elementor-widget-hivepress-requests .apt-card-body {
    padding: 8px 12px 4px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-shrink: 0;
}

body.home .elementor-widget-hivepress-requests .apt-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

body.home .elementor-widget-hivepress-requests .apt-col-left { flex: 1 1 auto; min-width: 0; }
body.home .elementor-widget-hivepress-requests .apt-col-right { flex: 0 0 auto; text-align: right; max-width: 44%; }

body.home .elementor-widget-hivepress-requests .hp-listing__title,
body.home .elementor-widget-hivepress-requests .apt-row--title .hp-listing__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.28;
    margin: 0;
    padding: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.home .elementor-widget-hivepress-requests .apt-excerpt {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

body.home .elementor-widget-hivepress-requests .apt-request-no {
    font-size: 11px;
    color: #6b7280;
    white-space: nowrap;
}

body.home .elementor-widget-hivepress-requests .apt-request-no strong {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    padding: 2px 7px;
    font-size: 12px;
    color: #111827;
}

body.home .elementor-widget-hivepress-requests .apt-category-pill {
    display: inline-flex;
    align-items: center;
    background: #f0f0ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    white-space: nowrap;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.home .elementor-widget-hivepress-requests .apt-location {
    font-size: 12px;
    color: #374151;
}

body.home .elementor-widget-hivepress-requests .apt-posted-time {
    font-size: 11px;
    color: #9ca3af;
    white-space: nowrap;
}

/* ── Activity bar ───────────────────────────────────────────────────────── */
body.home .elementor-widget-hivepress-requests .apt-activity-bar {
    display: flex;
    align-items: center;
    margin: 5px 12px 4px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    padding: 6px 10px;
    gap: 8px;
    font-size: 11px;
    flex-shrink: 0;
}

body.home .elementor-widget-hivepress-requests .apt-activity-bar__offers {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #374151;
    font-weight: 500;
    flex: 1 1 auto;
    min-width: 0;
}

body.home .elementor-widget-hivepress-requests .apt-activity-bar__offers svg { color: #6366f1; flex-shrink: 0; }

body.home .elementor-widget-hivepress-requests .apt-activity-bar__sep {
    width: 1px;
    height: 15px;
    background: #d1d5db;
    flex-shrink: 0;
}

body.home .elementor-widget-hivepress-requests .apt-activity-bar__countdown {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #059669;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

body.home .elementor-widget-hivepress-requests .apt-activity-bar--expired {
    background: #fef2f2;
    border-color: #fecaca;
}

body.home .elementor-widget-hivepress-requests .apt-activity-bar__countdown--expired { color: #dc2626; }

/* ── Badges row ─────────────────────────────────────────────────────────── */
body.home .elementor-widget-hivepress-requests .apt-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 2px 12px 6px;
    flex-shrink: 0;
}

body.home .elementor-widget-hivepress-requests .apt-badges-row .apt-badge,
body.home .elementor-widget-hivepress-requests .apt-badges-row .apt-request-badge {
    font-size: 11px;
    padding: 3px 9px;
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    border: 1px solid;
    font-weight: 600;
    line-height: 1.1;
    box-sizing: border-box;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
body.home .elementor-widget-hivepress-requests .hp-listing__footer {
    margin-top: auto;
    padding: 8px 12px;
    border-top: 1px solid #f3f4f6;
    flex-shrink: 0;
}

body.home .elementor-widget-hivepress-requests .apt-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

body.home .elementor-widget-hivepress-requests .apt-footer-row > * { margin: 0; }

body.home .elementor-widget-hivepress-requests .hp-listing__attribute--budget {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

/* ── Hide original HivePress meta/attributes replaced by our layout ─────── */
body.home .elementor-widget-hivepress-requests .hp-listing__details--primary,
body.home .elementor-widget-hivepress-requests .hp-listing__attributes--secondary,
body.home .elementor-widget-hivepress-requests .hp-listing__content > .hp-listing__attributes,
body.home .elementor-widget-hivepress-requests .hp-listing__content > p.request-description {
    display: none !important;
}

/* ── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block {
        min-height: 410px;
        max-height: none;
    }

    body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__image,
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__media,
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block .apt-card-image-wrap,
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block .apt-stable-image-block,
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block .request-image-block {
        flex: 0 0 130px;
        height: 130px;
        min-height: 130px;
        max-height: 130px;
    }

    body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__image img,
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__media img,
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block .apt-card-image-wrap img,
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block img.request-image-block,
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block img.apt-stable-image {
        height: 130px;
        min-height: 130px;
        max-height: 130px;
    }

    body.home .elementor-widget-hivepress-requests .apt-author-overlay {
        max-width: 150px;
        padding: 4px 7px 4px 4px;
    }

    body.home .elementor-widget-hivepress-requests .apt-overlay__avatar { width: 26px; height: 26px; }
    body.home .elementor-widget-hivepress-requests .apt-overlay__name { font-size: 11px; }
    body.home .elementor-widget-hivepress-requests .apt-row { flex-wrap: wrap; }
    body.home .elementor-widget-hivepress-requests .apt-col-right { text-align: left; max-width: 100%; }
    body.home .elementor-widget-hivepress-requests .apt-activity-bar { flex-wrap: wrap; gap: 6px; }
    body.home .elementor-widget-hivepress-requests .apt-activity-bar__sep { display: none; }
}

/* Final override: no author overlay on request images in v1.1.7. */
body.home .elementor-widget-hivepress-requests .apt-author-overlay { display: none !important; }


/* v1.1.8 final overlay rules: keep old avatar overlay hidden, keep compact badge visible. */
body.home .elementor-widget-hivepress-requests .apt-author-overlay {
    display: none !important;
}

@media (max-width: 767px) {
    body.home .elementor-widget-hivepress-requests .apt-trusted-badge {
        top: 8px;
        right: 8px;
        max-width: 120px;
        padding: 4px 7px;
        border-radius: 9px;
    }
    body.home .elementor-widget-hivepress-requests .apt-trusted-badge__name,
    body.home .elementor-widget-hivepress-requests .apt-trusted-badge__status {
        max-width: 104px;
    }
    body.home .elementor-widget-hivepress-requests .apt-trusted-badge__name { font-size: 10px; }
    body.home .elementor-widget-hivepress-requests .apt-trusted-badge__status { font-size: 8px; }
}


/* ── v1.1.9 polish: slightly taller images, tighter card rhythm, compact trusted badge ── */
body.home .elementor-widget-hivepress-requests .hp-listing--view-block {
    min-height: 420px !important;
    max-height: 510px !important;
}

body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__image,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__media,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .apt-card-image-wrap,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .request-image-block {
    flex: 0 0 150px !important;
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
}

body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__image img,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__media img,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .apt-card-image-wrap img,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block img.request-image-block,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block img.apt-stable-image {
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
    object-fit: cover !important;
    object-position: center center !important;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-badge {
    top: 8px !important;
    right: 8px !important;
    padding: 4px 8px !important;
    border-radius: 9px !important;
    background: rgba(17, 24, 39, 0.82) !important;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-badge__name {
    font-size: 10px !important;
    line-height: 1.05 !important;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-badge__status {
    font-size: 8px !important;
    line-height: 1.1 !important;
}

body.home .elementor-widget-hivepress-requests .apt-card-body {
    padding: 7px 12px 3px !important;
    gap: 2px !important;
}

body.home .elementor-widget-hivepress-requests .apt-activity-bar {
    margin: 4px 12px 4px !important;
    padding: 5px 9px !important;
}

body.home .elementor-widget-hivepress-requests .apt-badges-row {
    padding: 2px 12px 5px !important;
}

body.home .elementor-widget-hivepress-requests .hp-listing__footer {
    padding: 7px 12px !important;
}

@media (max-width: 767px) {
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block {
        min-height: 400px !important;
        max-height: none !important;
    }

    body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__image,
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__media,
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block .apt-card-image-wrap,
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block .apt-stable-image-block,
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block .request-image-block {
        flex: 0 0 135px !important;
        height: 135px !important;
        min-height: 135px !important;
        max-height: 135px !important;
    }

    body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__image img,
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__media img,
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block .apt-card-image-wrap img,
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block img.request-image-block,
    body.home .elementor-widget-hivepress-requests .hp-listing--view-block img.apt-stable-image {
        height: 135px !important;
        min-height: 135px !important;
        max-height: 135px !important;
    }
}

/* ── v1.1.10 trust card + right meta polish ─────────────────────────────── */
body.home .elementor-widget-hivepress-requests .hp-listing--view-block img.request-image-block,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block img.apt-stable-image,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__image img,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__media img,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .apt-card-image-wrap img {
    object-position: center 38% !important;
}

/* Hide the old compact label if a cached script ever leaves it behind. */
body.home .elementor-widget-hivepress-requests .apt-trusted-badge {
    display: none !important;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-card {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 22;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 210px;
    min-height: 46px;
    padding: 7px 10px 7px 8px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.90), rgba(45, 35, 25, 0.82));
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    box-sizing: border-box;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-card__avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex: 0 0 34px;
    overflow: hidden;
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.58);
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

body.home .elementor-widget-hivepress-requests .apt-trusted-card__avatar img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-card__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
    line-height: 1.05;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-card__top {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-card__top strong {
    display: block;
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 750;
    letter-spacing: -0.01em;
    color: #fff;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-card__rating {
    white-space: nowrap;
    font-size: 13px;
    font-weight: 750;
    color: #facc15;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-card__rating em {
    font-style: normal;
    color: rgba(255,255,255,0.82);
    font-weight: 650;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-card__status {
    display: block;
    max-width: 138px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 650;
    color: #5eead4;
}

/* Cleaner right meta column under the image. */
body.home .elementor-widget-hivepress-requests .apt-card-body {
    padding: 9px 14px 4px !important;
}

body.home .elementor-widget-hivepress-requests .apt-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
}

body.home .elementor-widget-hivepress-requests .apt-info-main {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

body.home .elementor-widget-hivepress-requests .apt-meta-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 132px;
    max-width: 185px;
    padding-right: 2px;
}

body.home .elementor-widget-hivepress-requests .apt-request-no {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #7b8494;
    white-space: nowrap;
}

body.home .elementor-widget-hivepress-requests .apt-request-no__label {
    font-weight: 500;
}

body.home .elementor-widget-hivepress-requests .apt-request-no strong {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 2px 8px !important;
    font-size: 12px !important;
    color: #0f172a !important;
    font-weight: 750 !important;
    box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}

body.home .elementor-widget-hivepress-requests .apt-category-pill {
    max-width: 175px !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    line-height: 1.05 !important;
    justify-content: center;
}

body.home .elementor-widget-hivepress-requests .apt-posted-time {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    font-size: 11px !important;
    color: #9aa3b2 !important;
    white-space: nowrap;
}

body.home .elementor-widget-hivepress-requests .apt-activity-bar {
    align-items: center !important;
    min-height: 30px;
}

body.home .elementor-widget-hivepress-requests .apt-activity-bar__offers,
body.home .elementor-widget-hivepress-requests .apt-activity-bar__countdown {
    align-items: center !important;
}

@media (max-width: 767px) {
    body.home .elementor-widget-hivepress-requests .apt-trusted-card {
        top: 8px;
        right: 8px;
        min-height: 36px;
        max-width: 155px;
        gap: 7px;
        padding: 5px 8px 5px 6px;
        border-radius: 11px;
    }

    body.home .elementor-widget-hivepress-requests .apt-trusted-card__avatar {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
        border-width: 1.5px;
    }

    body.home .elementor-widget-hivepress-requests .apt-trusted-card__top strong {
        max-width: 70px;
        font-size: 12px;
    }

    body.home .elementor-widget-hivepress-requests .apt-trusted-card__rating {
        font-size: 10px;
    }

    body.home .elementor-widget-hivepress-requests .apt-trusted-card__status {
        max-width: 105px;
        font-size: 9px;
    }

    body.home .elementor-widget-hivepress-requests .apt-info-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    body.home .elementor-widget-hivepress-requests .apt-meta-stack {
        align-items: flex-start;
        min-width: 0;
        max-width: 100%;
        gap: 5px;
    }
}


/* ── v1.1.11 compact premium trust card polish ───────────────────────────
   Keep v1.1.10 structure, but reduce the overlay so it does not dominate images. */
body.home .elementor-widget-hivepress-requests .apt-trusted-card {
    top: 10px !important;
    right: 10px !important;
    min-height: 38px !important;
    max-width: 165px !important;
    gap: 7px !important;
    padding: 5px 8px 5px 6px !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.88), rgba(45, 35, 25, 0.78)) !important;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.20) !important;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-card__avatar {
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
    border-width: 1.5px !important;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-card__text {
    gap: 1px !important;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-card__top {
    gap: 6px !important;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-card__top strong {
    max-width: 72px !important;
    font-size: 13px !important;
    line-height: 1.05 !important;
    font-weight: 750 !important;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-card__status {
    max-width: 112px !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    color: #5eead4 !important;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-card__rating {
    font-size: 11px !important;
    line-height: 1 !important;
}

body.home .elementor-widget-hivepress-requests .apt-trusted-card__rating em {
    font-size: 10px !important;
}

/* v1.1.15: revert to true center center for balanced crop across all image types. */
body.home .elementor-widget-hivepress-requests .hp-listing--view-block img.request-image-block,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block img.apt-stable-image,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__image img,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .hp-listing__media img,
body.home .elementor-widget-hivepress-requests .hp-listing--view-block .apt-card-image-wrap img {
    object-position: center center !important;
}

@media (max-width: 767px) {
    body.home .elementor-widget-hivepress-requests .apt-trusted-card {
        top: 7px !important;
        right: 7px !important;
        min-height: 32px !important;
        max-width: 130px !important;
        gap: 5px !important;
        padding: 4px 6px 4px 5px !important;
        border-radius: 9px !important;
    }

    body.home .elementor-widget-hivepress-requests .apt-trusted-card__avatar {
        width: 22px !important;
        height: 22px !important;
        flex-basis: 22px !important;
    }

    body.home .elementor-widget-hivepress-requests .apt-trusted-card__top strong {
        max-width: 58px !important;
        font-size: 10px !important;
    }

    body.home .elementor-widget-hivepress-requests .apt-trusted-card__status {
        max-width: 86px !important;
        font-size: 7.5px !important;
    }

    body.home .elementor-widget-hivepress-requests .apt-trusted-card__rating {
        font-size: 8px !important;
    }
}

/* ── v1.1.12 clickable trusted member card ─────────────────────────────── */
body.home .elementor-widget-hivepress-requests a.apt-trusted-card {
    pointer-events: auto !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

body.home .elementor-widget-hivepress-requests a.apt-trusted-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.24) !important;
}

body.home .elementor-widget-hivepress-requests a.apt-trusted-card:focus-visible {
    outline: 2px solid rgba(94, 234, 212, 0.95) !important;
    outline-offset: 2px !important;
}


/* ── v1.1.14 right meta column alignment polish ──────────────────────────
   Widen right column to 200px so Request no / category / posted time share
   a clean right edge without feeling cramped or randomly floating. */
body.home .elementor-widget-hivepress-requests .apt-card-body {
    padding: 9px 16px 5px !important;
}

body.home .elementor-widget-hivepress-requests .apt-info-grid {
    grid-template-columns: minmax(0, 1fr) 200px !important;
    column-gap: 16px !important;
    align-items: start !important;
}

body.home .elementor-widget-hivepress-requests .apt-meta-stack {
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    padding-right: 0 !important;
    align-items: flex-end !important;
    gap: 7px !important;
}

body.home .elementor-widget-hivepress-requests .apt-request-no,
body.home .elementor-widget-hivepress-requests .apt-posted-time {
    width: 200px !important;
    justify-content: flex-end !important;
    text-align: right !important;
}

body.home .elementor-widget-hivepress-requests .apt-request-no {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    line-height: 1.15 !important;
}

body.home .elementor-widget-hivepress-requests .apt-request-no__label {
    color: #8b95a5 !important;
    font-size: 10.5px !important;
}

body.home .elementor-widget-hivepress-requests .apt-request-no strong {
    min-width: 48px !important;
    text-align: center !important;
    padding: 2px 7px !important;
}

body.home .elementor-widget-hivepress-requests .apt-category-pill {
    max-width: 200px !important;
    min-height: 23px !important;
    padding: 4px 9px !important;
    text-align: center !important;
}

body.home .elementor-widget-hivepress-requests .apt-request-category-wrap {
    display: flex !important;
    justify-content: flex-end !important;
    text-align: right !important;
    width: 200px !important;
}

body.home .elementor-widget-hivepress-requests .apt-posted-time {
    color: #9aa3b2 !important;
    font-size: 10.5px !important;
    margin-top: 1px !important;
    display: flex !important;
    justify-content: flex-end !important;
}

body.home .elementor-widget-hivepress-requests .apt-activity-bar {
    margin: 6px 16px 5px !important;
    padding: 5px 8px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 1px 112px !important;
    column-gap: 9px !important;
    align-items: center !important;
    min-height: 30px !important;
}

body.home .elementor-widget-hivepress-requests .apt-activity-bar__offers {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body.home .elementor-widget-hivepress-requests .apt-activity-bar__sep {
    justify-self: center !important;
    height: 16px !important;
    background: #d8dee8 !important;
}

body.home .elementor-widget-hivepress-requests .apt-activity-bar__countdown {
    justify-content: flex-end !important;
    text-align: right !important;
    min-width: 112px !important;
}

body.home .elementor-widget-hivepress-requests .apt-badges-row {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

body.home .elementor-widget-hivepress-requests .hp-listing__footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

@media (max-width: 767px) {
    body.home .elementor-widget-hivepress-requests .apt-card-body {
        padding: 8px 12px 4px !important;
    }

    body.home .elementor-widget-hivepress-requests .apt-info-grid {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }

    body.home .elementor-widget-hivepress-requests .apt-meta-stack {
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        align-items: flex-start !important;
    }

    body.home .elementor-widget-hivepress-requests .apt-request-no,
    body.home .elementor-widget-hivepress-requests .apt-posted-time,
    body.home .elementor-widget-hivepress-requests .apt-request-category-wrap {
        width: auto !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    body.home .elementor-widget-hivepress-requests .apt-activity-bar {
        margin-left: 12px !important;
        margin-right: 12px !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
    }

    body.home .elementor-widget-hivepress-requests .apt-activity-bar__sep {
        display: none !important;
    }

    body.home .elementor-widget-hivepress-requests .apt-activity-bar__countdown {
        min-width: auto !important;
    }
}
