/**
 * Springer Widgets Styles
 * Add your custom widget styles here
 */

/* ===========================
   Springer Button Widget
   =========================== */

.springer-button-wrapper {
    display: inline-block;
    width: 100%;
}

/* Stop form submit button from stretching full width */
.elementor-field-type-submit .elementor-button,
button.elementor-button[type="submit"]{
  width: auto !important;
  flex: 0 0 auto !important;
}

/* Stop the inner span from forcing width */
.elementor-field-type-submit .elementor-button > span,
button.elementor-button[type="submit"] > span{
  width: auto !important;
}

/* Align it within the full-width row */
.elementor-field-type-submit,
.e-form__buttons{
  display: flex;
  justify-content: center; /* flex-start or flex-end */
}

.springer-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 30px;
    border-radius: 8px;
    background: #007680;
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    font-family: Roboto, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 0.4px;
    position: relative;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
    overflow: hidden;
}

/* Speckle layer - applied via inline styles when enabled */
.springer-button.has-speckles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
    background-size: 200px 200px;
    background-repeat: repeat;
}

/* Button text - slides left on hover */
.springer-button .button-text {
    display: inline-block;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    will-change: transform;
}

.springer-button.has-icon:hover .button-text {
    transform: translate3d(-1rem, 0, 0);
}

/* Icon - hidden by default, positioned absolutely */
.springer-button .button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    transition: all 0.3s ease;
    will-change: right, opacity;
}

/* Show icon on hover - slide in from right */
.springer-button.has-icon:hover .button-icon {
    opacity: 1;
    right: 2rem;
}

/* Button Hover Effects */
.springer-button:hover {
    text-decoration: none;
}

/* Icon SVG Styles */
.springer-button .button-icon svg {
    vertical-align: middle;
    width: 100%;
    height: auto;
    display: block;
}

.springer-button .button-icon i {
    font-size: inherit;
    line-height: 1;
}

/* ===========================
   Elementor Form Button Styling
   =========================== */

