@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600&display=swap');

.document-reader-page {
    padding-top: 104px;
    background: #f2f4f7;
    color: #1d2530;
}

.document-reader-header {
    background: #fff;
    border-bottom: 1px solid #e2e7ec;
}

.document-reader-header-inner {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 28px;
}

.document-reader-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #697483;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.document-reader-header h1 {
    margin: 0;
    color: #01093a;
    font-family: "Quicksand", sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.2;
}

.document-reader-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 10px;
    margin-top: 10px;
    color: #6b7480;
    font-size: 13px;
}

.document-reader-meta-separator {
    color: #b6bdc6;
}

.document-reader-note {
    width: min(1100px, calc(100% - 40px));
    margin: 20px auto 0;
    color: #697483;
    font-size: 13px;
    line-height: 1.55;
}

.document-pages {
    width: min(940px, calc(100% - 40px));
    margin: 22px auto 0;
    padding-bottom: 54px;
}

.document-page {
    position: relative;
    margin: 0 0 24px;
    background: #fff;
    border: 1px solid #e0e4e8;
    box-shadow: 0 8px 22px rgba(27, 37, 51, .06);
    overflow: hidden;
}

.document-page:last-child {
    margin-bottom: 0;
}

.document-page img {
    display: block;
    width: 100%;
    height: auto;
    -webkit-user-drag: none;
    user-select: none;
}

.document-page-number {
    position: absolute;
    right: 12px;
    bottom: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(1, 9, 58, .78);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    pointer-events: none;
}

@media (max-width: 767px) {
    .document-reader-page {
        padding-top: 82px;
    }

    .document-reader-header-inner,
    .document-reader-note,
    .document-pages {
        width: min(100% - 24px, 940px);
    }

    .document-reader-header-inner {
        padding: 25px 0 21px;
    }

    .document-reader-note {
        margin-top: 14px;
        font-size: 12px;
    }

    .document-pages {
        margin-top: 15px;
        padding-bottom: 34px;
    }

    .document-page {
        margin-bottom: 14px;
        box-shadow: 0 4px 14px rgba(27, 37, 51, .05);
    }
}
