@layer addon {

    .templateCover {
        overflow: hidden;
        .inner {
            align-items: center;
            text-align: center;
            gap: var(--gutter);
            .title, .subTitle, .content {
                color: var(--color-light);
            }
            .title {
                font-size: var(--xl-fontsize);
                line-height: 1;
            }
            @media (min-width: 56em) {
                grid-column: 3 / span 8;
            }
            @media (--min-fablet) {
                grid-column: 3 / span 8;
            }
        }
        &.expertise {
            .media {
                position: absolute;
                left: 50%;
                top: 30%;
                width: 4800px;
                height: 4800px;
                border-radius: 0;
                transform: translateX(-50%);
                @media (max-width: 56em) {
                    width: 2400px;
                    height: 2400px;
                }
                @media (--max-fablet) {
                    width: 2400px;
                    height: 2400px;
                }
                &:before {
                    content: "";
                    position: absolute;
                    opacity: .5;
                    z-index: 2;
                }
                img {
                    animation: circleMove 300s linear infinite;
                }
            }
            .inner {
                z-index: 3;
                @media (min-width: 56em) {
                    grid-column: 4 / span 6;
                }
                @media (--min-fablet) {
                    grid-column: 4 / span 6;
                }
                .intro {
                    display: flex;
                    flex-direction: column;
                    gap: 0;
                    .title {
                        order: 2;
                        margin-top: var(--gutter);
                    }
                    .subTitle {
                        margin-top: auto;
                        order: 1;
                    }
                    .content {
                        order: 3;
                        margin-top: calc(var(--gutter) * 1.25);
                    }
                }
                .buttons {
                    @media (max-width: 56em) {
                        gap: calc(var(--padding) / 2);
                    }
                    @media (--max-fablet) {
                        gap: calc(var(--padding) / 2);
                    }
                }
            }
        }
    }
    
}

@keyframes circleMove {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}