/* Direct targeting of Elementor form submit buttons */
.elementor-field-type-submit .elementor-button,
button.elementor-button[type="submit"] {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

/* Apply Springer button styles to Elementor form buttons when class is on widget */
.springer-style .elementor-button,
.springer-style button.elementor-button {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

/* Speckle overlay for form buttons */
.springer-style.has-speckles .elementor-button::before,
.springer-style.has-speckles button.elementor-button::before,
.elementor-field-type-submit.has-speckles .elementor-button::before,
.elementor-button.has-speckles::before,
button.elementor-button[type="submit"].has-speckles::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    pointer-events: none !important;
    z-index: 1 !important;
    border-radius: inherit !important;
    background-size: 200px 200px !important;
    background-repeat: repeat !important;
}

/* Button text wrapper for slide effect */
.springer-style .elementor-button .elementor-button-content-wrapper {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Text slides left on hover */
.springer-style .elementor-button .elementor-button-text {
    display: inline-block;
    transition: transform 0.3s ease;
    will-change: transform;
}

.springer-style.has-icon .elementor-button:hover .elementor-button-text {
    transform: translate3d(-1rem, 0, 0);
}

/* Icon starts hidden */
.springer-style .elementor-button .elementor-button-icon {
    position: absolute;
    right: 0;
    opacity: 0;
    transition: all 0.3s ease;
    will-change: right, opacity;
}

/* Icon slides in from right on hover */
.springer-style.has-icon .elementor-button:hover .elementor-button-icon {
    opacity: 1;
    right: 2rem;
}

.springer-style .elementor-button .elementor-button-icon svg {
    width: 1em;
    height: 1em;
}

/* ===========================
   UI Core Form Button Support
   =========================== */

/* UI Core forms use different markup - add support for their structure */
/* Direct targeting */
.elementor-field-type-submit .elementor-button > span,
button.elementor-button[type="submit"] > span,
.springer-style .elementor-button > span,
.springer-style button.elementor-button > span {
    position: relative !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
}

/* UI Core text element - direct targeting */
.elementor-field-type-submit .elementor-button .ui-e-text,
button.elementor-button[type="submit"] .ui-e-text,
.springer-style .elementor-button .ui-e-text,
.springer-style button.elementor-button .ui-e-text {
    display: inline-block !important;
    transition: transform 0.3s ease !important;
    will-change: transform !important;
}

/* Text slide on hover when icon exists - direct targeting */
.elementor-field-type-submit .elementor-button:hover .ui-e-text,
button.elementor-button[type="submit"]:hover .ui-e-text {
    transform: translate3d(-20px, 0, 0) !important;
}

/* Prevent Elementor's animation-grow from affecting button size */
.elementor-field-type-submit .elementor-button.elementor-animation-grow:hover,
button.elementor-button[type="submit"].elementor-animation-grow:hover,
.elementor-animation-grow.elementor-button:hover {
    transform: none !important;
}

/* Lock font sizes - prevent any changes on hover */
.elementor-field-type-submit .elementor-button,
.elementor-field-type-submit .elementor-button:hover,
button.elementor-button[type="submit"],
button.elementor-button[type="submit"]:hover,
.elementor-field-type-submit .elementor-button .ui-e-text,
.elementor-field-type-submit .elementor-button:hover .ui-e-text {
    font-size: inherit !important;
}

.springer-style.has-icon .elementor-button:hover .ui-e-text,
.springer-style.has-icon button.elementor-button:hover .ui-e-text {
    transform: translate3d(-1rem, 0, 0) !important;
}

/* UI Core icon wrapper - reuse for icon animation - direct targeting */
.elementor-field-type-submit .elementor-button > span > span:first-child,
button.elementor-button[type="submit"] > span > span:first-child,
.springer-style.has-icon .elementor-button > span > span:first-child,
.springer-style.has-icon button.elementor-button > span > span:first-child {
    position: absolute !important;
    right: 0 !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    will-change: right, opacity !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.elementor-field-type-submit .elementor-button:hover > span > span:first-child,
button.elementor-button[type="submit"]:hover > span > span:first-child,
.springer-style.has-icon .elementor-button:hover > span > span:first-child,
.springer-style.has-icon button.elementor-button:hover > span > span:first-child {
    opacity: 1 !important;
    right: 2rem !important;
}

/* Add arrow icon automatically using ::after pseudo-element */
.elementor-field-type-submit .elementor-button::after,
button.elementor-button[type="submit"]::after {
    content: '' !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    background-image: url('/wp-content/uploads/2025/11/guidance_right-arrow.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    z-index: 3 !important;
    will-change: right, opacity !important;
}

.elementor-field-type-submit .elementor-button:hover::after,
button.elementor-button[type="submit"]:hover::after {
    opacity: 1 !important;
    right: 32px !important;
}

.elementor-field-type-submit .elementor-button > span > span:first-child svg,
.elementor-field-type-submit .elementor-button > span > span:first-child i,
button.elementor-button[type="submit"] > span > span:first-child svg,
button.elementor-button[type="submit"] > span > span:first-child i,
.springer-style .elementor-button > span > span:first-child svg,
.springer-style .elementor-button > span > span:first-child i,
.springer-style button.elementor-button > span > span:first-child svg,
.springer-style button.elementor-button > span > span:first-child i {
    width: 1em !important;
    height: 1em !important;
}

/* ===========================
   Example Widget Styles
   =========================== */

.springer-example-widget {
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.springer-example-widget h3 {
    margin-top: 0;
    color: #333;
}

.springer-example-widget p {
    color: #666;
    line-height: 1.6;
}

/* ===========================
   Property Slider Widget
   =========================== */

.springer-property-slider-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.springer-property-slider .swiper-slide {
    height: 600px !important;
}

.property-slide {
    display: flex;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.property-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.property-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, #000000, transparent);
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-details {
    flex: 0 0 60%;
    background: #2A7A7F;
    color: #FFFFFF;
    padding: 100px 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

/* Price Badge */
.property-price {
    position: absolute;
    top: 0;
    right: 0;
    background: #E8D4B8;
    color: #2A7A7F;
    padding: 20px 40px;
    font-size: 32px;
    font-weight: 600;
    font-family: Georgia, serif;
}

/* Address and Description Section */
.property-address-description {
    margin-bottom: 30px;
}

/* Address */
.property-address {
    margin-bottom: 20px;
    text-align: center;
}

.property-address h2 {
    font-size: 40px;
    font-weight: 400;
    margin: 0 0 10px 0;
    line-height: 1.2;
    color: #FFFFFF;
    text-align: center;
}

.property-address p {
    font-size: 24px;
    margin: 0;
    opacity: 0.95;
    text-align: center;
}

/* Description */
.property-description {
    margin-bottom: 0;
    text-align: center;
}

.property-description p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    opacity: 0.9;
    text-align: center;
}

/* Property Stats Section */
.property-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    justify-content: center;
}

.property-stats .stat {
    text-align: center;
}

.property-stats .stat-value {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 5px;
    line-height: 1;
    text-align: center;
}

.property-stats .stat-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

/* Buttons Section */
.property-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
    justify-content: center;
}

.property-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid #FFFFFF;
    background: transparent;
    color: #FFFFFF;
}

/* Button text - slides left on hover */
.property-button .button-text {
    display: inline-block;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    will-change: transform;
}

.property-button.has-icon:hover .button-text {
    transform: translate3d(-1rem, 0, 0);
}

/* Icon - hidden by default, positioned absolutely */
.property-button .button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    transition: all 0.3s ease;
    will-change: right, opacity;
}

/* Show icon on hover - slide in from right */
.property-button.has-icon:hover .button-icon {
    opacity: 1;
    right: 2rem;
}

/* Icon SVG Styles */
.property-button .button-icon svg {
    vertical-align: middle;
    width: 100%;
    height: auto;
    display: block;
}

.property-button .button-icon i {
    font-size: inherit;
    line-height: 1;
}

.property-button:hover {
    text-decoration: none;
}

/* Builder Logo - Overlays on image */
.builder-logo {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.builder-logo img {
    max-width: 150px;
    height: auto;
}

/* Swiper Navigation Dots */
.springer-property-slider .swiper-pagination,
.elementor-element .springer-property-slider .swiper-pagination {
    position: absolute !important;
    bottom: 40px !important;
    left: 40px !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px;
    z-index: 10;
}

.springer-property-slider .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background: transparent;
    border: 2px solid #2A7A7F;
    opacity: 1;
    margin: 0 !important;
    transition: all 0.3s ease;
    display: block;
}

.springer-property-slider .swiper-pagination-bullet-active {
    background: #2A7A7F;
    border-color: #2A7A7F;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .springer-property-slider .swiper-slide {
        height: auto !important;
    }

    .property-slide {
        flex-direction: column;
    }

    .property-image {
        flex: 0 0 450px;
        min-height: 450px;
    }

    .property-details {
        flex: 1;
        padding: 80px 40px 40px;
    }

    .property-address h2 {
        font-size: 36px;
    }

    .property-address p {
        font-size: 22px;
    }

    .property-price {
        font-size: 28px;
        padding: 15px 30px;
    }

    .property-stats {
        gap: 30px;
    }

    .property-stats .stat-value {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .springer-property-slider .swiper-slide {
        height: auto !important;
    }

    .property-image {
        flex: 0 0 400px;
        min-height: 400px;
    }

    .property-details {
        padding: 80px 30px 40px;
    }

    .property-price {
        font-size: 24px;
        padding: 12px 24px;
    }

    .property-address h2 {
        font-size: 28px;
    }

    .property-address p {
        font-size: 18px;
    }

    .property-stats {
        gap: 15px;
    }

    .property-stats .stat-value {
        font-size: 24px;
    }

    .property-stats .stat-label {
        font-size: 10px;
    }

    .property-buttons {
        flex-direction: column;
    }

    .property-button {
        width: 100%;
    }

    .springer-property-slider .swiper-pagination {
        bottom: 60px;
        left: 30px;
        gap: 12px;
    }

    .springer-property-slider .swiper-pagination-bullet {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .property-image {
        flex: 0 0 300px;
        min-height: 300px;
    }

    .property-details {
        padding: 80px 20px 30px;
    }

    .property-price {
        font-size: 20px;
        padding: 10px 20px;
    }

    .property-address h2 {
        font-size: 24px;
    }

    .property-address p {
        font-size: 16px;
    }

    .property-description p {
        font-size: 13px;
    }

    .property-stats {
        gap: 10px;
    }

    .property-stats .stat-value {
        font-size: 20px;
    }

    .springer-property-slider .swiper-pagination {
        bottom: 50px;
        left: 20px;
        gap: 10px;
    }

    .springer-property-slider .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
    }
}

/* ===========================
   Tabbed Image Showcase Widget
   =========================== */

.springer-tabbed-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
    width: 100%;
}

/* Layout: Tabs Left (Default) */
.springer-tabbed-showcase.tabs-left {
    grid-template-columns: 31% 69%;
}

.springer-tabbed-showcase.tabs-left .tabs-container {
    order: 1;
}

.springer-tabbed-showcase.tabs-left .image-container {
    order: 2;
}

/* Layout: Tabs Right */
.springer-tabbed-showcase.tabs-right {
    grid-template-columns: 69% 31%;
}

.springer-tabbed-showcase.tabs-right .tabs-container {
    order: 2;
}

.springer-tabbed-showcase.tabs-right .image-container {
    order: 1;
}

/* Tabs Container */
.springer-tabbed-showcase .tabs-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tabs List */
.springer-tabbed-showcase .tabs-list {
    display: flex;
    flex-direction: column;
}

/* Tab Item */
.springer-tabbed-showcase .tab-item {
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Gradient overlay on hover/active */
.springer-tabbed-showcase .tab-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.springer-tabbed-showcase .tab-item:hover::before,
.springer-tabbed-showcase .tab-item.active::before {
    opacity: 1;
}

/* Tab Content */
.springer-tabbed-showcase .tab-item-title {
    position: relative;
    z-index: 1;
    margin: 0;
}

.springer-tabbed-showcase .tab-item-description {
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Tab Link Indicator */
.springer-tabbed-showcase .tab-item.has-link {
    cursor: pointer;
}

.springer-tabbed-showcase .tab-item-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #2A7A7F;
    transition: all 0.3s ease;
}

.springer-tabbed-showcase .tab-item:hover .tab-item-link {
    gap: 10px;
}

.springer-tabbed-showcase .tab-item-link .tab-link-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.springer-tabbed-showcase .tab-item:hover .tab-item-link .tab-link-arrow {
    transform: translateX(4px);
}

.springer-tabbed-showcase .tab-item-link .tab-link-arrow svg {
    width: 16px;
    height: 16px;
}

/* Image Container */
.springer-tabbed-showcase .image-container {
    position: relative;
    overflow: hidden;
    background: #E5E5E5;
}

/* Tab Images */
.springer-tabbed-showcase .tab-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.springer-tabbed-showcase .tab-image.active {
    opacity: 1;
    pointer-events: auto;
}

.springer-tabbed-showcase .tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA Buttons */
.springer-tabbed-showcase .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

.springer-tabbed-showcase .cta-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid transparent;
}

/* Primary Button */
.springer-tabbed-showcase .cta-button.primary {
    background: #2A7A7F;
    color: #FFFFFF;
    border-color: #2A7A7F;
}

.springer-tabbed-showcase .cta-button.primary:hover {
    background: #1F5A5E;
    border-color: #1F5A5E;
}

/* Secondary Button */
.springer-tabbed-showcase .cta-button.secondary {
    background: transparent;
    color: #2A7A7F;
    border-color: #2A7A7F;
}

.springer-tabbed-showcase .cta-button.secondary:hover {
    background: #2A7A7F;
    color: #FFFFFF;
}

/* Button Speckles */
.springer-tabbed-showcase .cta-button.has-speckles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
    background-size: 200px 200px;
    background-repeat: repeat;
}

