*,
*:before,
*:after {
    box-sizing: border-box;
}

:root {
    --avns-scroll-padding: calc(var(--avns-header-nav-scroll-padding, 0px) + var(--avns-anchor-nav-scroll-padding, 0px));
}

html {
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--avns-scroll-padding, 0px);
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.wp-site-blocks {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wp-site-blocks > .template-header,
.wp-site-blocks > .template-footer {
    flex: 0;
}

.wp-site-blocks > main {
    flex: 1;
}

/* Block Styles */

.is-style-pattern-rounded-corners-top {
    border-top-left-radius: var(--wp--preset--spacing--100);
    border-top-right-radius: var(--wp--preset--spacing--100);
}

.is-style-group-pull-up--100 {
    margin-top: 0;
    margin-bottom: calc(-1 * var(--wp--preset--spacing--100));
}
  
.is-style-group-pull-up--100 > * {
    position: relative;
    z-index: 1;
    transform: translateY(calc(-1 * var(--wp--preset--spacing--100)));
}

.is-style-row-rounded-top,
.wp-block-cover.is-style-row-rounded-top {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    padding-top: 65px;
    padding-bottom: 65px;
}

.is-style-image-pill--left img {
    border-radius: 50vh 0 0 50vh;  
}

.is-style-image-pill--right img {
    border-radius: 0 50vh 50vh 0;  
}

.is-style-image-rounded--top-left img {
    border-top-left-radius: 33.3% 50%;  
    aspect-ratio: 3/2;
    object-fit: cover;
}

.is-style-image-rounded--top-right img {
    border-top-right-radius: 33.3% 50%;  
    aspect-ratio: 3/2;
    object-fit: cover;
}

.is-style-image-tear-drop--left img{
    border-top-right-radius: 33.3% 50%;   
    border-top-left-radius: 33.3% 50%; 
    border-bottom-right-radius: 33.3% 50%;     
    aspect-ratio: 3/2; 
    object-fit: cover;
}

.is-style-image-tear-drop--right img{
    border-top-right-radius: 33.3% 50%;   
    border-top-left-radius: 33.3% 50%; 
    border-bottom-left-radius: 33.3% 50%;     
    aspect-ratio: 3/2; 
    object-fit: cover;
}
.is-style-image-circle img{
    border-radius: 50%;  
    aspect-ratio: 1/1;  
    object-fit: cover;
}

.is-style-gradient-heading--avanos--vertical {
  background: linear-gradient(to bottom, #ff9e16 0, #fb637e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.is-style-gradient-heading--avanos--horizontal {
  background: linear-gradient(to right, #ff9e16 0, #fb637e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wp-block-image.is-style-rounded img {
    border-radius: 34px;
}

@media (min-width: 783px) {
    .is-style-row-rounded-top,
    .wp-block-cover.is-style-row-rounded-top {
        border-top-left-radius: 100px;
        border-top-right-radius: 100px;
        padding-top: 100px;
        padding-bottom: 100px;
    }
}


.is-style-member-benefit-card {
    border-radius: 28px;
}
ol.wp-block-list.is-style-list {
    counter-reset: custom-counter; /* Initialize custom counter */
    list-style: none; /* Remove default numbering */
    padding-left: 0; /* Remove default padding */
}

ol.wp-block-list.is-style-list > li {
    position: relative; /* Allows positioning of the number */
    padding-left: 40px; /* Add space for the number circle */
    margin-bottom: 10px; /* Add spacing between list items */
}

ol.wp-block-list.is-style-list > li::before {
    content: counter(custom-counter); /* Use the custom counter */
    counter-increment: custom-counter; /* Increment the counter */
    position: absolute;
    top: 50%; /* Align vertically */
    left: 0; /* Position at the start */
    transform: translateY(-50%); /* Center vertically */
    background-color: #D61770; /* Red background */
    color: white; /* White text for contrast */
    border-radius: 50%; /* Make it a circle */
    width: 30px; /* Fixed width */
    height: 30px; /* Fixed height */
    display: flex;
    align-items: center;
    justify-content: center; /* Center the number inside the circle */
    font-size: 16px; /* Adjust font size */
    font-weight: bold; /* Make the number bold */
}

/*********************************************
 * Footer
 *********************************************/
 /* Mobile */

.template-footer {
    margin-block-start: 0;
}

.footer {
    background-color:  var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
    padding: 60px 20px;
}

.footer_container {
    display: grid;
    grid-template-columns: 1fr; /* Single column grid */
    gap: 20px;
    width: 100%;
    transition:all 0.3s ease;
}

.footer_column_left{
    width: 100%;
    transition: all 0.3s ease;
}

.footer_logo{
    width: 200px;
    height: auto;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}


.footer_column_left, .footer_column_right {
    width: 100%;
}

.footer_column_left .footer_header_wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}


.footer_column_left h2 {
    margin-bottom: 10px;
}


.footer_social_icons {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.footer_social-icons img {
    width: 24px !important;
    height: 24px !important;
}

.footer_links{
    margin-top: 20px;
}

.footer_links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer_links li {
    margin-bottom: 15px;
    text-decoration: underline;
    text-transform: uppercase;
    font-weight: bold;
}

.footer_links a {
    color: var(--wp--preset--color--white);
    text-decoration: underline;
}

.footer_links a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.footer_bottom {
    background-color:  var(--wp--preset--color--white);
    color: var(--wp--preset--color--black);
    padding: 20px;
}
.footer_bottom p{
    margin-top: 0;
}

.footer_bottom-links {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    text-transform: uppercase;
    font-weight: bold;
}
/* Helpers */

/* mobile only helpers */
@media (max-width: 786px) {
    /* fix mobile alignright */
    .xs-alignfull {
        float: none !important; /* fixes issues with align right on mobile */
        margin-inline-start: 0 !important; /* fixes issues with align right on mobile */
        width: 100%;
    }
    .xs-border-none {
        border: none;
    }
}

/* Desktop Styles */
@media (min-width: 786px) {
    .footer{
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .footer_logo{
        width: 300px;
        height: auto;
        margin-bottom: 40px;
    }

    .footer_container {
        max-width: 1280px;
        margin: 0 auto;
        gap: 70px;
        grid-template-columns: 1fr 1fr;
    }

    .footer_column_left{
        width: 80%;
    }

    .footer_column_left p,
    .footer_column_right p{
        font-size: var(--wp--preset--font-size--medium);
    }

    .footer_bottom {
        display: flex;
        gap: 40px;
        max-width: 1280px;
        margin: 0 auto;
    }

    .footer_bottom p {
        margin-bottom: 0;
    }

    .footer_bottom p, 
    .footer_bottom-links {
        flex: 1 1 50%;
    }
    /* helpers */
    .md-max-width-6 {
        max-width: 50%;
    }
}
