.bw-wrapper-de22374f {
    font-family: 'Lato', sans-serif; /* Fallback, controllable via Elementor */
    padding: 60px 20px; /* Fallback, controllable via Elementor */
    overflow: hidden;
}

.bw-container-de22374f {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.bw-card-de22374f {
    background: #87A96B; /* Default, overridden by Elementor */
    border-radius: 16px;
    width: 120px;
    height: 400px;
    margin-left: -40px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* Box shadow and border handled by Elementor controls */
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.bw-card-de22374f:first-child {
    margin-left: 0;
}

.bw-card-de22374f:hover:not(.is-expanded) {
    transform: translateY(-20px) rotate(-2deg);
    z-index: 10;
    margin-right: 10px;
}

.bw-card-collapsed-de22374f {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    text-align: center;
    transition: opacity 0.3s ease;
}

.bw-symbol-de22374f {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 10px;
}

.bw-name-de22374f {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

.bw-card-expanded-de22374f {
    display: none;
    opacity: 0;
    padding: 40px; /* Fallback, controllable via Elementor */
    height: 100%;
    overflow-y: auto;
}

.bw-close-btn-de22374f {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    display: none;
    z-index: 20;
    line-height: 1;
}

/* Expanded State */
.bw-container-de22374f.has-expanded .bw-card-de22374f:not(.is-expanded) {
    width: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.bw-container-de22374f.has-expanded .bw-card-de22374f.is-expanded {
    width: 100%;
    height: 500px;
    margin: 0;
    cursor: default;
    z-index: 50;
    transform: none;
}

.bw-card-de22374f.is-expanded .bw-card-collapsed-de22374f {
    display: none;
}

.bw-card-de22374f.is-expanded .bw-card-expanded-de22374f {
    display: flex;
    flex-direction: column;
    opacity: 1;
    animation: bwFadeIn 0.5s ease 0.3s forwards;
}

.bw-card-de22374f.is-expanded .bw-close-btn-de22374f {
    display: block;
}

.bw-exp-header-de22374f {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(45, 80, 22, 0.5); 
    padding-bottom: 20px;
}

.bw-exp-header-de22374f .bw-symbol-de22374f {
    margin: 0;
}

.bw-exp-header-de22374f .bw-name-de22374f {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.bw-hz-de22374f {
    font-size: 1.1rem;
    opacity: 0.85;
}

.bw-exp-body-de22374f {
    flex-grow: 1;
    line-height: 1.6;
}

.bw-desc-de22374f {
    margin-bottom: 30px;
}

.bw-details-grid-de22374f {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bw-detail-col-de22374f h4 {
    font-family: 'Cormorant Garamond', serif;
    margin: 0 0 10px 0;
}

.bw-detail-col-de22374f p {
    margin: 0;
}

@keyframes bwFadeIn {
    to { opacity: 1; }
}

/* Mobile Layout */
@media (max-width: 767px) {
    .bw-container-de22374f {
        flex-direction: column;
        height: auto;
    }

    .bw-card-de22374f {
        width: 100%;
        height: 100px;
        margin-left: 0;
        margin-top: -20px;
        flex-direction: row;
    }

    .bw-card-de22374f:first-child {
        margin-top: 0;
    }

    .bw-card-de22374f:hover:not(.is-expanded) {
        transform: translateX(10px);
        margin-right: 0;
        margin-bottom: 10px;
    }

    .bw-card-collapsed-de22374f {
        flex-direction: row;
        gap: 20px;
        padding: 0 30px;
    }

    .bw-name-de22374f {
        writing-mode: horizontal-tb;
        transform: none;
    }

    .bw-symbol-de22374f {
        margin: 0;
    }

    .bw-container-de22374f.has-expanded .bw-card-de22374f:not(.is-expanded) {
        height: 0;
        margin: 0;
    }

    .bw-container-de22374f.has-expanded .bw-card-de22374f.is-expanded {
        height: auto;
        min-height: 500px;
    }

    .bw-details-grid-de22374f {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}