.wp-block-file.dc-pdf-card {
    padding: 16px;
    border: 1px solid #dfe8e8;
    border-radius: 8px;
    background: var(--io-soft-surface, #eef2ef);
    text-align: center;
}

.dc-pdf-card .dc-pdf-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.dc-pdf-card .dc-pdf-title {
    margin: 0 0 10px;
    color: var(--io-text, #25343d);
    font-size: 15px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.dc-pdf-card .dc-pdf-title span {
    color: var(--io-secondary-text, #526470);
    white-space: nowrap;
}

.dc-pdf-card .dc-pdf-actions a,
.dc-pdf-card .dc-pdf-preview summary {
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 14px;
    color: var(--io-petrol-hover, #10515e);
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
}

.dc-pdf-card .dc-pdf-actions a {
    border: 1px solid var(--io-petrol, #176b7a);
    border-radius: 6px;
    background: var(--io-surface, #fffefb);
    text-decoration: none;
}

.dc-pdf-card .dc-pdf-actions .dc-pdf-download,
.dc-pdf-card .dc-pdf-actions a:hover {
    background: var(--io-petrol, #176b7a);
    color: #fff;
}

.dc-pdf-card .dc-pdf-actions .dc-pdf-download:hover {
    background: var(--io-petrol-hover, #10515e);
}

.dc-pdf-card .dc-pdf-preview {
    margin-top: 8px;
}

.dc-pdf-card .dc-pdf-preview summary {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    cursor: pointer;
}

.dc-pdf-card .dc-pdf-actions a:focus-visible,
.dc-pdf-card .dc-pdf-preview summary:focus-visible {
    outline: 2px solid var(--io-petrol-hover, #10515e);
    outline-offset: 2px;
}

.dc-pdf-card .dc-pdf-preview iframe {
    display: block;
    width: 100%;
    height: clamp(300px, 70vh, 760px);
    border: 1px solid #dfe8e8;
    border-radius: 6px;
    box-sizing: border-box;
}
