/* =========================================================
   Single Insights Item page
   /assets/css/single-insights-item.css
   ========================================================= */

/* Breadcrumb nav */
.insights-single__breadcrumb {
    margin-bottom: 28px;
}

.insights-single__breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0a59a4;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.insights-single__breadcrumb a:hover {
    opacity: 0.75;
}

/* Meta bar: extension badge, file size, download button */
.insights-single__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #94939f;
}

.insights-single__extension {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: #e8f0fd;
    color: #0a59a4;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.insights-single__dot {
    color: #c0c0cc;
}

.insights-single__size {
    color: #94939f;
}

.insights-single__download {
    margin-left: auto;
    text-decoration: none;
}

/* PDF viewer – A4-optimised width (~840px), centered within .container */
.insights-single__viewer {
    max-width: 840px;
    width: 100%;
    margin: 0 auto 40px;
    overflow: hidden;
    background: transparent;
}

/* Seamless iframe – no chrome, no borders, fills the viewer completely */
.insights-single__iframe {
    display: block;
    width: 100%;
    height: calc(100vh - 160px);
    min-height: 600px;
    border: none;
    background: transparent;
}

/* Non-PDF fallback */
.insights-single__no-preview {
    padding: 48px 24px;
    text-align: center;
    color: #94939f;
}

.insights-single__no-preview p {
    margin-bottom: 16px;
}

/* Mobile */
@media (max-width: 768px) {
    .insights-single__iframe {
        height: calc(100vh - 120px);
        min-height: 400px;
    }

    .insights-single__meta {
        flex-wrap: wrap;
    }

    .insights-single__download {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
}
