.hs-79c6cedb-wrapper {
    position: relative;
    width: 100%;
    background-color: #000;
}

.hs-79c6cedb-pin-container {
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #000;
    padding: 20px 0;
}

.hs-79c6cedb-track {
    display: flex;
    flex-wrap: nowrap;
    will-change: transform;
    align-items: center;
    padding-left: 20px;
}

.hs-79c6cedb-panel {
    flex-shrink: 0;
    background: #1a1a1a;
    box-sizing: border-box;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hs-79c6cedb-panel-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    flex-grow: 1;
    text-decoration: none;
    color: inherit;
}
.hs-79c6cedb-panel-link:hover, .hs-79c6cedb-panel-link:focus {
    text-decoration: none;
    color: inherit;
}

.hs-79c6cedb-panel-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hs-79c6cedb-image-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: flex; /* Ensures child image can span correctly */
}

.hs-79c6cedb-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fallback, overridden by widget setting */
    display: block;
}

.hs-79c6cedb-title-container {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    transition: transform 0.3s ease;
}

.hs-79c6cedb-title {
    color: #ffffff;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

/* Hover Effect */
.hs-79c6cedb-panel:hover .hs-79c6cedb-image-container,
.hs-79c6cedb-panel:hover .hs-79c6cedb-title-container {
    transform: translateY(-10px);
}

/* Editor mode fallback */
.elementor-editor-active .hs-79c6cedb-wrapper {
    height: auto !important;
}
.elementor-editor-active .hs-79c6cedb-pin-container {
    position: relative !important;
    height: auto !important;
    overflow: auto;
}
.elementor-editor-active .hs-79c6cedb-track {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 20px;
}
