/* Frontend Marquee Styles */
.amw-marquee-wrapper {
    width: 100%;
    box-sizing: border-box;
    display: flex; /* Use flexbox for the label and scroller layout */
    align-items: stretch; /* Make label and scroller equal height */
    overflow: hidden; /* Hide anything that might overflow the main wrapper */
}

.amw-static-label {
    flex-shrink: 0; /* Prevent the label from shrinking */
    /* **FIXED:** Vertical padding removed to allow align-items:stretch to work correctly. 
       Horizontal padding is set as a base, can be overridden by inline styles. */
    padding: 0 15px; 
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amw-static-label i {
    /* Styles for icon in the label will be handled by inline CSS */
}

.amw-marquee-scroll-container {
    flex-grow: 1; /* Allow the scroller to take up remaining space */
    overflow: hidden; /* This is the container that hides the overflowing marquee content */
    white-space: nowrap;
    display: flex;
    align-items: center;
    /* **FIXED:** Vertical padding is now applied here via inline styles instead of the wrapper */
}

.amw-marquee-content {
    display: inline-block;
}

.amw-marquee-item {
    display: inline-flex; /* Use flex for better alignment of icon and text */
    align-items: center;
    padding: 0 20px; /* Default space between items */
    vertical-align: middle;
}

.amw-marquee-item a {
    text-decoration: none;
    color: inherit; /* Inherits color from parent */
    display: inline-flex;
    align-items: center;
}

.amw-marquee-item i {
    margin-right: 8px; /* Default icon text gap */
}

/* Animation Keyframes */
@keyframes amw-scroll-ltr {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes amw-scroll-rtl {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}
