
.tptoggle-container {
    max-width: 100%;
    margin: 0 auto;
}
.tptoggle-item {
    margin-bottom: 10px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}
.tptoggle-title {
    position: relative;
    margin: 0;
    padding: 20px;
    cursor: pointer;
    background: #f4f4f4;
    transition: background 0.3s ease;
}
.tptoggle-title:hover {
    background: #ececec;
}
.tptoggle-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #666666;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 3px;
}
.tptoggle-icon::before {
    content: "+";
}
.tptoggle-icon.open::before {
    content: "−";
}
.tptoggle-content {
    padding: 20px;
    background: #ffffff;
}
.tptoggle-content br {
    display: block;
    margin: 0;
    line-height: 1;
}

/* Tablet and up: grid layout, cards always expanded, no toggle affordance.
   Breakpoints match Divi's own builder breakpoints (phone/tablet/desktop). */
@media (min-width: 768px) {
    .tptoggle-content {
        display: block !important;
    }
    .tptoggle-item {
        margin-bottom: 0;
    }
    .tptoggle-title {
        cursor: default;
    }
    .tptoggle-title:hover {
        background: #f4f4f4;
    }
    .tptoggle-icon {
        display: none;
    }
    .tptoggle-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (min-width: 981px) {
    .tptoggle-container {
        grid-template-columns: repeat(3, 1fr);
    }
}
