/* ==========================================================================
   Responsive – div#content
   Breakpoints: 1900, 1800, 1700, 1600, 1500, 1400, 1200, 992, 768, 576
   ========================================================================== */

/* ==========================================================================
   <= 1900px
   ========================================================================== */
@media (max-width: 1900px) {
    /* Accordion main title */
    .wp-block-socialfactor-accordion .sfb-accordion-main-title {
        font-size: 130px;
        letter-spacing: -10px;
    }
}

/* ==========================================================================
   <= 1800px
   ========================================================================== */
@media (max-width: 1800px) {
    /* Hero text */
    .wp-block-socialfactor-hero-text .sfb-hero-body {
        font-size: 70px;
        letter-spacing: -5px;
    }
    .wp-block-socialfactor-hero-text .sfb-hero-body strong {
        font-size: 80px;
    }
    /* Animated hero */
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content,
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content p {
        font-size: 70px;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-content,
    .wp-block-socialfactor-accordion .sfb-accordion-content p,
    .wp-block-socialfactor-accordion .sfb-accordion-content a {
        font-size: 70px;
    }
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content strong {
        font-size: 80px;
    }
    /* Content block hero */
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content * {
        font-size: 70px !important;
    }
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content strong,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content b,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h1,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h2,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h3,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h4,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h5 {
        font-size: 80px;
        letter-spacing: -6px;
    }
    /* Custom bands title */
    .wp-block-socialfactor-custom-bands .sfb-cb-band-title {
        font-size: 80px;
        letter-spacing: -6px;
    }
}

/* ==========================================================================
   <= 1700px
   ========================================================================== */
@media (max-width: 1700px) {
    /* Accordion */
    .wp-block-socialfactor-accordion .sfb-accordion-main-title {
        font-size: 110px;
        letter-spacing: -8px;
    }
    .wp-block-socialfactor-accordion button.sfb-accordion-toggle {
        font-size: 75px;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-section.is-open button.sfb-accordion-toggle {
        font-size: 85px;
        letter-spacing: -6px;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-content,
    .wp-block-socialfactor-accordion .sfb-accordion-content p,
    .wp-block-socialfactor-accordion .sfb-accordion-content a {
        font-size: 50px;
    }
    /* Text marquee */
    .wp-block-socialfactor-text-marquee {
        font-size: 75px;
        padding: 120px 0;
    }
}

/* ==========================================================================
   <= 1600px
   ========================================================================== */
@media (max-width: 1600px) {
    /* Gutenberg headings */
    h1.wp-block-heading,
    h2.wp-block-heading {
        font-size: 75px;
        letter-spacing: -5px;
    }
    h3.wp-block-heading {
        font-size: 65px;
    }
    h4.wp-block-heading {
        font-size: 42px;
    }
    /* Archive / page titles */
    .archive .entry-title,
    .page:not(.home) .entry-title,
    .single-customer .entry-title {
        font-size: 75px;
        letter-spacing: -5px;
    }
    /* Hero text */
    .wp-block-socialfactor-hero-text .sfb-hero-body {
        font-size: 62px;
        letter-spacing: -4px;
    }
    .wp-block-socialfactor-hero-text .sfb-hero-body strong {
        font-size: 72px;
    }
    /* Animated hero */
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content,
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content p {
        font-size: 62px;
    }
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content strong {
        font-size: 72px;
    }
    /* Pre-footer */
    footer#pre-footer h2 {
        font-size: 80px;
        letter-spacing: -6px;
    }
    /* Content block hero */
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content * {
        font-size: 62px !important;
    }
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content strong,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content b,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h1,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h2,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h3,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h4,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h5 {
        font-size: 72px;
        letter-spacing: -5px;
    }
    /* Custom bands title */
    .wp-block-socialfactor-custom-bands .sfb-cb-band-title {
        font-size: 70px;
        letter-spacing: -5px;
    }
    /* Content block absolute image */
    .wp-block-socialfactor-content-block .sfb-cb-image img {
        max-width: 400px;
    }
    .wp-block-socialfactor-content-block.sfb-cb-pos-bottom .sfb-cb-content > :nth-last-child(-n+3) {
        padding-right: 350px;
    }
    /* Customer grid (home block) */
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid {
        gap: 80px 100px;
    }
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid-title {
        font-size: 40px;
    }
    /* Accordion with backgrounds */
    .wp-block-socialfactor-accordion-with-backgrounds .sfb-awb-toggle {
        font-size: 34px;
    }
    .wp-block-socialfactor-accordion-with-backgrounds .is-open .sfb-awb-toggle {
        font-size: 42px;
    }
}

/* ==========================================================================
   <= 1500px
   ========================================================================== */
@media (max-width: 1500px) {
    /* Accordion */
    .wp-block-socialfactor-accordion {
        padding: 180px 0 60px 0;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-main-title {
        font-size: 90px;
        letter-spacing: -6px;
    }
    .wp-block-socialfactor-accordion button.sfb-accordion-toggle {
        font-size: 60px;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-section.is-open button.sfb-accordion-toggle {
        font-size: 70px;
        letter-spacing: -5px;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-content,
    .wp-block-socialfactor-accordion .sfb-accordion-content p,
    .wp-block-socialfactor-accordion .sfb-accordion-content a {
        font-size: 40px;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-content {
        padding: 0 10%;
    }
    /* Text marquee */
    .wp-block-socialfactor-text-marquee {
        font-size: 60px;
        padding: 100px 0;
    }
    /* Marquee img */
    .wp-block-socialfactor-marquee {
        padding: 80px 0;
    }
    /* Blockquote */
    blockquote {
        padding-top: 150px;
        padding-bottom: 150px;
    }
    blockquote:before,
    blockquote:after {
        width: 200px;
        height: 160px;
    }
    /* Hero cover */
    .wp-block-socialfactor-hero-cover .sfb-hc-content-box {
        padding: 25px 60px 60px 60px;
        margin-top: -280px;
    }
    .wp-block-socialfactor-hero-cover .sfb-hc-bg img {
        height: 700px;
    }
    /* Content block */
    .wp-block-socialfactor-content-block .sfb-cb-content h1,
    .wp-block-socialfactor-content-block .sfb-cb-content h2 {
        font-size: 42px;
    }
    .wp-block-socialfactor-content-block .sfb-cb-content h3,
    .wp-block-socialfactor-content-block .sfb-cb-content h4 {
        font-size: 34px;
    }
    /* Archive grid */
    .archive-container {
        gap: 50px 80px;
    }
    /* Customers page */
    .page-template-page-customers article .sfb-customer-title {
        font-size: 40px;
    }
}

/* ==========================================================================
   <= 1400px
   ========================================================================== */
@media (max-width: 1400px) {
    /* Gutenberg headings */
    h1.wp-block-heading,
    h2.wp-block-heading {
        font-size: 60px;
        letter-spacing: -4px;
    }
    h3.wp-block-heading {
        font-size: 50px;
    }
    h4.wp-block-heading {
        font-size: 36px;
    }
    /* Archive / page titles */
    .archive .entry-title,
    .page:not(.home) .entry-title,
    .single-customer .entry-title {
        font-size: 60px;
        letter-spacing: -4px;
        margin-bottom: 50px;
    }
    .archive-description,
    .archive-description * {
        font-size: 28px;
    }
    .archive-description {
        margin-bottom: 80px;
    }
    /* Page first paragraph */
    .page:not(.home) .entry-content > p:first-child,
    .single-customer .entry-content > p:first-child,
    .single-customer .entry-content > p:first-child * {
        font-size: 30px !important;
    }
    /* Entry subtitle */
    .entry-subtitle {
        font-size: 30px;
    }
    /* Hero text */
    .wp-block-socialfactor-hero-text .sfb-hero-body {
        font-size: 55px;
        letter-spacing: -3px;
    }
    .wp-block-socialfactor-hero-text .sfb-hero-body strong {
        font-size: 65px;
    }
    .wp-block-socialfactor-hero-text .sfb-hero-title {
        margin-bottom: 70px !important;
    }
    /* Animated hero */
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content,
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content p {
        font-size: 55px;
    }
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content strong {
        font-size: 65px;
        letter-spacing: -4px;
    }
    /* Pre-footer */
    footer#pre-footer h2 {
        font-size: 65px;
        letter-spacing: -4px;
    }
    footer#pre-footer h3 {
        font-size: 28px;
    }
    /* Content block hero */
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content * {
        font-size: 55px !important;
    }
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content strong,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content b,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h1,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h2,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h3,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h4,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h5 {
        font-size: 65px;
        letter-spacing: -4px;
    }
    /* Custom bands title */
    .wp-block-socialfactor-custom-bands .sfb-cb-band-title {
        font-size: 60px;
        letter-spacing: -4px;
    }
    /* Content block image */
    .wp-block-socialfactor-content-block .sfb-cb-image img {
        max-width: 350px;
    }
    .wp-block-socialfactor-content-block.sfb-cb-pos-top .sfb-cb-content > :nth-child(-n+3) {
        padding-right: 150px;
    }
    .wp-block-socialfactor-content-block.sfb-cb-pos-bottom .sfb-cb-content > :nth-last-child(-n+3) {
        padding-right: 280px;
    }
    /* Content block position side */
    .wp-block-socialfactor-content-block.sfb-cb-pos-side {
        margin-bottom: 140px;
    }
    .wp-block-socialfactor-content-block.sfb-cb-pos-side .sfb-cb-image {
        bottom: -120px;
    }
    /* Accordion with backgrounds */
    .wp-block-socialfactor-accordion-with-backgrounds .sfb-awb-toggle {
        font-size: 30px;
    }
    .wp-block-socialfactor-accordion-with-backgrounds .is-open .sfb-awb-toggle {
        font-size: 36px;
    }
    /* Post grid (blog) */
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid {
        gap: 0 70px;
    }
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid-thumb img {
        height: 300px;
    }
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid-title {
        font-size: 26px;
    }
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid-title + p {
        font-size: 20px;
    }
    /* Customer grid (home block) */
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid {
        gap: 60px 80px;
        margin: 70px 0;
    }
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid-title {
        font-size: 34px;
        letter-spacing: -1.5px;
    }
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid-item:nth-child(4) {
        /*margin-left: 40px;
        margin-right: -30px;*/
    }
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid-item:nth-child(5) {
        /*margin-left: -30px;
        margin-right: 40px;*/
    }
    /* Archive grid */
    .archive-container {
        gap: 50px 60px;
    }
    .archive .thumb-container img {
        height: 300px;
    }
    .title-excerpt-container .blog-post-title {
        font-size: 26px;
    }
    .title-excerpt-container .card-text {
        font-size: 20px;
    }
    /* Hero cover */
    .wp-block-socialfactor-hero-cover .sfb-hc-content-box {
        margin-top: -220px;
    }
    .wp-block-socialfactor-hero-cover .sfb-hc-bg img {
        height: 600px;
    }
    .wp-block-socialfactor-hero-cover .sfb-hc-content-box h2,
    .wp-block-socialfactor-hero-cover .sfb-hc-content-box h3 {
        font-size: 34px;
    }
    /* Page title image (icon) */
    .page:not(.home) .entry-title img {
        height: 150px;
        width: 200px;
    }
    /* Cards */
    .wp-block-socialfactor-cards .sfb-cards-card-title {
        font-size: 20px;
    }
    /* Customers page */
    .page-template-page-customers article .sfb-customer-title {
        font-size: 34px;
    }
}

/* ==========================================================================
   <= 1200px
   ========================================================================== */
@media (max-width: 1200px) {
    /* Base typography */
    p {
        font-size: 18px;
    }
    /* Gutenberg headings */
    h1.wp-block-heading,
    h2.wp-block-heading {
        font-size: 50px;
        letter-spacing: -3px;
    }
    h3.wp-block-heading {
        font-size: 42px;
    }
    h4.wp-block-heading {
        font-size: 30px;
    }
    /* Archive / page titles */
    .archive .entry-title,
    .page:not(.home) .entry-title,
    .single-customer .entry-title {
        font-size: 50px;
        letter-spacing: -3px;
        margin-bottom: 40px;
    }
    .archive-description,
    .archive-description * {
        font-size: 24px;
    }
    .archive-description {
        margin-bottom: 60px;
    }
    /* Page first paragraph */
    .page:not(.home) .entry-content > p:first-child,
    .single-customer .entry-content > p:first-child,
    .single-customer .entry-content > p:first-child * {
        font-size: 26px !important;
    }
    .entry-subtitle {
        font-size: 26px;
    }
    /* Hero text */
    .wp-block-socialfactor-hero-text .sfb-hero-body {
        font-size: 45px;
        letter-spacing: -2px;
    }
    .wp-block-socialfactor-hero-text .sfb-hero-body strong {
        font-size: 52px;
    }
    .wp-block-socialfactor-hero-text .sfb-hero-title {
        margin-bottom: 50px !important;
    }
    .wp-block-socialfactor-accordion + .wp-block-socialfactor-hero-text {
        margin-top: 80px;
    }
    /* Animated hero */
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content,
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content p {
        font-size: 45px;
    }
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content strong {
        font-size: 52px;
        letter-spacing: -3px;
    }
    /* Pre-footer */
    footer#pre-footer h2 {
        font-size: 50px;
        letter-spacing: -3px;
    }
    footer#pre-footer h3 {
        font-size: 24px;
        padding: 12px 16px;
    }
    /* Accordion */
    .wp-block-socialfactor-accordion {
        padding: 120px 0 50px 0;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-main-title {
        font-size: 70px;
        letter-spacing: -4px;
    }
    .wp-block-socialfactor-accordion button.sfb-accordion-toggle {
        font-size: 45px;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-section.is-open button.sfb-accordion-toggle {
        font-size: 55px;
        letter-spacing: -4px;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-content,
    .wp-block-socialfactor-accordion .sfb-accordion-content p,
    .wp-block-socialfactor-accordion .sfb-accordion-content a {
        font-size: 30px;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-content {
        padding: 0 5%;
    }
    /* Text marquee */
    .wp-block-socialfactor-text-marquee {
        font-size: 50px;
        padding: 80px 0;
    }
    /* Marquee img */
    .wp-block-socialfactor-marquee {
        padding: 60px 0;
    }
    /* Content block hero */
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content * {
        font-size: 45px !important;
    }
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content strong,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content b,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h1,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h2,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h3,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h4,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h5 {
        font-size: 52px;
        letter-spacing: -3px;
    }
    /* Custom bands title */
    .wp-block-socialfactor-custom-bands .sfb-cb-band-title {
        font-size: 50px;
        letter-spacing: -3px;
    }
    .wp-block-socialfactor-custom-bands .sfb-cb-band-text * {
        font-size: 20px;
    }
    /* Content block */
    .wp-block-socialfactor-content-block .sfb-cb-content h1,
    .wp-block-socialfactor-content-block .sfb-cb-content h2 {
        font-size: 36px;
    }
    .wp-block-socialfactor-content-block .sfb-cb-content h3,
    .wp-block-socialfactor-content-block .sfb-cb-content h4 {
        font-size: 28px;
    }
    .wp-block-socialfactor-content-block .sfb-cb-content p,
    .wp-block-socialfactor-content-block .sfb-cb-content a,
    .wp-block-socialfactor-content-block .sfb-cb-content li {
        font-size: 20px !important;
    }
    /* Content block image – stack on smaller desktops */
    .wp-block-socialfactor-content-block .sfb-cb-image img {
        max-width: 300px;
    }
    .wp-block-socialfactor-content-block.sfb-cb-pos-top {
        margin-top: 130px;
    }
    .wp-block-socialfactor-content-block.sfb-cb-pos-top .sfb-cb-image img {
        top: -130px;
    }
    .wp-block-socialfactor-content-block.sfb-cb-pos-bottom {
        margin-bottom: 130px;
    }
    .wp-block-socialfactor-content-block.sfb-cb-pos-bottom .sfb-cb-content > :nth-last-child(-n+3) {
        padding-right: 230px;
    }
    .wp-block-socialfactor-content-block.sfb-cb-pos-side {
        margin-bottom: 110px;
    }
    .wp-block-socialfactor-content-block.sfb-cb-pos-side .sfb-cb-image {
        bottom: -100px;
    }
    p + .wp-block-socialfactor-content-block {
        margin-top: 50px;
    }
    /* Accordion with backgrounds */
    .wp-block-socialfactor-accordion-with-backgrounds .sfb-awb-toggle {
        font-size: 26px;
        padding: 22px 0;
    }
    .wp-block-socialfactor-accordion-with-backgrounds .is-open .sfb-awb-toggle {
        font-size: 32px;
    }
    /* Post grid (blog) */
    .wp-block-socialfactor-post-grid.grid-type-post {
        padding: 70px 0 50px 0;
    }
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid {
        gap: 0 50px;
    }
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid-thumb img {
        height: 250px;
    }
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid-title + p {
        font-size: 18px;
    }
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid-item:nth-child(2n) {
        margin-top: 50px;
    }
    /* Customer grid (home block) – 2 cols */
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 60px;
        margin: 50px 0;
    }
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid-item {
        grid-column: span 1;
    }
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid-item:nth-child(5n+4),
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid-item:nth-child(5n+5) {
        grid-column: span 1;
    }
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid-title {
        font-size: 28px;
        left: -20px;
    }
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid-item:nth-child(2) {
        top: 0;
    }
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid-item:nth-child(4) {
        margin-left: 0;
        margin-right: 0;
    }
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid-item:nth-child(5) {
        top: 0;
        margin-left: 0;
        margin-right: 0;
    }
    /* Archive grid */
    .archive-container {
        gap: 40px 50px;
        margin-bottom: 80px;
    }
    .archive .thumb-container img {
        height: 260px;
    }
    .title-excerpt-container .blog-post-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    .title-excerpt-container .card-text {
        font-size: 18px;
    }
    .archive-container article:nth-child(2n) {
        top: 50px;
    }
    /* Hero cover */
    .wp-block-socialfactor-hero-cover .sfb-hc-content-box {
        padding: 20px 40px 50px 40px;
        margin-top: -180px;
    }
    .wp-block-socialfactor-hero-cover .sfb-hc-bg img {
        height: 500px;
    }
    .wp-block-socialfactor-hero-cover .sfb-hc-content-box h2,
    .wp-block-socialfactor-hero-cover .sfb-hc-content-box h3 {
        font-size: 30px;
    }
    .wp-block-socialfactor-hero-cover p,
    .wp-block-socialfactor-hero-cover a,
    .wp-block-socialfactor-hero-cover li {
        font-size: 20px !important;
    }
    /* Page title image (icon) */
    .page:not(.home) .entry-title img {
        height: 120px;
        width: 160px;
    }
    /* Blockquote */
    blockquote {
        padding-top: 120px;
        padding-bottom: 120px;
    }
    blockquote:before,
    blockquote:after {
        width: 160px;
        height: 130px;
    }
    blockquote * {
        /*font-size: 20px;*/
    }
    /* Entry bg (single posts) */
    .entry-bg p,
    .entry-bg a,
    .entry-bg li {
        font-size: 20px;
    }
    /* Customers page */
    .page-template-page-customers article .sfb-customer-title {
        font-size: 28px;
    }
    /* SF blocks title labels */
    div[class*=wp-block-socialfactor-]:not(.wp-block-socialfactor-content-block) h1,
    div[class*=wp-block-socialfactor-]:not(.wp-block-socialfactor-content-block) h2 {
        padding: 5px 18px;
        margin-bottom: 35px !important;
    }
    /* Content block hero bottom padding */
    .wp-block-socialfactor-content-block.sfb-cb-style-hero.sfb-cb-pos-bottom {
        padding-top: 70px;
    }
    /* Forms */
    .wpcf7 label {
        font-size: 18px;
    }
}

/* ==========================================================================
   <= 992px
   ========================================================================== */
@media (max-width: 992px) {
    /* Base typography */
    h1 {
        font-size: 38px;
    }
    h2 {
        font-size: 30px;
    }
    h3 {
        font-size: 26px;
    }
    p {
        font-size: 16px;
    }
    /* Gutenberg headings */
    h1.wp-block-heading,
    h2.wp-block-heading {
        font-size: 40px;
        letter-spacing: -2px;
    }
    h3.wp-block-heading {
        font-size: 34px;
    }
    h4.wp-block-heading {
        font-size: 26px;
    }
    /* Archive / page titles */
    .archive .entry-title,
    .page:not(.home) .entry-title,
    .single-customer .entry-title {
        font-size: 40px;
        letter-spacing: -2px;
        margin-bottom: 30px;
    }
    .archive-description,
    .archive-description * {
        font-size: 22px;
    }
    .archive-description {
        margin-bottom: 40px;
    }
    /* Page first paragraph */
    .page:not(.home) .entry-content > p:first-child,
    .single-customer .entry-content > p:first-child,
    .single-customer .entry-content > p:first-child * {
        font-size: 22px !important;
    }
    .entry-subtitle {
        font-size: 22px;
    }
    /* Hero text */
    .wp-block-socialfactor-hero-text .sfb-hero-body {
        font-size: 36px;
        letter-spacing: -2px;
    }
    .wp-block-socialfactor-hero-text .sfb-hero-body strong {
        font-size: 42px;
    }
    .wp-block-socialfactor-hero-text .sfb-hero-title {
        margin-bottom: 40px !important;
    }
    .wp-block-socialfactor-accordion + .wp-block-socialfactor-hero-text {
        margin-top: 60px;
    }
    /* Animated hero */
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content,
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content p {
        font-size: 36px;
    }
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content strong {
        font-size: 42px;
        letter-spacing: -2px;
    }
    .home .wp-block-socialfactor-animated-hero {
        margin-top: -70px;
    }
    .home .sticky-top + #content .wp-block-socialfactor-animated-hero {
        margin-top: -120px;
    }
    /* Pre-footer */
    footer#pre-footer h2 {
        font-size: 40px;
        letter-spacing: -2px;
    }
    footer#pre-footer h3 {
        font-size: 20px;
        padding: 10px 14px;
    }
    /* Accordion */
    .wp-block-socialfactor-accordion {
        padding: 80px 0 40px 0;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-main-title {
        font-size: 50px;
        letter-spacing: -3px;
    }
    .wp-block-socialfactor-accordion button.sfb-accordion-toggle {
        font-size: 34px;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-section.is-open button.sfb-accordion-toggle {
        font-size: 40px;
        letter-spacing: -2px;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-content,
    .wp-block-socialfactor-accordion .sfb-accordion-content p,
    .wp-block-socialfactor-accordion .sfb-accordion-content a {
        font-size: 24px;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-content {
        padding: 0;
    }
    /* Text marquee */
    .wp-block-socialfactor-text-marquee {
        font-size: 36px;
        padding: 60px 0;
        -webkit-text-stroke-width: 1px;
    }
    /* Marquee img */
    .wp-block-socialfactor-marquee {
        padding: 40px 0;
    }
    /* Content block hero */
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content * {
        font-size: 36px !important;
    }
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content strong,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content b,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h1,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h2,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h3,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h4,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h5 {
        font-size: 42px;
        letter-spacing: -2px;
    }
    /* Custom bands title */
    .wp-block-socialfactor-custom-bands .sfb-cb-band-title {
        font-size: 40px;
        letter-spacing: -2px;
    }
    .wp-block-socialfactor-custom-bands .sfb-cb-band-text * {
        font-size: 18px;
    }
    /* Content block */
    .wp-block-socialfactor-content-block .sfb-cb-content h1,
    .wp-block-socialfactor-content-block .sfb-cb-content h2 {
        font-size: 30px;
    }
    .wp-block-socialfactor-content-block .sfb-cb-content h3,
    .wp-block-socialfactor-content-block .sfb-cb-content h4 {
        font-size: 24px;
    }
    .wp-block-socialfactor-content-block .sfb-cb-content p,
    .wp-block-socialfactor-content-block .sfb-cb-content a,
    .wp-block-socialfactor-content-block .sfb-cb-content li {
        font-size: 18px !important;
    }
    /* Content block image – hide absolute positioning, stack */
    .wp-block-socialfactor-content-block .sfb-cb-image img {
        position: static;
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    .wp-block-socialfactor-content-block.sfb-cb-pos-top {
        margin-top: 0;
    }
    .wp-block-socialfactor-content-block.sfb-cb-pos-top .sfb-cb-content > :nth-child(-n+3) {
        padding-right: 0;
    }
    .wp-block-socialfactor-content-block.sfb-cb-pos-bottom {
        margin-bottom: 0;
    }
    .wp-block-socialfactor-content-block.sfb-cb-pos-bottom .sfb-cb-content > :nth-last-child(-n+3) {
        padding-right: 0;
    }
    .wp-block-socialfactor-content-block.sfb-cb-pos-side {
        margin-bottom: 40px;
    }
    .wp-block-socialfactor-content-block.sfb-cb-pos-side .sfb-cb-image {
        bottom: 0;
    }
    .wp-block-socialfactor-content-block.sfb-cb-style-hero.sfb-cb-pos-bottom {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    p + .wp-block-socialfactor-content-block {
        margin-top: 30px;
    }
    /* Accordion with backgrounds */
    .wp-block-socialfactor-accordion-with-backgrounds .sfb-awb-toggle {
        font-size: 22px;
        padding: 18px 0;
    }
    .wp-block-socialfactor-accordion-with-backgrounds .is-open .sfb-awb-toggle {
        font-size: 26px;
    }
    .wp-block-socialfactor-accordion-with-backgrounds .sfb-awb-icon:after {
        font-size: 22px;
    }
    /* Post grid (blog) – single column */
    .wp-block-socialfactor-post-grid.grid-type-post {
        padding: 50px 0 40px 0;
    }
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid {
        grid-template-columns: 1fr;
        gap: 40px 0;
    }
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid-thumb img {
        height: 250px;
        width: 100%;
    }
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid-item:nth-child(2n) {
        margin-top: 0;
    }
    /* Customer grid (home block) – single column */
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid {
        grid-template-columns: 1fr;
        gap: 40px 0;
        margin: 40px 0;
    }
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid-title {
        font-size: 24px;
        left: 0;
        position: relative;
    }
    /* Archive grid – single column */
    .archive-container {
        grid-template-columns: 1fr;
        gap: 40px 0;
        margin-bottom: 60px;
        padding-bottom: 40px;
    }
    .archive-container article:nth-child(2n) {
        top: 0;
    }
    .archive .thumb-container img {
        height: 240px;
        width: 100%;
    }
    .title-excerpt-container .blog-post-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    .title-excerpt-container .card-text {
        font-size: 16px;
    }
    /* Hero cover */
    .wp-block-socialfactor-hero-cover {
        margin-top: 40px;
    }
    .wp-block-socialfactor-hero-cover .sfb-hc-content-box {
        padding: 20px 25px 40px 25px;
        margin-top: -120px;
    }
    .wp-block-socialfactor-hero-cover .sfb-hc-bg img {
        height: 400px;
    }
    .wp-block-socialfactor-hero-cover .sfb-hc-content-box h2,
    .wp-block-socialfactor-hero-cover .sfb-hc-content-box h3 {
        font-size: 26px;
        margin-top: 25px;
    }
    .wp-block-socialfactor-hero-cover p,
    .wp-block-socialfactor-hero-cover a,
    .wp-block-socialfactor-hero-cover li {
        font-size: 18px !important;
    }
    /* Page title image (icon) */
    .page:not(.home) .entry-title img {
        position: static;
        display: block;
        margin-top: 15px;
        height: 100px;
        width: 130px;
    }
    /* Blockquote */
    blockquote {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    blockquote:before,
    blockquote:after {
        width: 120px;
        height: 100px;
    }
    blockquote * {
        /*font-size: 18px;*/
    }
    /* Entry bg (single posts) */
    .entry-bg {
        padding: 40px 0 50px 0;
        margin: 40px 0 50px 0;
    }
    .entry-bg p,
    .entry-bg a,
    .entry-bg li {
        font-size: 18px;
    }
    .entry-bg img {
        margin-top: 40px;
    }
    /* Single post */
    .single #content {
        margin-top: 40px;
    }
    /* Customers page */
    .page-template-page-customers article .sfb-customer-title {
        font-size: 24px;
        padding: 10px 8px;
    }
    .page-template-page-customers .archive-container {
        margin-top: 40px;
    }
    /* Customers grid (page-customers.php) */
    .sfb-customers-grid {
        gap: 60px 30px;
    }
    .sfb-customer-thumb img {
        height: auto !important;
    }
    .sfb-customer-item:nth-child(5n+1),
    .sfb-customer-item:nth-child(5n+2),
    .sfb-customer-item:nth-child(5n+3) {
        width: calc(50% - 15px) !important;
    }
    .sfb-customer-item:nth-child(5n+1) {
        margin-left: 0 !important;
    }
    .sfb-customer-item:nth-child(5n+4),
    .sfb-customer-item:nth-child(5n+5) {
        width: calc(50% - 15px) !important;
        padding-left: 0 !important;
    }
    .sfb-customer-item:nth-child(5n+4) .sfb-customer-title,
    .sfb-customer-item:nth-child(5n+5) .sfb-customer-title {
        left: 0 !important;
    }
    /* SF blocks title labels */
    div[class*=wp-block-socialfactor-]:not(.wp-block-socialfactor-content-block) h1,
    div[class*=wp-block-socialfactor-]:not(.wp-block-socialfactor-content-block) h2 {
        padding: 4px 14px;
        margin-bottom: 25px !important;
        font-size: 24px;
    }
    .home div[class*=wp-block-socialfactor-]:not(.wp-block-socialfactor-content-block) h2 {
        font-size: 45px;
    }
    /* Cards */
    .wp-block-socialfactor-cards .sfb-cards-card-image {
        width: 80px;
    }
    .wp-block-socialfactor-cards .sfb-cards-card-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    /* Forms */
    .wpcf7 {
        padding: 30px 0;
        margin: 30px 0;
    }
    .wpcf7 label {
        font-size: 16px;
    }
    .wpcf7 input[type=text],
    .wpcf7 input[type=number],
    .wpcf7 input[type=tel],
    .wpcf7 input[type=email],
    .wpcf7 select,
    .wpcf7 textarea {
        min-height: 50px;
    }
    .wpcf7 input[type=submit] {
        font-size: 16px;
        padding: 18px 28px;
    }
    /* Entry meta */
    .entry-meta span {
        margin-right: 15px;
    }
}

/* ==========================================================================
   <= 768px
   ========================================================================== */
@media (max-width: 768px) {
    /* Base typography */
    h1 {
        font-size: 32px;
    }
    h2 {
        font-size: 26px;
    }
    h3 {
        font-size: 22px;
    }
    /* Gutenberg headings */
    h1.wp-block-heading,
    h2.wp-block-heading {
        font-size: 32px;
        letter-spacing: -1.5px;
    }
    h3.wp-block-heading {
        font-size: 28px;
    }
    h4.wp-block-heading {
        font-size: 22px;
    }
    /* Archive / page titles */
    .archive .entry-title,
    .page:not(.home) .entry-title,
    .single-customer .entry-title {
        font-size: 34px;
        letter-spacing: -1.5px;
        margin-bottom: 25px;
    }
    .archive-description,
    .archive-description * {
        font-size: 20px;
    }
    /* Page first paragraph */
    .page:not(.home) .entry-content > p:first-child,
    .single-customer .entry-content > p:first-child,
    .single-customer .entry-content > p:first-child * {
        font-size: 20px !important;
    }
    .entry-subtitle {
        font-size: 20px;
    }
    /* Hero text */
    .wp-block-socialfactor-hero-text .sfb-hero-body {
        font-size: 30px;
        letter-spacing: -1.5px;
    }
    .wp-block-socialfactor-hero-text .sfb-hero-body strong {
        font-size: 34px;
    }
    /* Animated hero */
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content,
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content p {
        font-size: 30px;
    }
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content strong {
        font-size: 34px;
        letter-spacing: -1.5px;
    }
    /* Pre-footer */
    footer#pre-footer h2 {
        font-size: 32px;
        letter-spacing: -1.5px;
    }
    footer#pre-footer h3 {
        font-size: 18px;
        padding: 10px 12px;
    }
    /* Accordion */
    .wp-block-socialfactor-accordion {
        padding: 60px 0 30px 0;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-main-title {
        font-size: 40px;
        letter-spacing: -2px;
    }
    .wp-block-socialfactor-accordion button.sfb-accordion-toggle {
        font-size: 26px;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-section.is-open button.sfb-accordion-toggle {
        font-size: 30px;
        letter-spacing: -1.5px;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-content,
    .wp-block-socialfactor-accordion .sfb-accordion-content p,
    .wp-block-socialfactor-accordion .sfb-accordion-content a {
        font-size: 20px;
    }
    /* Text marquee */
    .wp-block-socialfactor-text-marquee {
        font-size: 28px;
        padding: 40px 0;
    }
    /* Content block hero */
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content * {
        font-size: 28px !important;
    }
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content strong,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content b,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h1,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h2,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h3,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h4,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h5 {
        font-size: 34px;
        letter-spacing: -1.5px;
    }
    /* Custom bands title */
    .wp-block-socialfactor-custom-bands .sfb-cb-band-title {
        font-size: 32px;
        letter-spacing: -1.5px;
    }
    .wp-block-socialfactor-custom-bands .sfb-cb-band-text * {
        font-size: 16px;
    }
    /* Content block */
    .wp-block-socialfactor-content-block .sfb-cb-content h1,
    .wp-block-socialfactor-content-block .sfb-cb-content h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }
    .wp-block-socialfactor-content-block .sfb-cb-content h3,
    .wp-block-socialfactor-content-block .sfb-cb-content h4 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    .wp-block-socialfactor-content-block .sfb-cb-content p + h2,
    .wp-block-socialfactor-content-block .sfb-cb-content p + h3,
    .wp-block-socialfactor-content-block .sfb-cb-content p + h4 {
        margin-top: 35px;
    }
    .wp-block-socialfactor-content-block .sfb-cb-content p,
    .wp-block-socialfactor-content-block .sfb-cb-content a,
    .wp-block-socialfactor-content-block .sfb-cb-content li {
        font-size: 16px !important;
    }
    /* Accordion with backgrounds */
    .wp-block-socialfactor-accordion-with-backgrounds .sfb-awb-toggle {
        font-size: 20px;
        padding: 15px 0;
    }
    .wp-block-socialfactor-accordion-with-backgrounds .is-open .sfb-awb-toggle {
        font-size: 24px;
    }
    .wp-block-socialfactor-accordion-with-backgrounds .sfb-awb-icon:after {
        font-size: 18px;
    }
    /* Hero cover */
    .wp-block-socialfactor-hero-cover {
        margin-top: 20px;
    }
    .wp-block-socialfactor-hero-cover .sfb-hc-content-box {
        padding: 15px 20px 30px 20px;
        margin-top: -80px;
    }
    .wp-block-socialfactor-hero-cover .sfb-hc-bg img {
        height: 300px;
    }
    .wp-block-socialfactor-hero-cover .sfb-hc-content-box h2,
    .wp-block-socialfactor-hero-cover .sfb-hc-content-box h3 {
        font-size: 22px;
        margin-top: 20px;
    }
    .wp-block-socialfactor-hero-cover p,
    .wp-block-socialfactor-hero-cover a,
    .wp-block-socialfactor-hero-cover li {
        font-size: 16px !important;
    }
    /* Blockquote */
    blockquote {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    blockquote:before,
    blockquote:after {
        width: 90px;
        height: 75px;
    }
    blockquote * {
        /*font-size: 16px;*/
    }
    /* Entry bg */
    .entry-bg p,
    .entry-bg a,
    .entry-bg li {
        font-size: 16px;
    }
    /* Single post */
    .single #content {
        margin-top: 25px;
    }
    .entry-meta {
        margin-bottom: 20px;
    }
    .entry-meta span {
        display: block;
        margin-right: 0;
        margin-bottom: 5px;
    }
    /* Customers grid (page-customers.php) – single column */
    .sfb-customers-grid {
        gap: 40px 0;
    }
    .sfb-customer-item:nth-child(5n+1),
    .sfb-customer-item:nth-child(5n+2),
    .sfb-customer-item:nth-child(5n+3),
    .sfb-customer-item:nth-child(5n+4),
    .sfb-customer-item:nth-child(5n+5) {
        width: 100% !important;
        padding-left: 0 !important;
    }
    /* Customers page */
    .page-template-page-customers article .sfb-customer-title {
        font-size: 22px;
    }
    /* SF blocks title labels */
    div[class*=wp-block-socialfactor-]:not(.wp-block-socialfactor-content-block) h1,
    div[class*=wp-block-socialfactor-]:not(.wp-block-socialfactor-content-block) h2 {
        font-size: 20px;
        padding: 4px 12px;
        margin-bottom: 20px !important;
    }
    .home div[class*=wp-block-socialfactor-]:not(.wp-block-socialfactor-content-block) h2 {
        font-size: 35px;
    }
    /* Post grid - blog items */
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid-thumb img {
        height: 200px;
    }
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid-title {
        font-size: 20px;
    }
    /* Customer grid (home block) */
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid-title {
        font-size: 20px;
    }
    /* Archive */
    .archive .thumb-container img {
        height: 200px;
    }
    .title-excerpt-container .blog-post-title {
        font-size: 20px;
    }
    /* Top button */
    .top-button {
        width: 60px;
        height: 60px;
    }
}

/* ==========================================================================
   <= 576px
   ========================================================================== */
@media (max-width: 576px) {
    /* Base typography */
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 22px;
    }
    h3 {
        font-size: 20px;
    }
    p {
        font-size: 15px;
    }
    /* Gutenberg headings */
    h1.wp-block-heading,
    h2.wp-block-heading {
        font-size: 26px;
        letter-spacing: -1px;
    }
    h3.wp-block-heading {
        font-size: 24px;
    }
    h4.wp-block-heading {
        font-size: 20px;
    }
    /* Archive / page titles */
    .archive .entry-title,
    .page:not(.home) .entry-title,
    .single-customer .entry-title {
        font-size: 28px;
        letter-spacing: -1px;
        margin-bottom: 20px;
        margin-top: 10px;
    }
    .archive-description,
    .archive-description * {
        font-size: 18px;
    }
    .archive-description {
        margin-bottom: 30px;
    }
    /* Page first paragraph */
    .page:not(.home) .entry-content > p:first-child,
    .single-customer .entry-content > p:first-child,
    .single-customer .entry-content > p:first-child * {
        font-size: 18px !important;
    }
    .entry-subtitle {
        font-size: 18px;
    }
    /* Hero text */
    .wp-block-socialfactor-hero-text .sfb-hero-body {
        font-size: 24px;
        letter-spacing: -1px;
    }
    .wp-block-socialfactor-hero-text .sfb-hero-body strong {
        font-size: 28px;
    }
    .wp-block-socialfactor-hero-text .sfb-hero-title {
        margin-bottom: 30px !important;
    }
    .wp-block-socialfactor-accordion + .wp-block-socialfactor-hero-text {
        margin-top: 40px;
    }
    /* Animated hero */
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content,
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content p {
        font-size: 24px;
    }
    .wp-block-socialfactor-animated-hero .sfb-ah-slide-content strong {
        font-size: 28px;
        letter-spacing: -1px;
    }
    .home .wp-block-socialfactor-animated-hero .sfb-ah-slide-content img {
        max-width: 80px;
    }
    .home .wp-block-socialfactor-animated-hero {
        margin-top: -50px;
    }
    .home .sticky-top + #content .wp-block-socialfactor-animated-hero {
        margin-top: -80px;
    }
    /* Pre-footer */
    footer#pre-footer h2 {
        font-size: 26px;
        letter-spacing: -1px;
    }
    footer#pre-footer h3 {
        font-size: 16px;
        padding: 8px 10px;
    }
    /* Accordion */
    .wp-block-socialfactor-accordion {
        padding: 40px 0 20px 0;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-main-title {
        font-size: 32px;
        letter-spacing: -1.5px;
    }
    .wp-block-socialfactor-accordion button.sfb-accordion-toggle {
        font-size: 22px;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-section.is-open button.sfb-accordion-toggle {
        font-size: 24px;
        letter-spacing: -1px;
    }
    .wp-block-socialfactor-accordion .sfb-accordion-content,
    .wp-block-socialfactor-accordion .sfb-accordion-content p,
    .wp-block-socialfactor-accordion .sfb-accordion-content a {
        font-size: 16px;
    }
    /* Text marquee */
    .wp-block-socialfactor-text-marquee {
        font-size: 22px;
        padding: 30px 0;
    }
    /* Marquee img */
    .wp-block-socialfactor-marquee {
        padding: 25px 0;
    }
    /* Content block hero */
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content * {
        font-size: 22px !important;
    }
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content strong,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content b,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h1,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h2,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h3,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h4,
    .wp-block-socialfactor-content-block.sfb-cb-style-hero .sfb-cb-content h5 {
        font-size: 26px;
        letter-spacing: -1px;
    }
    /* Custom bands title */
    .wp-block-socialfactor-custom-bands .sfb-cb-band-title {
        font-size: 26px;
        letter-spacing: -1px;
    }
    .wp-block-socialfactor-custom-bands .sfb-cb-band-text * {
        font-size: 15px;
    }
    /* Content block */
    .wp-block-socialfactor-content-block .sfb-cb-content h1,
    .wp-block-socialfactor-content-block .sfb-cb-content h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    .wp-block-socialfactor-content-block .sfb-cb-content h3,
    .wp-block-socialfactor-content-block .sfb-cb-content h4 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .wp-block-socialfactor-content-block .sfb-cb-content p + h2,
    .wp-block-socialfactor-content-block .sfb-cb-content p + h3,
    .wp-block-socialfactor-content-block .sfb-cb-content p + h4 {
        margin-top: 25px;
    }
    .wp-block-socialfactor-content-block .sfb-cb-content p,
    .wp-block-socialfactor-content-block .sfb-cb-content a,
    .wp-block-socialfactor-content-block .sfb-cb-content li {
        font-size: 15px !important;
    }
    .wp-block-socialfactor-content-block.sfb-cb-style-hero.sfb-cb-pos-bottom {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    p + .wp-block-socialfactor-content-block {
        margin-top: 20px;
    }
    /* Accordion with backgrounds */
    .wp-block-socialfactor-accordion-with-backgrounds .sfb-awb-toggle {
        font-size: 18px;
        padding: 12px 0;
    }
    .wp-block-socialfactor-accordion-with-backgrounds .is-open .sfb-awb-toggle {
        font-size: 20px;
    }
    .wp-block-socialfactor-accordion-with-backgrounds .sfb-awb-icon:after {
        font-size: 16px;
    }
    /* Hero cover */
    .wp-block-socialfactor-hero-cover {
        margin-top: 10px;
    }
    .wp-block-socialfactor-hero-cover .sfb-hc-content-box {
        padding: 12px 15px 25px 15px;
        margin-top: -50px;
    }
    .wp-block-socialfactor-hero-cover .sfb-hc-bg img {
        height: 220px;
    }
    .wp-block-socialfactor-hero-cover .sfb-hc-content-box h2,
    .wp-block-socialfactor-hero-cover .sfb-hc-content-box h3 {
        font-size: 20px;
        margin-top: 15px;
    }
    .wp-block-socialfactor-hero-cover p,
    .wp-block-socialfactor-hero-cover a,
    .wp-block-socialfactor-hero-cover li {
        font-size: 15px !important;
    }
    /* Blockquote */
    blockquote {
        padding-top: 45px;
        padding-bottom: 45px;
    }
    blockquote:before,
    blockquote:after {
        width: 60px;
        height: 50px;
    }
    blockquote * {
        /*font-size: 15px;*/
    }
    /* Entry bg */
    .entry-bg {
        padding: 25px 0 30px 0;
        margin: 25px 0 30px 0;
    }
    .entry-bg p,
    .entry-bg a,
    .entry-bg li {
        font-size: 15px;
    }
    .entry-bg img {
        margin-top: 25px;
    }
    /* Single post */
    .single #content {
        margin-top: 15px;
    }
    /* SF blocks title labels */
    div[class*=wp-block-socialfactor-]:not(.wp-block-socialfactor-content-block) h1,
    div[class*=wp-block-socialfactor-]:not(.wp-block-socialfactor-content-block) h2 {
        font-size: 18px;
        padding: 3px 10px;
        margin-bottom: 15px !important;
    }
    .home div[class*=wp-block-socialfactor-]:not(.wp-block-socialfactor-content-block) h2 {
        font-size: 25px;
    }
    /* Post grid - blog */
    .wp-block-socialfactor-post-grid.grid-type-post {
        padding: 30px 0;
    }
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid {
        gap: 30px 0;
    }
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid-thumb img {
        height: 180px;
    }
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid-title + p {
        font-size: 15px;
    }
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid-date,
    .wp-block-socialfactor-post-grid.grid-type-post .sfb-post-grid-author a {
        font-size: 14px;
    }
    /* Customer grid (home block) */
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid {
        gap: 30px 0;
        margin: 30px 0;
    }
    .wp-block-socialfactor-post-grid.grid-type-customer .sfb-post-grid-title {
        font-size: 18px;
    }
    /* Archive */
    .archive-container {
        gap: 30px 0;
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
    .archive .thumb-container img {
        height: 180px;
    }
    .title-excerpt-container .blog-post-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .title-excerpt-container .card-text {
        font-size: 15px;
    }
    .content-container .meta,
    .content-container .meta a {
        font-size: 14px;
    }
    /* Customers page */
    .page-template-page-customers article .sfb-customer-title {
        font-size: 18px;
    }
    .page-template-page-customers .archive-container {
        margin-top: 20px;
    }
    /* Cards */
    .wp-block-socialfactor-cards .sfb-cards-card-image {
        width: 60px;
    }
    .wp-block-socialfactor-cards .sfb-cards-card-title {
        font-size: 16px;
    }
    /* Top button */
    .top-button {
        width: 50px;
        height: 50px;
    }
    /* Forms */
    .wpcf7 {
        padding: 20px 0;
        margin: 20px 0;
    }
    .wpcf7 input[type=submit] {
        font-size: 15px;
        padding: 15px 24px;
        width: 100%;
    }
    /* Page title image (icon) */
    .page:not(.home) .entry-title img {
        height: 80px;
        width: 100px;
    }
}

/* ==========================================================================
   <= 420px
   ========================================================================== */
@media (max-width: 420px) {
    .home .wp-block-socialfactor-animated-hero .sfb-ah-slide:first-child .sfb-ah-slide-content p {
        text-align: center;
    }
    .home .wp-block-socialfactor-animated-hero .sfb-ah-slide-content img {
        display: block;
        margin: 10px auto;
    }
}

.wp-block-socialfactor-content-block.sfb-cb-pos-bottom .sfb-cb-content > *,
.wp-block-socialfactor-content-block.sfb-cb-pos-bottom .sfb-cb-content > :nth-last-child(-n+3) > * {
    padding-right: 0;
}

.page-template-page-customers .page-customers-grid .sfb-post-grid-item,
.page-template-page-customers .page-customers-grid .sfb-post-grid-item:nth-child(5n+4),
.page-template-page-customers .page-customers-grid .sfb-post-grid-item:nth-child(5n+5) {
    grid-column: span 2;
    top: 0;
}

.page-template-page-customers .page-customers-grid .sfb-post-grid-title a {
    color: var(--black);
    transition: color .3s ease;
}
.page-template-page-customers .page-customers-grid .sfb-post-grid-title a:hover,
.page-template-page-customers .page-customers-grid .sfb-post-grid-title a:focus-visible {
    color: var(--red);
}

@media (min-width: 1201px) {
    .page-template-page-customers .page-customers-grid .sfb-post-grid {
        row-gap: 110px;
    }
    .page-template-page-customers .page-customers-grid .sfb-post-grid-item:nth-child(2n) {
        margin-top: 25px;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .page-template-page-customers .page-customers-grid .sfb-post-grid {
        row-gap: 100px;
    }
    .page-template-page-customers .page-customers-grid .sfb-post-grid-item:nth-child(2n) {
        margin-top: 20px;
    }
}

@media (max-width: 1200px) {
    .page-template-page-customers .page-customers-grid .sfb-post-grid-item,
    .page-template-page-customers .page-customers-grid .sfb-post-grid-item:nth-child(5n+4),
    .page-template-page-customers .page-customers-grid .sfb-post-grid-item:nth-child(5n+5) {
        grid-column: span 1;
    }
}
