/* ============================================
   BV Plan Documents Widget
   Version: 3.1.0 — Fixed grid, layout, and mobile issues
   ============================================ */

/* ── Wrapper (Grid) ── */
.bv-pd-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
    width: 100%;
}

/* ── Section (one per benefit) ── */
.bv-pd-section {
    display: flex;
    flex-direction: column;
}

/* ── Card ── */
.bv-pd-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/* ── Title ── */
.bv-pd-title {
    padding: 0;
    margin: 0;
    line-height: 1.3;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* ── Subtitle ── */
.bv-pd-subtitle {
    padding: 0;
    margin: 0;
    line-height: 1.5;
    width: 100%;
}

/* ── Icon (for future icon variant) ── */
.bv-pd-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bv-pd-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}

/* ── Links container ── */
.bv-pd-links {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

/* ── Individual Link Row ── */
a.bv-pd-link,
div.bv-pd-link {
    display: block;
    text-decoration: none;
    line-height: 1.5;
}

a.bv-pd-link:hover {
    text-decoration: none;
}

/* ── Mobile (max 767px) ── */
@media (max-width: 767px) {
    .bv-pd-icon img {
        width: 70px;
        height: 70px;
    }
}

/* ── Small Mobile (max 480px) ── */
@media (max-width: 480px) {
    .bv-pd-icon img {
        width: 60px;
        height: 60px;
    }
}
