.pd-custom-content{
    margin:2rem 0;
    padding:1rem;
    overflow:hidden;

    background:#fff;
    border-radius:24px;
}

.pd-custom-content *{
    box-sizing:border-box;
}

.pd-custom-content img{
    display:block;
    max-width:100%;
    height:auto;
}

.pd-custom-box{
    max-height:900px;
    overflow:hidden;
    position:relative;
    transition:max-height .35s ease;
}

.pd-custom-box.expanded{
    max-height:none;
}

.pd-custom-box::after{
    content:"";
    position:absolute;
    inset:auto 0 0 0;
    height:120px;

    background:linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        #fff
    );

    pointer-events:none;
    transition:opacity .25s;
}

.pd-custom-box.expanded::after{
    opacity:0;
}

.pd-custom-toggle{
    display:none;
    width:100%;
    margin-top:1rem;

    background:none;
    border:none;

    cursor:pointer;

    font-size:.9rem;
    font-weight:600;

    color:rgba(197,154,74,.9);

    text-transform:uppercase;
    letter-spacing:.04em;
}

.pd-custom-toggle:hover{
    color:var(--accent);
}
.pd-custom-box::after{
    opacity:0;
}
.pd-custom-box.is-collapsible::after{
    opacity:1;
}

.pd-custom-box.expanded::after{
    opacity:0;
}