.ekr-blog-detail {
    --ekr-blog-detail-max-width: 1263px;
    --ekr-blog-detail-reading-width: 960px;
    --ekr-blog-detail-red: #d4251c;
    --ekr-blog-detail-red-dark: #a91d16;
    --ekr-blog-detail-text: #202428;
    --ekr-blog-detail-muted: #6f7479;
    --ekr-blog-detail-divider: #f3f3f3;
    --ekr-blog-detail-heading-font: Bahnschrift, Arial, sans-serif;
    --ekr-blog-detail-body-font: "Open Sans", Arial, sans-serif;
}

.ekr-blog-detail .page-main {
    padding-top: 48px !important;
    padding-bottom: 120px;
}

.ekr-blog-detail .breadcrumbs {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--ekr-blog-detail-max-width);
    margin: 32px auto 0;
    padding-right: 0;
    padding-left: 0;
}

.ekr-blog-detail .breadcrumbs a {
    color: var(--ekr-blog-detail-red);
}

.ekr-blog-detail .columns {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--ekr-blog-detail-max-width);
    margin: 0 auto;
    padding-top: 0;
}

.ekr-blog-detail .column.main {
    width: 100%;
    max-width: none;
    padding: 0;
}

.ekr-blog-detail .page-title-wrapper,
.ekr-blog-detail .post-view-modern {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--ekr-blog-detail-reading-width);
    margin-right: auto;
    margin-left: auto;
}

.ekr-blog-detail .page-title-wrapper {
    margin-bottom: 48px;
}