/* Button Text Animation */
.springer-tabbed-showcase .cta-button .button-text {
    display: inline-block;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    will-change: transform;
}

.springer-tabbed-showcase .cta-button:hover .button-text {
    transform: translate3d(-1rem, 0, 0);
}

/* Button Icon Animation */
.springer-tabbed-showcase .cta-button .button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    transition: all 0.3s ease;
    will-change: right, opacity;
}

.springer-tabbed-showcase .cta-button:hover .button-icon {
    opacity: 1;
    right: 2rem;
}

.springer-tabbed-showcase .cta-button .button-icon svg,
.springer-tabbed-showcase .cta-button .button-icon i {
    width: 1em;
    height: 1em;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .springer-tabbed-showcase {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .springer-tabbed-showcase.tabs-left,
    .springer-tabbed-showcase.tabs-right {
        grid-template-columns: 1fr;
    }

    .springer-tabbed-showcase.tabs-left .tabs-container,
    .springer-tabbed-showcase.tabs-right .tabs-container {
        order: 2;
    }

    .springer-tabbed-showcase.tabs-left .image-container,
    .springer-tabbed-showcase.tabs-right .image-container {
        order: 1;
    }

    .springer-tabbed-showcase .image-container {
        min-height: 450px;
        position: relative;
    }

    /* Center tabs content on tablet */
    .springer-tabbed-showcase .tabs-container {
        text-align: center;
    }

    .springer-tabbed-showcase .tab-item-title {
        font-size: 22px;
    }

    .springer-tabbed-showcase .tab-item-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .springer-tabbed-showcase .image-container {
        min-height: 400px;
    }

    /* Left-align tabs content on mobile */
    .springer-tabbed-showcase .tabs-container {
        text-align: left;
    }

    .springer-tabbed-showcase .tab-item {
        padding: 15px;
    }

    .springer-tabbed-showcase .tab-item-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .springer-tabbed-showcase .tab-item-description {
        font-size: 14px;
    }

    .springer-tabbed-showcase .tab-item-link {
        font-size: 13px;
        margin-top: 8px;
    }

    .springer-tabbed-showcase .cta-buttons {
        margin-top: 30px;
        flex-direction: column;
    }

    .springer-tabbed-showcase .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .springer-tabbed-showcase .image-container {
        min-height: 300px;
    }

    .springer-tabbed-showcase .tabs-list {
        gap: 15px;
    }

    .springer-tabbed-showcase .tab-item {
        padding: 12px;
    }

    .springer-tabbed-showcase .tab-item-title {
        font-size: 18px;
    }

    .springer-tabbed-showcase .tab-item-description {
        font-size: 13px;
    }

    .springer-tabbed-showcase .cta-buttons {
        margin-top: 25px;
        gap: 12px;
    }

    .springer-tabbed-showcase .cta-button {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* Logo Overlay */
.springer-tabbed-showcase .tab-logo-overlay {
    --logo-offset: 30px;
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gradient overlay - only shows when logo is present */
.springer-tabbed-showcase .tab-image:has(.tab-logo-overlay)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 5;
}

.springer-tabbed-showcase .tab-logo-overlay img {
    max-width: 150px;
    height: auto;
    display: block;
}

/* Logo Position Variants */
.springer-tabbed-showcase .tab-logo-overlay.position-bottom-left {
    bottom: var(--logo-offset);
    left: var(--logo-offset);
}

.springer-tabbed-showcase .tab-logo-overlay.position-bottom-right {
    bottom: var(--logo-offset);
    right: var(--logo-offset);
}

.springer-tabbed-showcase .tab-logo-overlay.position-top-left {
    top: var(--logo-offset);
    left: var(--logo-offset);
}

.springer-tabbed-showcase .tab-logo-overlay.position-top-right {
    top: var(--logo-offset);
    right: var(--logo-offset);
}

.springer-tabbed-showcase .tab-logo-overlay.position-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Logo with Background */
.springer-tabbed-showcase .tab-logo-overlay.has-background {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px 20px;
    border-radius: 4px;
}

/* Responsive Logo */
@media (max-width: 768px) {
    .springer-tabbed-showcase .tab-logo-overlay {
        --logo-offset: 20px;
    }

    .springer-tabbed-showcase .tab-logo-overlay img {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .springer-tabbed-showcase .tab-logo-overlay {
        --logo-offset: 15px;
    }

    .springer-tabbed-showcase .tab-logo-overlay img {
        max-width: 100px;
    }

    .springer-tabbed-showcase .tab-logo-overlay.has-background {
        padding: 10px 15px;
    }
}

/* ===========================
   Amenities Carousel Widget
   =========================== */

/* Carousel wrapper */
.springer-amenities-carousel .ui-e-carousel {
    overflow: hidden;
    position: relative;
}

.springer-amenities-carousel .swiper-wrapper {
    display: flex;
}

.springer-amenities-carousel .ui-e-wrp {
    flex-shrink: 0;
}

/* Amenity Item */
.amenity-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}

/* Background Image */
.amenity-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.amenity-item:hover .amenity-background {
    transform: scale(1.05);
}

/* Overlay */
.amenity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

/* Content Container */
.amenity-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.amenity-item:hover .amenity-content {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Fullscreen Story Sections Widget
   =========================== */

/* Main container - sits in normal document flow */
.springer-story-sections {
    position: relative;
    width: 100%;
    background: #000;
}

/* Pinned wrapper - this gets pinned by ScrollTrigger */
.springer-story-sections .story-sections-pin {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Sections stack inside the pinned area */
.springer-story-sections .story-sections-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Section - stacked on top of each other */
.springer-story-sections .story-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    will-change: transform, opacity;
    z-index: 0;
}

.springer-story-sections .story-section.active {
    visibility: visible;
    opacity: 1;
    z-index: 1;
}

.springer-story-sections .story-section-outer,
.springer-story-sections .story-section-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    will-change: transform;
}

/* Background */
.springer-story-sections .story-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
}

/* Overlay */
.springer-story-sections .story-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

/* Content */
.springer-story-sections .story-section-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
}

/* Headline */
.springer-story-sections .story-section-headline {
    margin: 0 0 20px 0;
    color: #FFFFFF;
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

/* Description */
.springer-story-sections .story-section-description {
    margin: 0 0 30px 0;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

.springer-story-sections .story-section-description p {
    margin: 0 0 1em 0;
}

.springer-story-sections .story-section-description p:last-child {
    margin-bottom: 0;
}

/* CTA Button - Springer Button Style */
.springer-story-sections .story-cta-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 30px;
    min-width: 200px;
    border-radius: 8px;
    background: #2A7A7F;
    color: #FFFFFF;
    text-decoration: none;
    font-family: Roboto, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

.springer-story-sections .story-cta-button:hover {
    text-decoration: none;
}

/* Button Speckles */
.springer-story-sections .story-cta-button.has-speckles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
    background-size: 200px 200px;
    background-repeat: repeat;
}

/* Button Text Animation - slides left on hover */
.springer-story-sections .story-cta-button .button-text {
    display: inline-block;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    will-change: transform;
}

.springer-story-sections .story-cta-button:hover .button-text {
    transform: translate3d(-1rem, 0, 0);
}

/* Button Icon - matches Springer button exactly */
.springer-story-sections .story-cta-button .button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    transition: all 0.3s ease;
    will-change: right, opacity;
    width: 20px;
    height: 20px;
}

/* Force the specific Springer arrow SVG */
.springer-story-sections .story-cta-button .button-icon svg,
.springer-story-sections .story-cta-button .button-icon i {
    display: none;
}

.springer-story-sections .story-cta-button .button-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/uploads/2025/11/guidance_right-arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Show icon on hover - slide in from right */
.springer-story-sections .story-cta-button:hover .button-icon {
    opacity: 1;
    right: 2rem;
}

/* Scroll Indicators - position absolute within the pin wrapper */
.springer-story-sections .story-indicators {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 100;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.springer-story-sections .story-indicators.visible {
    opacity: 1;
}

.springer-story-sections .story-indicators.left {
    left: 20px;
}

.springer-story-sections .story-indicators.right {
    right: 20px;
}

.springer-story-sections .story-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.springer-story-sections .story-indicator:hover {
    transform: scale(1.2);
}

.springer-story-sections .story-indicator.active {
    background: #FFFFFF;
}

/* Editor Preview - Simple stacked view for easy editing */
.springer-story-sections-editor {
    position: relative;
    height: auto !important;
    overflow: visible !important;
}

.springer-story-sections-editor .story-sections-pin {
    height: auto !important;
    overflow: visible !important;
}

.springer-story-sections-editor .story-sections-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.springer-story-sections-editor .story-section {
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 400px !important;
    border-radius: 8px;
    overflow: hidden;
}

.springer-story-sections-editor .story-section-headline,
.springer-story-sections-editor .story-section-description,
.springer-story-sections-editor .story-cta-button {
    opacity: 1 !important;
    transform: none !important;
}

.springer-story-sections-editor .story-indicators {
    display: none;
}

.springer-story-sections-editor .editor-notice {
    background: rgba(42, 122, 127, 0.9);
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    margin-top: 20px;
}

.springer-story-sections-editor .editor-notice p {
    margin: 0;
}

/* Mobile Stacked Mode */
.springer-story-sections.mobile-mode .story-sections-pin {
    height: auto !important;
}

.springer-story-sections.mobile-mode .story-section {
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 100vh;
    min-height: 600px;
}

.springer-story-sections.mobile-mode .story-section-outer,
.springer-story-sections.mobile-mode .story-section-inner {
    transform: none !important;
}

.springer-story-sections.mobile-mode .story-section-headline,
.springer-story-sections.mobile-mode .story-section-description,
.springer-story-sections.mobile-mode .story-cta-button {
    opacity: 1 !important;
    transform: none !important;
}

.springer-story-sections.mobile-mode .story-indicators {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .springer-story-sections .story-section-content {
        padding: 30px 20px;
    }

    .springer-story-sections .story-indicators {
        gap: 12px;
        padding: 15px;
    }

    .springer-story-sections .story-indicators.left {
        left: 10px;
    }

    .springer-story-sections .story-indicators.right {
        right: 10px;
    }
}

