/* Match the homepage's .container; site CSS makes .gridContainer full width. */
body.single-post,
body.single-post .post-page,
body.single-post .post-page .post-item,
body.single-post .post-content-single {
    background: #FDEEDE !important;
    color: #000;
}

body.single-post .post-page {
    padding: 64px 0;
    font-family: "Outfit", sans-serif;
    text-align: center;
}

body.single-post .post-page > .gridContainer,
body.single-post .footer > .gridContainer {
    box-sizing: border-box;
    width: calc(100% - 40px) !important;
    max-width: 1216px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
}

body.single-post .post-page > .gridContainer > .row {
    margin-inline: 0;
}

body.single-post .post-page > .gridContainer > .row > .col-xs-12 {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
    min-width: 0;
    padding-inline: 0;
}

body.single-post .post-page .post-meta,
body.single-post .post-page .post-navigation,
body.single-post .footer {
    text-align: center;
}

body.single-post .post-page .post-meta {
    margin-inline: 0;
    justify-content: center;
}

body.single-post .post-page .post-meta > div,
body.single-post .post-page .post-navigation .nav-previous,
body.single-post .post-page .post-navigation .nav-next {
    text-align: center;
}

body.single-post .post-page .post-meta > div {
    flex-basis: 100%;
    max-width: 100%;
}

body.single-post .post-page .post-meta ul {
    padding-left: 0;
}

body.single-post .post-page .post-meta,
body.single-post .post-page .post-navigation {
    display: none;
}

body.single-post .ia-back-to-news {
    margin-top: 40px;
    text-align: center;
}

body.single-post .ia-back-to-news--top {
    margin: 0 0 32px;
}

body.single-post .ia-back-to-news a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 56px;
    box-sizing: border-box;
    padding: 16px 30px;
    background: #258b43;
    color: #fff !important;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-transform: uppercase;
    text-decoration: none;
    border: 0;
    border-radius: 0;
}

body.single-post .ia-back-to-news a:hover {
    background: #1b7034;
}

body.single-post .ia-back-to-news a:focus-visible {
    outline: 2px solid #000;
    outline-offset: 4px;
}

body.single-post .post-page .post-item {
    box-shadow: none;
    border: 0;
    border-radius: 0;
}

body.single-post .post-content-single {
    padding: 0 !important;
}

body.single-post .post-content-single > h1 {
    display: block !important;
    color: #000 !important;
    font-family: "Playfair Display", serif !important;
    font-weight: 400;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.25;
    text-align: center;
    margin: 0 auto 32px;
    overflow-wrap: anywhere;
}

body.single-post .post-content-single > .meta {
    display: none;
}

body.single-post .post-page .post-content-inner,
body.single-post .post-page .post-content-inner *,
body.single-post .post-page .post-meta,
body.single-post .post-page .post-meta *,
body.single-post .post-page .tags-list,
body.single-post .post-page .tags-list *,
body.single-post .post-page .post-navigation a {
    color: #000 !important;
}

body.single-post .post-content-inner {
    font-family: "Outfit", sans-serif !important;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    overflow-wrap: break-word;
}

body.single-post .post-content-inner :is(p, a, li, blockquote, figcaption, span, strong, em) {
    font-family: "Outfit", sans-serif !important;
}

body.single-post .post-content-inner :is(p, figcaption) {
    text-align: center !important;
}

body.single-post .post-content-inner :is(h1, h2, h3) {
    font-family: "Playfair Display", serif !important;
}

body.single-post .post-content-inner a {
    text-decoration: underline;
}

body.single-post .post-content-inner img,
body.single-post .post-content-inner video {
    display: block;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
}

body.single-post .post-content-inner figure,
body.single-post .post-content-inner .wp-caption,
body.single-post .post-content-inner .alignleft,
body.single-post .post-content-inner .alignright,
body.single-post .post-content-inner .alignwide,
body.single-post .post-content-inner .alignfull {
    float: none;
    max-width: 100%;
    margin-inline: auto;
}

body.single-post .post-content-inner iframe {
    display: block;
    max-width: 100%;
    margin-inline: auto;
}

body.single-post .post-content-inner iframe[src*="youtube.com"],
body.single-post .post-content-inner iframe[src*="youtube-nocookie.com"],
body.single-post .post-content-inner iframe[src*="player.vimeo.com"] {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

@media (max-width: 767px) {
    body.single-post .post-page {
        padding: 36px 0;
    }

    body.single-post .post-content-inner {
        font-size: 16px;
        line-height: 1.7;
    }
}
