body {
    font-family: 'Open Sans', sans-serif;
    color: #4D4D5E;
    font-size: 18px;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    line-height: 1.8em;
}

h1 {
    line-height: 1.4em;
}

h2 {
    font-size: 36px;
    line-height: 1.4em;
}

h3 {
    font-size: 21px;
}

/* TOP OF PRODUCT PAGE BANNER */
.banner {
    text-align: left;
    background: linear-gradient(rgba(236, 233, 248, 0.69), rgba(236, 233, 248, 0.69)) no-repeat center center / cover;
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 333px;
}

.banner-product {
    text-align: left;
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 333px;
    background-size: cover;
    background-position: center;
}

.banner-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
    background-image: var(--background-image);
}

.banner-product::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(48, 85, 207, 0.5), rgba(48, 85, 207, 0) 33%);
    z-index: 2;
}

.banner-product-maternity-direct {
    text-align: left;
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 333px;
    background-size: cover;
    background-position: center;
}

.banner-product-maternity-direct::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
    background-image: var(--background-image);
}

.banner-product-maternity-direct::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 131, 126, 0.28), rgba(48, 85, 207, 0) 50%);
    z-index: 2;
}

.banner-product-charm {
    text-align: left;
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 333px;
    background-size: cover;
    background-position: center;
}

.banner-product-charm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
    background-image: var(--background-image);
}

.banner-product-charm::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(139, 66, 141, 0.45), rgba(48, 85, 207, 0) 33%);
    z-index: 2;
}

.banner-content {
    position: absolute;
    z-index: 3;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

.banner-product h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 36px;
    max-width: 1200px;
    line-height: 1.4em;
}

.banner-product-title h1 {
    font-size: 52px;
}

.banner-product-title-with-icon {
    display: flex;
    align-items: center;
}

.banner-product-title-with-icon .banner-product-title-icon {
    height: 1.9em;
    margin-right: 5px;
    margin-bottom: 0px;
    margin-top: 25px;
}

@media (max-width: 768px) {
    .banner-product h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .banner-product h1 {
        font-size: 24px;
    }
}


@media (max-width: 200px) {
    .banner-product h1 {
        font-size: 21px;
    }
}

@media (min-width: 1201px) {
    .banner-content {
        padding: 0;
    }
}

/* NAVIGATION BAR */
.navbar {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border-bottom: 1px solid #dddddd;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 10px;
    box-sizing: border-box;
    overflow: hidden;
    font-size: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar img {
    height: 40px;
    margin-right: 10px;
    padding: 0;
}

.nav-links {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: space-around;
}

.navbar a {
    padding: 0 10px;
    color: #333;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    line-height: 1.2em;
    flex-shrink: 0;
    max-width: 180px;
    overflow-wrap: break-word;
}

.navbar a.active {
    color: rgb(136, 40, 144) !important;
}

.navbar a:hover {
    color: rgb(136, 40, 144);
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 900px) {

    .navbar a {
        max-width: 300px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        position: fixed;
        top: 50px;
        left: 0;
        background-color: rgba(255, 255, 255, 0.9);
        border-top: 1px solid #dddddd;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        z-index: 1001; 
    }

    .nav-links.show {
        display: flex;
        max-height: 500px;
    }

    .nav-links a {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
        text-align: left; 
    }

    .nav-links a.active {
        color: rgb(136, 40, 144) !important;
    }

    .hamburger {
        display: block;
    }
}

/* FOOTER */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    bottom: 0;
    width: 100%;
    height: 50px; 
    background-color: #f0f0f0;
    border-top: 1px solid #dddddd;
    padding: 0 20px;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.footer-left, .footer-right {
    font-size: 14px;
    color: #333;
    line-height: 50px;
}

.footer-right a {
    color: rgb(136, 40, 144);
    text-decoration: none;
    line-height: 50px;
}

.footer-right a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        height: auto;
    }

    .footer-left, .footer-right {
        width: 100%;
        text-align: center;
        line-height: 1.4em;
        margin: 0px;
        padding: 0px;
    }
}

/* HOMEPAGE BANNER OVERLAY INTRO TEXT */
.intro {
    text-align: left;
    background: linear-gradient(rgba(236, 233, 248, 0.69), rgba(236, 233, 248, 0.69)), url('../media/hills.png') no-repeat center center / cover;
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
}

.intro-content {
    background: rgba(255, 255, 255, 0);
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 0px;
}

.intro img {
    display: block;
    margin: 0 10px;
    padding-top: 50px;
    max-width: 300px;
}