.ekr-blog-detail .page-title-wrapper .page-title {
    margin: 0;
    color: var(--ekr-blog-detail-red);
    font-family: var(--ekr-blog-detail-heading-font);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.ekr-blog-detail .post-view-modern .post-header {
    margin-bottom: 42px;
    padding-bottom: 24px;
    border-bottom: 5px solid var(--ekr-blog-detail-divider);
}

.ekr-blog-detail .post-view-modern .post-category,
.ekr-blog-detail .post-view-modern .post-data-wrap {
    margin-bottom: 0 !important;
}

.ekr-blog-detail .post-view-modern .post-category {
    margin-bottom: 14px !important;
}

.ekr-blog-detail .post-view-modern .post-category a {
    display: inline-block;
    margin: 0 14px 6px 0;
    padding: 0 0 4px;
    border-bottom: 2px solid currentColor;
    color: var(--ekr-blog-detail-red);
    background: transparent;
    font-family: var(--ekr-blog-detail-heading-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}

.ekr-blog-detail .post-view-modern .post-category a:hover,
.ekr-blog-detail .post-view-modern .post-category a:focus {
    color: var(--ekr-blog-detail-red-dark);
}

.ekr-blog-detail .post-view-modern .post-data-wrap {
    color: var(--ekr-blog-detail-muted);
    font-family: var(--ekr-blog-detail-body-font);
    font-size: 15px;
    line-height: 1.6;
}

.ekr-blog-detail .post-view-modern .post-data-wrap a {
    color: inherit;
}

.ekr-blog-detail .post-view-modern .post-featured-image {
    margin: 0 0 48px;
    font-size: 0;
}

.ekr-blog-detail .post-view-modern .post-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

.ekr-blog-detail .post-view-modern .post-description {
    margin-bottom: 0;
    color: var(--ekr-blog-detail-text);
    font-family: var(--ekr-blog-detail-body-font);
    font-size: 20px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.ekr-blog-detail .post-view-modern .post-description > :first-child {
    margin-top: 0;
}

.ekr-blog-detail .post-view-modern .post-description > :last-child {
    margin-bottom: 0;
}

.ekr-blog-detail .post-view-modern .post-description p {
    margin: 0 0 28px;
    font-size: inherit;
    line-height: inherit;
}

.ekr-blog-detail .post-view-modern .post-description h2,
.ekr-blog-detail .post-view-modern .post-description h3,
.ekr-blog-detail .post-view-modern .post-description h4 {
    font-family: var(--ekr-blog-detail-heading-font);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.ekr-blog-detail .post-view-modern .post-description h2 {
    margin: 64px 0 24px;
    color: var(--ekr-blog-detail-red);
    font-size: 36px;
    line-height: 1.2;
}

.ekr-blog-detail .post-view-modern .post-description h3 {
    margin: 48px 0 20px;
    color: #111820;
    font-size: 29px;
    line-height: 1.25;
}

.ekr-blog-detail .post-view-modern .post-description h4 {
    margin: 38px 0 16px;
    color: #111820;
    font-size: 24px;
    line-height: 1.3;
}

.ekr-blog-detail .post-view-modern .post-description a {
    color: var(--ekr-blog-detail-red);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.ekr-blog-detail .post-view-modern .post-description a:hover,
.ekr-blog-detail .post-view-modern .post-description a:focus {
    color: var(--ekr-blog-detail-red-dark);
}

.ekr-blog-detail .post-view-modern .post-description ul,
.ekr-blog-detail .post-view-modern .post-description ol {
    margin: 0 0 28px;
    padding-left: 1.5em;
}

.ekr-blog-detail .post-view-modern .post-description li {
    margin-bottom: 10px;
}

.ekr-blog-detail .post-view-modern .post-description img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 34px auto;
}

.ekr-blog-detail .post-view-modern .post-description > [data-content-type='row']:first-of-type img {
    margin-top: 0;
}

.ekr-blog-detail .post-view-modern .post-description > p:nth-last-child(2),
.ekr-blog-detail .post-view-modern .post-description > :nth-last-child(2) p:last-child {
    margin-bottom: 0;
}

.ekr-blog-detail .post-view-modern .post-bottom {
    margin-top: 64px;
}

.ekr-blog-detail .post-view-modern .post-sharing-bottom {
    margin-bottom: 32px;
}

.ekr-blog-detail .post-view-modern .post-nextprev {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    margin: 0;
    padding: 36px 0;
    border-top: 5px solid var(--ekr-blog-detail-divider);
    border-bottom: 5px solid var(--ekr-blog-detail-divider);
}

.ekr-blog-detail .post-view-modern .post-nextprev > div {
    width: auto;
    max-width: none;
}

.ekr-blog-detail .post-view-modern .post-nextprev .nextprev-link {
    float: none !important;
    display: block;
    color: var(--ekr-blog-detail-red);
    font-family: var(--ekr-blog-detail-heading-font);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    opacity: 1;
    text-decoration: none;
}

.ekr-blog-detail .post-view-modern .post-nextprev .nextprev-link:hover,
.ekr-blog-detail .post-view-modern .post-nextprev .nextprev-link:focus {
    color: var(--ekr-blog-detail-red-dark);
}

.ekr-blog-detail .post-view-modern .post-nextprev .nextprev-link span {
    margin-bottom: 8px;
    color: var(--ekr-blog-detail-muted);
    font-family: var(--ekr-blog-detail-body-font);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ekr-blog-detail .post-view-modern .post-next {
    text-align: right;
}

@media (max-width: 1320px) {
    .ekr-blog-detail .breadcrumbs,
    .ekr-blog-detail .columns {
        max-width: calc(100% - 40px);
    }

    .ekr-blog-detail .page-title-wrapper,
    .ekr-blog-detail .post-view-modern {
        max-width: min(var(--ekr-blog-detail-reading-width), 100%);
    }

    .ekr-blog-detail .page-title-wrapper .page-title {
        font-size: 44px;
    }
}

@media (max-width: 991px) {
    .ekr-blog-detail .page-main {
        padding-top: 40px !important;
        padding-bottom: 88px;
    }

    .ekr-blog-detail .page-title-wrapper {
        margin-bottom: 40px;
    }

    .ekr-blog-detail .post-view-modern .post-description {
        font-size: 19px;
    }
}

@media (max-width: 767px) {
    .ekr-blog-detail .page-main {
        padding-top: 32px !important;
        padding-bottom: 64px;
    }

    .ekr-blog-detail .breadcrumbs,
    .ekr-blog-detail .columns {
        max-width: calc(100% - 32px);
    }

    .ekr-blog-detail .breadcrumbs {
        margin-top: 24px;
    }

    .ekr-blog-detail .page-title-wrapper {
        margin-bottom: 32px;
    }

    .ekr-blog-detail .page-title-wrapper .page-title {
        font-size: 34px;
        line-height: 1.2;
    }

    .ekr-blog-detail .post-view-modern .post-header {
        margin-bottom: 32px;
        padding-bottom: 20px;
    }

    .ekr-blog-detail .post-view-modern .post-data-wrap {
        font-size: 14px;
    }

    .ekr-blog-detail .post-view-modern .post-featured-image {
        margin-bottom: 34px;
    }

    .ekr-blog-detail .post-view-modern .post-bottom {
        margin-top: 48px;
    }

    .ekr-blog-detail .post-view-modern .post-sharing-bottom {
        margin-bottom: 24px;
    }

    .ekr-blog-detail .post-view-modern .post-description {
        font-size: 18px;
        line-height: 1.7;
    }

    .ekr-blog-detail .post-view-modern .post-description p {
        margin-bottom: 24px;
    }

    .ekr-blog-detail .post-view-modern .post-description h2 {
        margin: 48px 0 20px;
        font-size: 30px;
    }

    .ekr-blog-detail .post-view-modern .post-description h3 {
        margin: 38px 0 18px;
        font-size: 25px;
    }

    .ekr-blog-detail .post-view-modern .post-description h4 {
        font-size: 22px;
    }

    .ekr-blog-detail .post-view-modern .post-nextprev {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 0;
        padding: 30px 0;
    }

    .ekr-blog-detail .post-view-modern .post-next {
        text-align: left;
    }

    .ekr-blog-detail .post-view-modern .post-nextprev .text-right {
        text-align: left !important;
    }
}
