/* Flexible Camp Section - Based on parent theme flexible-camp.css */
.flexible-camp-container {
    position: relative;
}

.flexible-camp {
    padding: 120px 20px;
    position: relative;
    background-color: #E9E2D3;
    overflow: hidden;
}

/* Background decorations */
.flexible-camp__bg-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.flexible-camp__bg-decor--top-left {
    top: -14%;
    left: 20%;
    width: auto;
    max-width: 180px;
    height: 180px;
    transform: rotate(70deg);
    z-index: 10;
}

.flexible-camp__bg-decor--bottom-right {
    bottom: -63px;
    right: 0;
    width: 180px;
    height: 180px;
    z-index: 10;
    left: 71%;
    transform: translateX(-50%);
}
.flexible-camp__container {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
}

/* Content area */
.flexible-camp__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.flexible-camp__title {
    font-family: var(--font-family-archer, 'Archer', serif);
    font-weight: 700;
    font-size: 52px;
    line-height: 100%;
    letter-spacing: -1px;
    text-align: center;
    color: var(--color-text-teal, #196B81);
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}
.flexible-camp__title.title-mobile{
    display: none;
}
.flexible-camp__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 100%;
    height: 15px;
    background-image: url('../images/BRUSHES.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateX(-50%);
}

.flexible-camp__description {
    font-family: var(--font-family-archer, 'Archer', serif);
    font-weight: 400;
    font-size: 22px;
    line-height: 140%;
    letter-spacing: 0px;
    text-align: center;
    color: #333;
    margin: 0 auto;
    max-width: 690px;
    margin-top: 30px;
}

.flexible-camp__button {
    display: inline-block;
    background-color: #E47633;
    color: #fff;
    font-family: var(--font-family-archer, 'Archer', serif);
    font-weight: 600;
    font-size: 16px;
    margin-top: 50px;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.flexible-camp__button:hover {
    background-color: #c9612a;
    color: #fff;
}

/* Images wrapper */
.flexible-camp__images {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* Left image with box-shadow */
.flexible-camp__image-left {
    position: absolute;
    left: 0;
    top: 80%;
    transform: translateY(-50%) rotate(348deg);
    width: 180px;
    height: 180px;
}

.flexible-camp__image-left img:not(.flexible-camp__decor) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    border: 4px solid #196B81;
    box-shadow: 8px 8px 0px 0px #31BCC2;
    position: relative;
    z-index: 2;
}

.flexible-camp__image-left .flexible-camp__decor--left {
    position: absolute;
    top: -29px;
    left: -51px;
    width: auto;
    height: auto;
    z-index: 1;
    pointer-events: none;
    transform: rotate(12deg);
}

/* Right image with box-shadow */
.flexible-camp__image-right {
    position: absolute;
    right: 0;
    top: 25%;
    transform: translateY(-50%) rotate(18deg);
    width: 180px;
    height: 180px;
}

.flexible-camp__image-right img:not(.flexible-camp__decor) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    border: 4px solid #E8B546;
    box-shadow: 8px 8px 0px 0px #E8B546;
    position: relative;
    z-index: 2;
}

.flexible-camp__image-right .flexible-camp__decor--right {
    position: absolute;
    top: 0;
    right: -64px;
    width: auto;
    height: auto;
    z-index: 1;
    pointer-events: none;
    transform: rotate(344deg);
}

/* Decor elements behind images */
.flexible-camp__decor {
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.flexible-camp__decor--left {
    left: -20px;
    top: 30%;
    width: 80px;
    height: auto;
}

.flexible-camp__decor--right {
    right: 30px;
    top: 20%;
    width: 60px;
    height: auto;
    z-index: 3;
}

/* Bottom centered image */
.flexible-camp__bottom-image {
    position: absolute;
    bottom: -100%;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 100%;
    height: auto;
    max-width: 700px;
    z-index: 1;
}

.flexible-camp__bottom-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.home .flexible-camp__bottom-image img, .camps-template-default .flexible-camp__bottom-image img {
    max-height: 60px;
}

.home .flexible-camp__bottom-image, .camps-template-default .flexible-camp__bottom-image {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translate(-50%, 27%);
    width: 100%;
    height: auto;
    max-width: 700px;
    z-index: 1;
}
 .camps-template-default .flexible-camp__bottom-image {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translate(-50%, 20%);
    width: 100%;
    height: auto;
    max-width: 700px;
    z-index: 1;
}
.home .flexible-camp__bg-decor--bottom-right, .camps-template-default .flexible-camp__bg-decor--bottom-right {
    display: none;
}
.home .flexible-camp__bg-decor.flexible-camp__bg-decor--top-left, .camps-template-default .flexible-camp__bg-decor.flexible-camp__bg-decor--top-left {
    display: none;
}
.home .flexible-camp{
    overflow: initial;
    background: white;
}
.camps-template-default .flexible-camp{
    overflow: initial;
}
.page-slug-about-us .flexible-camp__bottom-image img, .page-slug-about-us .flexible-camp__bg-decor.flexible-camp__bg-decor--top-left,  .page-slug-about-us .flexible-camp__bg-decor.flexible-camp__bg-decor--bottom-right {
    display: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .flexible-camp__image-left {
        left: -20px;
        width: 180px;
        height: 220px;
    }

    .flexible-camp__image-right {
        right: -20px;
        width: 200px;
        height: 240px;
    }
}

@media (max-width: 992px) {
    .flexible-camp__title.title-desktop{
        display: none;
    }
    .flexible-camp__title.title-mobile{
        display: block;
        margin-bottom: 40px;
    }
    .flexible-camp__description{
        margin-top: 0;
    }
    .flexible-camp__bg-decor {
        display: none;
    }

    .flexible-camp {
        padding: 80px 20px;
    }

    .flexible-camp__container {
        display: flex;
        flex-direction: column;
    }

    .flexible-camp__title {
        font-size: 44px;
    }

    .flexible-camp__images {
        display: flex;
        gap: 60px;
        justify-content: center;
        position: relative;
        order: -1;
        margin-bottom: 40px;
    }

    .flexible-camp__image-left,
    .flexible-camp__image-right {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        width: 150px;
        height: 150px;
    }

    .flexible-camp__image-left img:not(.flexible-camp__decor) {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 40px;
        border: 4px solid #196B81;
        box-shadow: 8px 8px 0px 0px #31BCC2;
        position: relative;
        z-index: 2;
    }

    .flexible-camp__image-right img:not(.flexible-camp__decor) {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 40px;
        border: 4px solid #196B81;
        box-shadow: 8px 8px 0px 0px #E8B546;
        position: relative;
        z-index: 2;
    }

    .flexible-camp__decor--left,
    .flexible-camp__decor--right {
        display: none;
    }

    .flexible-camp__bottom-image {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin: 40px auto 0;
        display: block;
    }
        .home .flexible-camp__bottom-image{
        position: absolute;
        bottom: -20%;
        left: 50%;
        transform: translate(-50%, 27%);
        width: 76%;
        height: auto;
        max-width: 700px;
        z-index: 1;
    }
}

@media (max-width: 768px) {
    .flexible-camp {
        padding: 60px 20px;
    }

    .flexible-camp__title {
        font-size: 36px;
    }

    .flexible-camp__description {
        font-size: 18px;
        max-width: 400px;
    }

    .flexible-camp__button {
        margin-top: 25px;
    }

    .flexible-camp__bottom-image {
        display: none;
    }
    .home .flexible-camp__bottom-image{
        display: block;
    }

}

@media (max-width: 500px) {
    .home .flexible-camp__bottom-image{
        width: 90%;
    }
    .flexible-camp__title {
        font-size: 25px;
    }

    .flexible-camp__title::after {
        height: 12px;
        bottom: -12px;
    }

    .flexible-camp__description {
        font-size: 16px;
    }

    .flexible-camp__button {
        padding: 14px 28px;
        font-size: 14px;
    }

    .flexible-camp__bottom-image {
        width: 200px;
    }
}



