.case-study-template {
    .hero {
        .company {
           color: var(--wp--preset--color--highlight);
           font-weight: 700;
           text-transform: uppercase;
           text-align: center;
        }

        h1 {
            font-weight: 300;
            text-align: center;
        }

        .learn-more {
            font-size: var(--wp--preset--font-size--small);
            text-align: center;
            cursor: pointer;
        }

        .banner {
            img {
                width: 100%;
                height: auto;
            }
        }
    }

    .content-width {
        .content-block {
            margin-bottom: 9rem;

            &:last-child {
                margin-bottom: 0;
            }
        }
    }

    .info {
        display: flex;

        .info-left {
            flex: 1;

            .logo {
                max-width: 200px;
            }

            .sector {
                background-color: var(--wp--preset--color--base-2);
                padding: 4px 8px;
                margin-right: 8px;
            }
        }

        .info-right {
            flex: 1;
        }

        .stats {
            .wp-block-group {
                display: flex;
                gap: 3rem;
                border-top: 1px solid var(--wp--preset--color--contrast);
                margin-bottom: 1rem;
                padding-top: 1rem;

                p {
                    font-size: 24px;
                    margin: 0;
                    flex: 1;
                }
    
                .percent {
                    color: var(--wp--preset--color--highlight);
                    font-size: 48px;
    
                    strong {
                        font-size: 84px;
                        color: var(--wp--preset--color--contrast);
                    }
                }
            }
        }
    }

    .gallery {
        img {
            width: 100%;
            height: auto;
            margin-bottom: 1rem;
        }
    }

    .quote {
        display: flex;
        flex-direction: column;

        .quote-text {
            font-size: var(--wp--preset--font-size--x-large);
            font-weight: 300;
            text-align: center;
        }

        .quote-name {
            font-size: var(--wp--preset--font-size--small);
            font-weight: 700;
            text-align: center;
            margin-bottom: 0;
        }

        .quote-title {
            font-size: var(--wp--preset--font-size--small);
            text-align: center;
            margin-top: 0;
        }

        .logo {
            max-width: 200px;
            margin: 1rem auto 0;
        }
    }

    .content {
        .idea, 
        .solution,
        .results {
            display: flex;
            border-top: 1px solid var(--wp--preset--color--contrast);
            padding-top: 1rem;
            margin-bottom: 2rem;

            h2 {
                flex: 1;
                font-size: var(--wp--preset--font-size--large);
                margin: 0;
            }

            .surgery-bullet {
                flex: 1;

                p {
                    margin: 0;
                }
            }
        }
    }

    .contact {
        background-color: #E00808;

        h2 {
            color: white;
            text-transform: uppercase;
            margin-top: 0;
        }
    }
}