/* Row holding the buttons; wraps and stacks on narrow screens */
.pdf-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    padding: 24px 16px;
    box-sizing: border-box;
}

/* Button: blue bar with an icon cell and a text cell */
.pdf-btn {
    display: flex;
    align-items: stretch;
    flex: 1 1 280px;
    max-width: 100%;
    min-height: 68px;
    box-sizing: border-box;
    background: #3a52a4;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-family: "Open Sans", Arial, sans-serif;
    transition: background 0.2s ease;
border: 2px solid #3a52a4;
}

/* Icon cell with a thin white divider on its right edge */
.pdf-btn-icon-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 64px;
    border-right: 1px solid #ffffff;
}

/* PDF icon sized to sit inside the cell */
.pdf-btn-icon {
    width: 22px;
    height: 22px;
}

/* Label centered in the remaining space; wraps instead of overflowing */
.pdf-btn-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    padding: 12px 16px;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    overflow-wrap: break-word;
}

/* Darker blue on hover and keyboard focus */
.pdf-btn:hover, .pdf-btn:focus-visible {
    background: white;
    color: #3a52a4;

    .pdf-btn-icon-cell {
    border-right: 1px solid #3a52a4;
}
}

/* Visible focus ring for keyboard users */
.pdf-btn:focus-visible {
    outline: 3px solid #9fb2ee;
    outline-offset: 2px;
}

/* Small phones (down to 280px): tighter icon cell and type */
@media (max-width: 480px) {
    .pdf-btn-row {
        padding: 16px 12px;
        gap: 16px;
    }
    .pdf-btn-icon-cell {
        flex-basis: 48px;
    }
    .pdf-btn-text {
        padding: 10px 12px;
        font-size: 1.05rem;
    }
}