.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-numbered {
    margin: 10px 0;
}

.wpsummary_box.design-numbered .wpsummarize_title {
    font-size: 1.5em;
    color: #2c3e50;
    text-align: center;
    position: relative;
}

.wpsummary_box.design-numbered .wpsummarize_title::after,.wpsummary_box.design-numbered p::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #3498db;
    margin: 5px auto 0;
}

.wpsummary_box.design-numbered p::after {
    margin: 15px auto 0;
}

.wpsummary_box.design-numbered ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
}

.wpsummary_box.design-numbered li {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpsummary_box.design-numbered li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.wpsummary_box.design-numbered li::before {
    content: '';
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin-right: 20px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    color: white;
}

.wpsummary_box.design-numbered li:nth-child(1)::before { content: '1'; background: #3498db; }
.wpsummary_box.design-numbered li:nth-child(2)::before { content: '2'; background: #e74c3c; }
.wpsummary_box.design-numbered li:nth-child(3)::before { content: '3'; background: #2ecc71; }
.wpsummary_box.design-numbered li:nth-child(4)::before { content: '4'; background: #f39c12; }
.wpsummary_box.design-numbered li:nth-child(5)::before { content: '5'; background: #9b59b6; }
.wpsummary_box.design-numbered li:nth-child(6)::before { content: '6'; background: #1abc9c; }
.wpsummary_box.design-numbered li:nth-child(7)::before { content: '7'; background: #34495e; }
.wpsummary_box.design-numbered li:nth-child(8)::before { content: '8'; background: #d35400; }
.wpsummary_box.design-numbered li:nth-child(9)::before { content: '9'; background: #27ae60; }
.wpsummary_box.design-numbered li:nth-child(10)::before { content: '10'; background: #2980b9; }



.wpsummary_box.design-numbered li div {
    flex-grow: 1;
}

.wpsummary_box.design-numbered strong {
    color: #2c3e50;
    font-weight: 700;
    display: contents;
}

.wpsummary_box.design-numbered em {
    color: #7f8c8d;
    display: contents;
}

@media (max-width: 768px) {

    .wpsummary_box.design-numbered li::before {
        margin-bottom: 10px;
        margin-right: 15px;
    }
}


