body {
    color: #1a1a1a;
    font-family: Inter, sans-serif;
    margin: 0
}

.grid-layout__two-columns {
    align-items: start;
    display: flex;
    gap: 32px
}

@media(max-width:1023px) {
    .grid-layout__shelf {
        display: block
    }
}

.grid-layout__reader {
    margin-bottom: 1rem
}

@media(max-width:767px) {
    .grid-layout__details {
        display: block
    }
}

.grid-layout__ad-by-details {
    margin-bottom: 8px;
    padding-top: 2rem
}

@media(max-width:1023px) {
    .grid-layout__ad-by-details {
        margin-bottom: 2rem;
        padding-top: 1rem
    }
}

@media(max-width:767px) {
    .grid-layout__ad-by-details {
        padding-top: 0
    }
}

.grid-layout__ad-by-reader {
    display: flex;
    flex-direction: column;
    gap: 32px
}

@media(min-width:1440px)and (min-height:900px) {
    .grid-layout__ad-by-reader {
        gap: 48px
    }
}

@media(max-width:1023px) {
    .grid-layout__ad-by-reader {
        display: none
    }
}

.grid-layout__ad-in-shelf {
    padding-top: 2.5rem
}

@media(max-width:1023px) {
    .grid-layout__ad-in-shelf {
        margin-bottom: 32px;
        padding-top: .5rem
    }
}

.section-header {
    margin-bottom: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.document-details {
    flex-grow: 1;
    margin-bottom: 32px
}

@media(min-width:1440px) {
    .document-details {
        margin-bottom: 40px
    }
}

.document-details__main {
    display: flex;
    gap: 0 24px;
    justify-content: space-between
}

@media(max-width:767px) {
    .document-details__main {
        flex-direction: column
    }
}

@media(min-width:1440px) {
    .document-details__main {
        gap: 0 56px
    }
}

.document-details__content {
    gap: 1.5rem;
    justify-content: space-between;
    width: 100%
}

.document-details__wrapper {
    min-width: 0
}

.document-details__meta {
    font-size: .75rem;
    line-height: 1.6;
    margin: .25rem 0 .75rem
}

.document-details__ad {
    padding-top: 14px
}

@media(min-width:1024px)and (max-width:1439px) {
    .document-details__ad {
        display: none
    }
}

@media(max-width:767px) {
    .document-details__ad {
        margin-top: 32px
    }
}

.document-details__try-issuu {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px
}

@media(max-width:767px) {
    .document-details__try-issuu {
        flex-direction: column;
        margin-bottom: 0;
        margin-top: 32px
    }
}

.categories__link:not(:last-child) {
    display: inline-block;
    margin-right: 1rem
}

.description {
    overflow-wrap: anywhere;
    padding-top: 1rem
}

.description__see-more-box {
    margin-left: -1rem;
    margin-top: .5rem
}

@media(max-width:767px) {
    .description__see-more-box {
        display: flex;
        justify-content: center;
        margin-left: 0
    }
}

.description__text {
    max-width: 392px
}

@media(min-width:1024px)and (max-width:1439px) {
    .description__text {
        max-width: 640px
    }
}

@media(min-width:1440px) {
    .description__text {
        max-width: 560px
    }
}

.publish-date {
    color: #666;
    display: inline-block;
    font-weight: 500
}

.publish-date:not(:last-child) {
    margin-right: 1rem
}

.publisher-details {
    align-items: center;
    border-top: 1px solid #e5e5e5;
    display: grid;
    gap: 0 1rem;
    grid-template-columns: 2rem minmax(0, max-content) auto;
    max-width: 100%;
    padding-top: .75rem;
    position: relative
}

.publisher-details__button-container {
    display: flex;
    flex: 1 auto
}

.publisher-avatar__logo {
    border: 1px solid #b2b2b2;
    border-radius: 50%
}

.footer-section {
    grid-area: footer-section;
    max-width: 100%;
    overflow: hidden;
    padding-top: 40px
}

.stream-shelf__more-from-pub-title {
    display: flex;
    font-weight: 400 !important
}

.stream-shelf__more-from-pub-prefix {
    font-weight: 500;
    padding-right: 4px;
    white-space: nowrap
}