/* Content Floating Section Styles */
.content-floating-wrapper {
    width: 100%;
    background-color: var(--color-bg-gray);
    padding: 200px 0;
    position: relative;
}

.content-floating-container {
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.content-floating-content {
    width: 1550px;
    background-image: url('/wp-content/uploads/static/floating-card-bg.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    padding: 30px 9% 10px;
    position: relative;
}

/* Top and bottom endcap images */
.content-floating-content::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 100px;
    background-image: url('/wp-content/uploads/static/floating-card-top.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

.content-floating-content::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    height: 100px;
    background-image: url('/wp-content/uploads/static/floating-card-bottom.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

/* Main headline - 30px red bold centered */
.content-floating-headline {
    margin: 0 0 100px 0;
    color: var(--color-red);
    font-size: var(--font-size-h2-bow);
    line-height: var(--font-lh-h2-bow);
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 2;
}

.content-floating-rows {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.content-row {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

/* Container headline with blue border and red bow background */
.content-row-headline-container {
    position: relative;
    width: 100%;
    height: 72px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.content-row-headline-container::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 7px;
    background-image: url('/wp-content/uploads/static/tapered-top-border-blue.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

/* Red bow background container for the headline */
.content-row-headline-container .content-row-headline {
    margin: 0 0 15px;
    padding-bottom: 5px;
    position: relative;
    z-index: 2;
    height: 72px;
    width: 435px;
    background-image: url('/wp-content/uploads/static/red-bow-medium.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The actual headline text */
.content-row-headline {
    color: var(--color-white);
    font-size: var(--font-size-story-accent-35);
    line-height: var(--font-lh-story-accent-35);
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

/* Three column layout */
.content-row-columns {
    display: grid;
    grid-template-columns: 340px .9fr 0.85fr; /* Image column, large list (15% bigger), small list */
    gap: 10px;
    align-items: flex-start;
}

.content-column {
    display: flex;
    flex-direction: column;
}

/* Image column */
.content-column-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-row-image {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-row-image img {
    width: auto;
    height: auto;
    max-height: 330px;
    object-fit: contain;
}

/* List columns */
.content-column-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding-top: 40px;
    min-height: 250px;
}

.content-bulleted-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--font-size-card-body);
    line-height: var(--font-lh-card-body);
    color: var(--color-text);
    align-self: flex-start;
}

.content-bulleted-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-bulleted-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 8px;
    height: 8px;
    background-color: var(--color-red);
    border-radius: 50%;
    transform: translateY(-50%);
}

.content-bulleted-list li:last-child {
    margin-bottom: 0;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .content-row-columns{
        grid-template-columns: 220px .9fr 0.85fr;
    }
}
@media (max-width: 768px) {
    .content-row-headline-container {
        position: absolute;
        top: 210px;

        &::before{
            display: none;
        }
    }
    .content-row-headline-container .content-row-headline{
        width: 225px;
        font-size: 2.0rem;
        line-height: 2.6rem;
    }
    .content-row-columns{
        grid-template-columns: 1fr;
    }
    .content-row{
        position: relative;
    }
    .content-row-image img{
        max-height: 220px;
        max-width: 200px;
    }
    .content-column-list {
        height: auto;
        min-height: 0;
        padding-top: 20px;
    }
    .content-column-list-large {
        height: auto;
        min-height: 0;
        padding-top: 100px;
    }
    .content-bulleted-list{
        padding-left: 0 !important;
    }
}