.wpsummary_box {    
    padding: 20px 0;
    margin: 30px 0;
}


.wpsummarize-content {
    overflow: hidden;
    transition: height 0.3s ease-out;
    height: 0;
}

.wpsummarize-content.transitioning {
    display: block;
}

#wpsummarize-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    float:right;
}

/* Header styles */
#wpsummarize-button {
    cursor: pointer;
    transition: filter 0.3s ease;    
}
#wpsummarize-button:hover {
    filter: brightness(1.3);
}

#wpsummarize-button.expanded {
}

.wpsummary_box ul {
    list-style-position: inside;
    margin:0;
    padding:20px 0;
}


.wpsummary_box .wpsummarize_title {
    display:block;
    font-size: 1.3em;
    padding-bottom: 10px;
}


.wpsummary_box p {
    line-height:1.8;
    margin:0;
    padding:20px 0;
}

.wpsummary_box ul li:last-child::after {
    display:none;
}

/* Remove margin from the last item */
.wpsummary_box ul li:last-child {
  margin-bottom: 0;
}


.wpsummary_box.design-formal {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-left: 5px solid #007bff;
    border-radius: 4px;
    padding: 20px;
    padding-bottom:0;
    margin: 20px auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.wpsummary_box.design-formal .wpsummarize_title {
    color: #343a40;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 700;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 10px;
    display: block;
}
.wpsummary_box.design-formal ul {
    list-style-type: none;
    margin: 0;
}
.wpsummary_box.design-formal li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
    color: #495057;
}
.wpsummary_box.design-formal li::before {
    content: "▪";
    color: #007bff;
    position: absolute;
    left: 0;
    top: 0;
}
.wpsummary_box.design-formal strong {
    font-weight: 700;
    color: #28a745;
}
.wpsummary_box.design-formal em {
    color: #6c757d;
    font-weight: 600;
}