.spa-accordion-container {
    max-width: 800px;
    margin: 20px auto;
    font-family: inherit;
}

.spa-accordion-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    border-radius: 6px;
    background-color: #fff;
    overflow: hidden;
}

.spa-accordion-header {
    width: 100%;
    text-align: left;
    background-color: #f9f9f9;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    transition: background-color 0.2s ease;
    color: #333;
    white-space: normal !important;
}

.spa-accordion-header:hover, .spa-accordion-header[aria-expanded="true"] {
    background-color: #eaeaea;
}

.spa-header-thumbnail {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spa-header-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    display: block;
    border-radius: 6px;
    margin: 0 !important;
    padding: 0 !important;
}

.spa-header-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spa-accordion-header:focus {
    outline: 2px solid #005a9c;
    outline-offset: -2px;
}

.spa-title {
    flex: 1 1 0%;
    word-break: break-word;
    overflow-wrap: break-word;
    padding-right: 15px;
    line-height: 1.4;
    white-space: normal !important;
}

.spa-icon {
    font-size: 1.5rem;
    color: #666;
    line-height: 1;
    font-weight: 400;
    flex-shrink: 0;
}

.spa-accordion-content {
    background-color: #fff;
    padding: 24px;
    border-top: 1px solid #e0e0e0;
}

.spa-content-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.spa-description {
    line-height: 1.6;
    color: #444;
    width: 100%;
}

.spa-description h1,
.spa-description h2,
.spa-description h3,
.spa-description h4,
.spa-description h5,
.spa-description h6 {
    margin-top: 0;
}

.spa-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .spa-header-thumbnail {
        width: 100px;
        height: 100px;
    }
}
