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

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

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

.hs-20c1e02c-panel {
    flex-shrink: 0;
    background: #1a1a1a;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

/* Background layout styling */
.hs-20c1e02c-panel.layout-background {
    justify-content: flex-end; /* Push text to the bottom */
}

.hs-20c1e02c-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: background 0.3s ease, background-image 0.3s ease;
}

.hs-20c1e02c-image-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
}

.hs-20c1e02c-image {
    display: inline-block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Standard layout styles */
.hs-20c1e02c-panel.layout-standard .hs-20c1e02c-image-wrapper {
    height: 50%;
    width: 100%;
}
.hs-20c1e02c-panel.layout-standard .hs-20c1e02c-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hs-20c1e02c-content-block {
    position: relative;
    z-index: 2;
    padding: 10px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hs-20c1e02c-badge {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.hs-20c1e02c-title {
    margin: 0;
    font-size: 24px;
    color: #ffffff;
}

.hs-20c1e02c-subtitle {
    margin: 0;
    font-size: 18px;
    color: #a1a1a1;
}

.hs-20c1e02c-desc {
    margin: 0;
    font-size: 14px;
    color: #cccccc;
    line-height: 1.5;
}

.hs-20c1e02c-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.hs-20c1e02c-icon img {
    max-width: 100%;
    height: auto;
}

.hs-20c1e02c-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    align-self: flex-start;
}

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


/* mobile-swipe-patch */
@media (max-width: 768px) {
    .hs-20c1e02c-wrapper { height: auto !important; }
    .hs-20c1e02c-pin-container { display: block; position: relative; height: auto; overflow: visible; }
    .hs-20c1e02c-track { flex-direction: row; flex-wrap: nowrap; width: 100%; max-width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scroll-padding-left: 20px; }
    .hs-20c1e02c-panel { scroll-snap-align: start; }
}
