.pricing-read-more-button-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    max-width: 310px;
    width: 100%;
    margin: auto;
    padding: 5px;
    border-radius: 3em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.2);
    margin-top: 70px;
    margin-bottom: 70px;
}

.pricing-read-more-button a {
    display: inline-block;
    padding: 0px 20px;
    background-color: var(--theme-color);
    color: var(--theme-accent-color);
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.pricing-read-more-button a:hover,
.pricing-read-more-button.active {
    background-color: #e6c068;
    border-radius: 3em 3em 3em 3em;
    cursor: pointer;
    color: white;
}

.pricing-read-more-button a:hover::after {
    width: 100%;
}

.packages-content-page-wrap .page_content_wrap {
    padding-top: 0;
}
.pricing-read-more-page-main-banner {
    box-shadow: 0px 5px 16px 0px #e6c068;
    border-radius: 6px;
    box-sizing: border-box;
    padding: 30px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.pricing-read-more-page-main-banner-image {
    border-radius: inherit;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 0;
}
.pricing-read-more-page-main-banner-wrapper {
    max-width: 1206px;
    width: 100%;
    margin: auto;
    position: relative;
}

.pricing-read-more-page-overview-items,
.pricing-read-more-page-item-prices,
.pricing-read-more-page-item-faq {
    visibility: hidden;
    opacity: 0;
    position: absolute;
}

.pricing-read-more-page-overview-items.activated-section,
.pricing-read-more-page-item-prices.activated-section,
.pricing-read-more-page-item-faq.activated-section {
    visibility: visible;
    opacity: 1;
    transition: visibility 0.5s, opacity 0.5s linear;
    position: relative;
}

.pricing-read-more-page-item-prices p {
    text-align: center;
}

.pricing-read-more-page-item-prices .sc_item_button{
    display: flex !important;
    justify-content: center;
    margin-top: 40px;
}

.pricing-read-more-page-overview-items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 100px;
}

.pricing-read-more-page-overview-item {
    display: flex;
}

.pricing-read-more-page-overview-item-texts {
    display: flex;
    flex-direction: column;
}

.pricing-read-more-page-overview-item h5 {
    margin-top: 0;
}

.pricing-read-more-page-overview-item i {
    margin-right: 30px;
    color: #e6c068;
    font-size: 40px;
    width: 40px;
    height: 40px;
}

.pricing-read-more-page-item-prices-price-section {
    margin: auto;
    width: 100%;
    display: flex;
    justify-content: space-around;
    box-sizing: border-box;
    padding: 0 20%;
    flex-wrap: nowrap;
    border: 1px solid;
    border-width: 0px 0px 1px 0px;
    border-color: #e6c068;
}

.faq-accordion-items {
    max-width: 560px;
    width: 100%;
    margin: auto;
}
.faq-accordion {
    cursor: pointer;
    padding: 32px 0;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    background-color: transparent;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

.faq-accordion-button-text {
    font-size: 28px;
    font-family: 'Lusitana,serif';
}

.faq-accordion i {
    font-family: 'FontAwesome';
    font-weight: 100;
    font-size: 1.333em;
}

.faq-accordion.active i {
    color: var(--theme-color-text_link);
}

.faq-panel {
    padding: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-height: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.image-and-text-item {
    border-top: 1px solid var(--theme-color-text_link);
    box-sizing: border-box;
    padding: 100px 0 0 0;
    margin-top: 100px;
    display: flex;
    justify-content: flex-start; /* Align items to the start of the container */
    align-items: center; /* Center items vertically */
    gap: 50px; /* Space between image and text */
}

.image-and-text-item img {
    width: 50%; 
    max-height: 360px;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.image-and-text-item .image-and-text-item-texts-wrapper
{
    width: 50%;
}

/* When Right class is added, reverse the order and justify content to the end */
.image-and-text-item.Right {
    flex-direction: row-reverse;
    justify-content: flex-end; /* Align items to the end of the container */
}

/* Ensure image and text take full width on wrap for smaller screens or Right class */
.image-and-text-item img,
.image-and-text-item .image-and-text-item-texts-wrapper {
    flex-basis: 100%; /* Take full width when wrapped */
}

/* Clear float styles */
.image-and-text-item::after {
    content: "";
    display: block;
    clear: both;
}

@media only screen and (max-width: 360px) {
    .pricing-read-more-button-wrapper {
        width: 90%;
        margin-top: 50px;
        margin-bottom: 50px;
    }
    .pricing-read-more-button a {
        padding: 0px 10px;
    }
}

@media only screen and (max-width: 440px) {
    .image-and-text-item img {
        max-height: 240px; 
    }
}

@media only screen and (max-width: 775px) {
    .pricing-read-more-page-overview-items {
        display: flex;
        flex-direction: column;
        row-gap: 20px;
    }

    .image-and-text-item img, .image-and-text-item .image-and-text-item-texts-wrapper {
        width: 100%; 
    }

    .image-and-text-item img {
        max-width: 775px; 
    }
    
    .image-and-text-item {
        flex-direction: column; /* Stack items vertically on small screens */
        gap: 20px;
        padding: 50px 0 0 0;
        margin-top: 50px;
    }

    .image-and-text-item.Right {
        flex-direction: column-reverse; /* Reverse stack order for Right class */
    }
}