/* Picture of the Week banner (option B): light strip with an orange line on top */
.bppa-pow-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    min-height: 64px;
    margin: 0 0 24px;
    padding: 0 16px 0 0;
    overflow: hidden;
    background: #fff;
    border-top: 3px solid #f26522;
    border-bottom: 1px solid #e3e3e3;
    color: #222;
    text-decoration: none !important;
}

.bppa-pow-banner--invite {
    padding-left: 16px;
}

.bppa-pow-banner-thumb {
    flex: none;
    width: 64px;
    height: 64px;
}

.bppa-pow-banner-thumb img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.bppa-pow-banner-label {
    flex: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #f26522;
}

.bppa-pow-banner-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #222;
}

.bppa-pow-banner-cta {
    flex: none;
    font-weight: 700;
    white-space: nowrap;
    color: #f26522;
    text-decoration: underline;
}

.bppa-pow-banner-cta-short {
    display: none;
}

.bppa-pow-banner:hover .bppa-pow-banner-cta {
    text-decoration: none;
}

/* Phones: thumbnail, label and a short link only */
@media (max-width: 767px) {
    .bppa-pow-banner {
        gap: 10px;
        min-height: 56px;
        padding-right: 12px;
    }

    .bppa-pow-banner-thumb,
    .bppa-pow-banner-thumb img {
        width: 56px;
        height: 56px;
    }

    /* The label may shrink, so the link always stays fully visible */
    .bppa-pow-banner-label {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 12px;
        letter-spacing: 0.06em;
    }

    .bppa-pow-banner-info {
        display: none;
    }

    .bppa-pow-banner-cta-long {
        display: none;
    }

    .bppa-pow-banner-cta-short {
        display: inline;
    }
}