.experience-fragment-container {
    position: relative;
    transition: max-height 800ms ease,
    background 800ms ease;
    overflow: hidden;
    height: auto;
}

.experience-fragment-container.collapsed::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 30%;
    left: 0;
    bottom: 0;
    transition: opacity 800ms ease;
    pointer-events: none;
    background-image: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 1) 100%
    );
    z-index: 1; /* Ensure it's above the content */
}

.experience-fragment-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.experience-fragment-toggle-button {
    margin-top: 24px;
    margin-bottom: 48px;
    font-family: "Noto Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    background: transparent;
    display: inline-flex;
    color: #1a1a1a;
    height: 56px;
    padding: 0px 16px;
    gap: 16px;
    min-width: 96px;
    text-decoration: none;
    border-radius: 4px;
    border: 2px solid #1a1a1a;
    transition: ease-in-out 0.2s;
    cursor: pointer;
    position: relative;
    align-items: center;
    justify-content: center;

    &:focus-visible {
        outline: 2px solid #1a1a1a;
        outline-offset: 2px;
        border-radius: var(--radius-element, 4px);
    }
}

/* Laptop Button*/
@media (min-width: 1280px) {
    .experience-fragment-toggle-button {
        margin-top: 48px;
        margin-bottom: 96px;
    }
}
