/* ==========================================
   SPONSORED BANNER — PDNob (Tenorshare)
   Used on /tools/ (below search) and /pdf-tools/unlock-pdf/ (above Quick Tips)
   ========================================== */
.pm-sponsor {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 900px;
    margin: 26px auto 0;
    padding: 18px 20px 18px 26px;
    border-radius: 18px;
    background: linear-gradient(90deg, #08112e 0%, #0d1c4a 55%, #0a1536 100%);
    border: 1.5px solid #2f74ff;
    box-shadow: 0 0 0 1px rgba(47, 116, 255, 0.18), 0 0 24px rgba(47, 116, 255, 0.35), inset 0 0 28px rgba(47, 116, 255, 0.12);
    color: #ffffff;
    text-decoration: none !important;
    font-family: 'Poppins', 'Inter', sans-serif;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.pm-sponsor:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(47, 116, 255, 0.3), 0 0 32px rgba(47, 116, 255, 0.55), inset 0 0 28px rgba(47, 116, 255, 0.15);
}

.pm-sponsor-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.pm-sponsor-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.pm-sponsor-name {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #ffffff;
    line-height: 1;
}

.pm-sponsor-text {
    flex: 1;
    min-width: 0;
}

.pm-sponsor-title {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    color: #ffffff;
}

.pm-sponsor-title .pm-sponsor-hl {
    color: #38c4ff;
}

.pm-sponsor-sub {
    display: block;
    margin-top: 4px;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.4px;
    color: #8fa3c7;
}

.pm-sponsor-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    border-radius: 50px;
    background: linear-gradient(90deg, #1ea0ff, #2f6bff);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(30, 140, 255, 0.45);
}

@media (max-width: 980px) and (min-width: 601px) {
    .pm-sponsor-title { white-space: normal; }
}

/* Unlock PDF page: sits inside the tool card */
.tool-card .pm-sponsor {
    max-width: none;
    margin: 20px 0;
}

@media (max-width: 600px) {
    .pm-sponsor {
        flex-wrap: wrap;
        gap: 10px 14px;
        padding: 14px 16px;
    }

    .pm-sponsor-text {
        flex-basis: 100%;
    }

    .pm-sponsor-brand img {
        width: 40px;
        height: 40px;
    }

    .pm-sponsor-name {
        font-size: 1.35rem;
    }

    .pm-sponsor-title {
        font-size: 1.08rem;
        white-space: normal;
    }

    .pm-sponsor-sub {
        font-size: 0.8rem;
    }

    .pm-sponsor-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }
}
