/* ============================================
   BV Plan Documents Widget
   Version: 1.0.0
   ============================================ */

/* ── Wrapper ── */
.bv-pd-wrapper {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

/* ── Section (one per plan) ── */
.bv-pd-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ── Title ── */
.bv-pd-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #1a3a4a;
    margin: 0 0 4px 0;
    padding: 0;
    line-height: 1.3;
}

/* ── Subtitle ── */
.bv-pd-subtitle {
    font-size: 0.95rem;
    color: #6b7b8a;
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1.5;
}

/* ── Card ── */
.bv-pd-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 700px;
}

.bv-pd-card--no-icon {
    justify-content: center;
}

/* ── Icon ── */
.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 ── */
.bv-pd-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

/* ── Individual Link Row ── */
a.bv-pd-link,
div.bv-pd-link {
    display: inline;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 4px;
    line-height: 1.5;
    transition: all 250ms ease;
    text-align: center;
}

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

/* ── Primary Text (bold) ── */
.bv-pd-link-primary {
    font-weight: 700;
    color: #1a3a4a;
    transition: color 250ms ease;
}

a.bv-pd-link:hover .bv-pd-link-primary {
    color: #0e6fa8;
}

/* ── Separator ── */
.bv-pd-link-sep {
    color: #1a3a4a;
}

/* ── Secondary Text (regular) ── */
.bv-pd-link-secondary {
    font-weight: 400;
    color: #6b7b8a;
    transition: color 250ms ease;
}

/* ── Tablet (max 1024px) ── */
@media (max-width: 1024px) {
    .bv-pd-wrapper {
        gap: 40px;
    }

    .bv-pd-card {
        padding: 24px;
        gap: 20px;
    }

    .bv-pd-icon img {
        width: 80px;
        height: 80px;
    }

    .bv-pd-title {
        font-size: 1.45rem;
    }
}

/* ── Mobile (max 767px) ── */
@media (max-width: 767px) {
    .bv-pd-wrapper {
        gap: 36px;
    }

    .bv-pd-card {
        flex-direction: column;
        padding: 24px 20px;
        gap: 16px;
        text-align: center;
    }

    .bv-pd-icon img {
        width: 70px;
        height: 70px;
    }

    .bv-pd-links {
        align-items: center;
    }

    .bv-pd-title {
        font-size: 1.3rem;
    }

    .bv-pd-subtitle {
        font-size: 0.875rem;
    }

    a.bv-pd-link,
    div.bv-pd-link {
        padding: 5px 6px;
        font-size: 0.875rem;
    }
}

/* ── Small Mobile (max 480px) ── */
@media (max-width: 480px) {
    .bv-pd-wrapper {
        gap: 30px;
    }

    .bv-pd-card {
        padding: 18px 16px;
        border-radius: 12px;
    }

    .bv-pd-icon img {
        width: 60px;
        height: 60px;
    }

    .bv-pd-title {
        font-size: 1.15rem;
    }

    a.bv-pd-link,
    div.bv-pd-link {
        font-size: 0.825rem;
    }
}
