/**
 * Single post Gutenberg Quote block — The Region redesign.
 *
 * Figma treatment:
 * - white/no-fill background
 * - dark-blue vertical rule on the left
 * - approved Figma quotation-mark PNG
 * - Bebas Neue, uppercase, black, left aligned
 *
 * Desktop Figma spacing: quote block is inset 95px from each side inside a
 * 1320px content width. The site content width is 1400px, so the proportional
 * inset is 95 * 1400 / 1320 = 100.76px, rounded to 101px.
 *
 * Scoped to single-post content only. No markup/content changes are required.
 */
body.single-post .tdb_single_content .tdb-block-inner blockquote.wp-block-quote,
body.single-post .td-post-content blockquote.wp-block-quote {
    position: relative !important;
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    min-height: 150px;
    margin: 40px 0 38px !important;
    padding: 28px 30px 28px 150px !important;
    border: 0 !important;
    border-left: 3px solid #00076c !important;
    background: transparent !important;
    text-align: left !important;
    font-style: normal !important;
}

body.single-post .tdb_single_content .tdb-block-inner blockquote.wp-block-quote::before,
body.single-post .td-post-content blockquote.wp-block-quote::before {
    content: "" !important;
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 79px;
    height: 70px;
    margin: 0;
    background: transparent url('quote-mark.png') center / contain no-repeat;
    pointer-events: none;
}

body.single-post .tdb_single_content .tdb-block-inner blockquote.wp-block-quote > p,
body.single-post .td-post-content blockquote.wp-block-quote > p {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Bebas Neue", sans-serif !important;
    font-size: 32px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    text-align: left !important;
    color: #231f20 !important;
}

body.single-post .tdb_single_content .tdb-block-inner blockquote.wp-block-quote cite,
body.single-post .td-post-content blockquote.wp-block-quote cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    text-transform: none;
}

/*
 * Desktop proportional inset from the approved 1320px Figma content width
 * to the site's 1400px content width: 95px -> 101px per side.
 */
@media (min-width: 1024px) {
    body.single-post .tdb_single_content .tdb-block-inner blockquote.wp-block-quote,
    body.single-post .td-post-content blockquote.wp-block-quote {
        width: calc(100% - 202px) !important;
        margin-left: 101px !important;
        margin-right: 101px !important;
    }
}

@media (max-width: 767px) {
    body.single-post .tdb_single_content .tdb-block-inner blockquote.wp-block-quote,
    body.single-post .td-post-content blockquote.wp-block-quote {
        min-height: 112px;
        margin: 28px 0 !important;
        padding: 20px 16px 20px 78px !important;
        border-left-width: 3px !important;
    }

    body.single-post .tdb_single_content .tdb-block-inner blockquote.wp-block-quote::before,
    body.single-post .td-post-content blockquote.wp-block-quote::before {
        left: 16px;
        width: 50px;
        height: 44px;
    }

    body.single-post .tdb_single_content .tdb-block-inner blockquote.wp-block-quote > p,
    body.single-post .td-post-content blockquote.wp-block-quote > p {
        font-size: 24px !important;
        line-height: 1.05 !important;
    }
}
