/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 .single.single-post {
	.site {
		.site-main {
			.container {
				.post-content-wrapper {
					&#main-content {
                        .compass-ads-new {
                            box-shadow: 0px 0px 8px -2px rgba(16, 24, 40, 0.5);
                            border-radius: 10px;
                            margin-top: 30px;
                            margin-bottom: 30px;
                            padding: 12px 18px;
                            @apply font-fellix;
                            
                            @media (min-width: 768px) {
                                padding: 26px;
                            }

                            sub {
                                bottom: 6px;
                                position: relative;
                            }
                        
                            .banner-heading {
                                display: flex;
                                align-items: stretch;
                            }

                            .heading-container {
                                flex-shrink: 0;
                                flex-basis: 100%;
                                
                                @media (min-width: 768px) {
                                    padding-right: 10px;
                                    flex-basis: 66%;
                                }
                            }

                            .cta-container {
                                flex-grow: 1;
                                flex-basis: 0;
                                display: none;

                                @media (min-width: 768px) {
                                    display: block;
                                    padding-bottom: 16px;
                                }
                            }
                            

                            h3 {
                                font-weight: 700;
                                font-size: 20px;
                                margin-top: 5px;
                                margin-bottom: 14px;

                                @media (min-width: 768px) {
                                    font-size:24px;
                                    margin-bottom: 12px;
                                }
                            }
                        
                            .description {
                                font-size: 16px;
                                margin-bottom: 12px;
                                font-weight: 600;

                                ul {
                                    padding-left: 12px;
                                    margin-bottom: 0;
                                }

                                p {
                                    margin-bottom: 0;
                                }

                                @media (min-width: 768px) {
                                    margin-bottom: 0;
                                }
                            }

                            .client-approval-code {
                                text-align: center;
                                margin-bottom: 0;

                                @media (min-width: 768px) {
                                    text-align: right;
                                    margin-bottom: -6px;

                                }
                            }

                            .sponsored-by-heading {
                                margin-bottom: 0;
                                margin-right: 8px;
                            }

                            .sponsored-by-heading,
                            .client-approval-code {
                                font-size: 10px;
                                
                                media (min-width: 768px) {
                                    font-size: 12px;
                                }
                                
                                margin-bottom: 0;
                            }
                        
                            .sponsored-by-logo {
                                display: flex;
                                flex-direction: row;
                                align-items: center;

                                @media (min-width: 768px) {
                                    flex-direction: column;
                                    align-items: end;
                                }
                            }

                            .sponsored-by-logo-container {
                                aspect-ratio: 5 / 2;
                                min-width: 120px;
                                max-width: 120px;
                                min-height: 48px;
                                max-height: 48px;
                                height: auto;
                                overflow: hidden;
                                object-fit: contain;
                                justify-content: end;
                                display: flex;

                                img {
                                    border-radius: 0;
                                    max-height: 48px;
                                    width: auto;
                                }
                            }
                        
                            .top-section {
                                display: flex;
                                flex-direction: column;
                                margin-bottom: 8px;

                                @media (min-width: 768px) {
                                    flex-direction: column;
                                }

                                &.no-isi {
                                    margin-bottom: 0;
                                }

                                .col-1,
                                .col-2,
                                .col-3 {
                                    margin-bottom: 0;
                                }
                        
                                .col-1 {
                                    display: flex;
                                    flex-direction: column;
                                    justify-content: left;
                                    width: 100%;

                                    @media (min-width: 768px) {
                                        width: 100%;
                                        padding-right: 16px;
                                    }
                                }
                        
                                .col-2 {
                                    display: flex;
                                    flex-direction: column;
                                    
                                    flex-direction: column;
                                    width: 100%;

                                    @media (min-width: 768px) {
                                        width: 100%;
                                        align-items: end;
                                        flex-direction: row;
                                    }


                                }

                                .col-3 {
                                    display: flex;
                                    flex-direction: column;
                                    align-items: center;

                                    @media (min-width: 768px) {
                                        flex-direction: row;
                                        justify-content: space-between;
                                        align-items: start;
                                    }

                                    .inner-col-left {
                                        display: flex;
                                        align-items: center;
                                        flex-direction: column-reverse;

                                        @media (min-width: 768px) {
                                            align-items: flex-start;
                                            flex-direction: column;
                                        }
                                    }

                                    .inner-col-right {
                                        flex: 1;

                                        @media (min-width: 768px) {
                                            margin-top: 0;
                                        }
                                    }

                                    &.no-supplimental-links-alt-layout {
                                        .inner-col-right {
                                            width: 100%;
                                            display: flex;
                                            width: 100%;
                                            justify-content: center;
                                            margin-top: 8px;
                                            
                                            @media (min-width: 768px) {
                                                justify-content: flex-end;
                                                margin-top: inherit;
                                            }
                                        }

                                        .sponsored-by-logo {
                                            display: flex;
                                            flex-direction: row;
                                            align-items: flex-start;
                                        }
                                    }

                                    &.no-client-approval-code {
                                        .inner-col-right {
                                            justify-content: center;
                                            margin-top: 8px;

                                            @media (min-width: 768px) {
                                                justify-content: flex-end;
                                                margin-top: inherit;
                                            }
                                        }
                                    }
                                }
                            }

                            .cta-link {
                                display: block;
                                background: #fd417a;
                                color: white;
                                text-decoration: none;
                                border-radius: 8px;
                                padding: 10px 16px;
                                font-weight: 600;
                                font-size: 16px;
                                width: 100%;
                                text-align: center;

                                @media (min-width: 768px) {
                                    width: auto;
                                }

                                &.cta-link-mobile {
                                    display: block;

                                    @media (min-width: 768px) {
                                        display: none;
                                    }
                                }

                                &.cta-link-desktop {
                                    display: none;

                                    @media (min-width: 768px) {
                                        display: block;
                                    }
                                }
                            }
                        
                            .supplimental-links {
                                text-align: center;
                                margin-top: 8px;
                                font-weight: 600;
                                
                                @media (min-width: 768px) {
                                    text-align: left;
                                    margin-top: 0;
                                    padding-right: 10px;
                                }

                                a {
                                    color: #532B9F;
                                    font-size: 12px;
                                    margin-right: 6px;
                                }
                            }

                            .scroll-button-container-outer {
                                border-top: 1px solid #C8C6CC;
                                padding-left: 8px;

                                .scroll-button-container {
                                    display: flex;
                                    justify-content: space-between;

                                    button {
                                        color: white;
                                        border: none;
                                        padding: 1px 16px;
                                        border-radius: 4px;
                                        cursor: pointer;
                                        margin-right: -16px;
                                    }

                                    .scroll-button-inner-container {
                                        display: flex;
                                        flex-direction: column;
                                        margin-top: 6px;
                                        margin-right: 6px;
                                    }
                                }

                                .isi-heading {
                                    font-size: 10px;
                                    font-weight: 600;
                                    margin-top: 6px;
                                    font-weight: 600;
                                    margin-bottom 2px !important;

                                    @media (min-width: 768px) {
                                        font-size: 14px;
                                        margin-bottom: inherit !important;
                                    }
                                }

                                .important-safety-information {
                                
                                    .isi-content-container {
                                        overflow-y: hidden;
                                        max-height: 75px;
                                        p {
                                            font-size: 10px;
                                            line-height: 12px;

                                            @media (min-width: 768px) {
                                                font-size: 14px;
                                                line-height: 18px;
                                            }
                                        }
                                        ul {
                                            padding-left: 12px;

                                            li {
                                                font-size: 10px;
                                                line-height: 12px;

                                                @media (min-width: 768px) {
                                                    font-size: 14px;
                                                    line-height: 18px;
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}