.intro p {
    margin: 10px;
    line-height: 2em;
}

.intro h1 {
    margin: 10px;
    margin-bottom: 20px;
    color: rgb(136, 40, 144);
    font-family: 'Open Sans', sans-serif;
    font-size: 36px;
}

.intro-br {
    display: block;
    height: 5px
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 0px;
}

.container a {
    color: rgb(136, 40, 144);
    text-decoration: none;
}

.container a:hover {
    text-decoration: underline;
}

.products, .news, .clients-partners {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    align-items: start;
}

.products-title-icon {
    height: 1.4em;
    margin-right: 5px; 
    vertical-align: top;
}

/* CLIENTS AND PARTNERS */

.clients-partners-container {
    border: 1px solid #dddddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.clients-partners {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    align-items: start;
}

.clients-partners img {
    width: 100%;
    max-width: 200px;
    height: auto;
    max-height: 100px;
    border: none;
    border-radius: 0;
    object-fit: contain;
}

.clients-partners img.restricted-height {
    max-height: 100px;
}

.section-header h2 {
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    font-size: 36px;
    color: #4D4D5E;
}

.custom-box, .custom-news-box {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(77, 77, 94, 0.15);
    box-sizing: border-box;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.custom-box h3, .custom-news-box h3 {
    color: #6933b9;
}

@media (max-width: 768px) {
    .custom-box, .custom-news-box {
        width: 100%;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

.shadowEffectDefault {
    box-shadow: -4px 4px 4px rgba(77, 77, 94, 0.15);
}

.custom-box:hover {
    box-shadow: -6px 6px 6px rgba(77, 77, 94, 0.6); 
}

.custom-box a.custom-link { 
    color: inherit;
    text-decoration: none !important;
}

.custom-box a.custom-link:hover { 
    color: #882890;
    text-decoration: none !important;
    background-color: transparent !important;
}

.custom-box ul {
    padding-left: 20px;
    padding-bottom: 0px;
    list-style-type: disc; 
}

.custom-box li {
    margin-bottom: 10px;
    font-size: inherit; 
}

.custom-box button {
    background-color: #4d4d5e;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    align-self: flex-start;
}

.custom-box button:hover {
    color: #4d4d5e;
    font-weight: bold; 
}

@media (max-width: 600px) {
    .custom-box p, .custom-box li, .custom-box button {
        font-size: 15px !important;
    }
    .custom-box p1 {
        font-size: 18px !important;
    }
}

.custom-box.expanded .additional-description {
    display: block;
    padding-top: 0px;
    margin-top: 0px;
}

.custom-news-box {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: -4px 4px 4px rgba(77, 77, 94, 0.15);
    box-sizing: border-box;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.custom-news-box:hover {
    box-shadow: -6px 6px 6px rgba(77, 77, 94, 0.6);
}

.custom-news-box a {
    transition: font-weight 0.3s ease-in-out;
}

.custom-news-box a:hover {
    font-weight: bold;
    color: #882890 !important;
}

.custom-news-box img {
    width: auto;
    height: 125px;
    border: 2px solid #4D4D5E;
    border-radius: 10px;
    box-sizing: border-box;
}

.custom-news-box .image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

@media (max-width: 600px) {
    .custom-news-box p, .custom-news-box li, .custom-news-box button, .custom-news-box a {
        font-size: 15px !important;
    }
    .custom-news-box p1 {
        font-size: 18px !important;
    }
}

/* CAROUSEL */
.carousel, .carousel-charm {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-top: 10px;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 1 0 33.333%;
    box-sizing: border-box;
    padding: 10px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
}

.carousel-item img {
    width: auto;
    height: 50px;
    margin-bottom: 10px;
    object-fit: contain; 
}

.carousel-item h3 {
    font-size: 1em; 
    margin: 5px 0; 
}

.carousel-item p {
    margin: 5px 0; 
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 9; 
    -webkit-box-orient: vertical;
}

@media (max-width: 768px) {
    .carousel-item {
        flex: 1 0 100%; 
    }
}

.carousel-dots {
    text-align: center;
    margin-top: 10px;
}

.carousel-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-dot.active {
    background-color: #4d4d5e;
}

.news-container2 {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 20px;
}

.news-article {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.news-article img {
    width: 100%; 
    height: auto; 
    margin-bottom: 20px; 
    border: 3px solid #dddddd;
    border-radius: 8px;
    display: block; 
    margin-left: auto;
    margin-right: auto;
}

.news-article img.square {
    max-width: 150px; 
    max-height: 150px; 
}

.news-article img.rectangular {
    max-width: 400px; 
    max-height: 350px;
}

.news-article:not(:last-child) {
    margin-bottom: 20px;
}

.news-article h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #882890;
}

.news-article p {
    font-size: 16px;
    line-height: 1.8em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.news-article a {
    color: #882890;
    text-decoration: none;
}

.news-article a:hover {
    text-decoration: underline;
}

/* NEWS ARCHIVE */

.news-archive-item h3 {
    color: #882890;
    margin-bottom: 10px;
}

.news-archive-item h3 a {
    color: #882890;
    text-decoration: none;
}

.news-archive p {
    margin: 0px;
    padding: 0px;
}

.news-archive-item h3 a:hover {
    text-decoration: underline;
}

.news-archive-item-hidden {
  display: none;
  line-height: 1.8em;
}

.news-archive-item h3 .toggle-button {
    color: #882890;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
    text-align: left;
}

.news-archive-item h3 .toggle-button:hover {
    text-decoration: underline;
}

.expanded-content p {
    margin: 16px 0;
}

.expanded-content  p:last-child {
    margin-bottom: 0;
}

/* MEDIA COVERAGES */

.media-coverage {
    margin-top: 20px;
    line-height: 1.8em;
}

.media-item {
    margin-bottom: 10px;
}

.media-item a {
    color: #882890; 
    text-decoration: none;
}

.media-item-latest-news a {
    color: #882890;
    text-decoration: none;
}

.media-item a:hover {
    text-decoration: underline;
}

/* PRODUCT PAGES */
.product-description p {
    font-size: 18px;
    line-height: 1.8em;
}

.product-description h2 {
    font-size: 36px;
}

.product-description h3 {
    font-size: 21px;
}

.product-description a {
    color: #0046AD;
    text-decoration: none;
}

.product-description-md a {
    color: rgb(0, 131, 126);
}

.product-description-charm a {
    color: rgb(38, 0, 94);
}

.product-description a:hover {
    text-decoration: underline;
}

.product-benefits h3 {
    font-size: 18px;
    color: #333;
    margin-top: 20px;
}

.product-benefits ul {
    list-style-type: disc;
}

.product-image {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.product-image img {
    max-width: 700px;
    height: auto;
}

.product-image p {
    font-size: 14px;
    margin-top: 0px;
    max-width: 700px;
    color: #4D4D5E;
    margin: 0 auto;
    line-height: 1.4em;
}

.product-image-screenshot {
    border: 2px solid #dddddd; 
    border-radius: 5px;
}

@media (max-width: 768px) {
    .product-image img {
        max-width: 100%; 
        height: auto; 
    }
}

blockquote {
    border: 3px solid #0046AD;
    margin: 40px 140px;
    padding-left: 20px;
    font-size: 18px;
    font-style: italic;
    color: #0046AD;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    font-weight: bold;
}

.blockquote-smart {
     border: 3px solid #0046AD;
     color: #0046AD;    
}

.blockquote-charm {
     border: 3px solid rgb(38, 0, 94);
     color: rgb(38, 0, 94)
}

.blockquote-maternity-direct {
     border: 3px solid rgb(0, 131, 126);
     color:  rgb(0, 131, 126)
}

blockquote p {
    margin: 0;
}

blockquote footer {
    text-align: right;
    font-size: 14px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    blockquote {
         margin: 20px 0px;
    }
}

/* ROW AND COLUMNS */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 20px -10px;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.column {
    box-sizing: border-box;
    padding: 10px;
}

.col-50 {
    flex: 0 0 48%;
}

.col-33 {
    flex: 0 0 32%;
}

.col-66 {
    flex: 0 0 65%;
}

@media (max-width: 768px) {
    .column {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* MATERNITY DIRECT PRODUCT PHONE IMAGES */
.phone-screenshot, .desktop-screenshot {
    width: 100%; 
    max-height: 400px; 
    object-fit: contain; 
    display: block;
    margin: 0 auto;
    margin-top: 20px;
}

.desktop-screenshot {
    border: 2px solid #dddddd; 
    border-radius: 5px;
}

.screenshot-caption-phone {
    text-align: center;
    font-size: 14px;
    color: #4D4D5E;
    margin-top: 6px;
    line-height: 1.4em;
    max-width: 210px;
}

.screenshot-caption {
    text-align: center;
    font-size: 14px;
    color: #4D4D5E;
    margin-top: 6px;
    line-height: 1.4em;
}

.screenshot-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-video {
    text-align: center;
    margin: 20px 0;
}