.penci-widget-folded-yes {
position: relative;
transition: max-height 0.5s ease;
}
.penci-widget-folded-yes:after {
content: "";
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 30px;
background: linear-gradient(transparent, rgba(255, 255, 255, 0.9));
pointer-events: none;
}
.widget-expanded .elementor-widget-container {
max-height: none !important;
transition: max-height 0.5s ease;
}
.widget-expanded .elementor-widget-container::after {
display: none;
}
.widget-fold-button-wrapper {
margin-top: 15px;
text-align: center;
position: absolute;
bottom: 0;
left: 0;
right: 0;
z-index: 2;
}
.widget-fold-button {
background-color: var(--paccent-cl);
color: #fff;
border: none;
padding: 10px 20px;
cursor: pointer;
font-size: 12px;
font-weight: bold;
transition: all 0.3s ease;
display: inline-block;
text-decoration: none;
}
.widget-fold-button:hover {
opacity: 0.8;
}