.wise-news-ticker-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.wise-news-ticker-label {
    color: #fff;
    margin-right: 15px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 2;
    position: relative;
}

/* Label Animations */
.wise-news-ticker-label.animate-pulse {
    animation: pulse 2s infinite;
}

.wise-news-ticker-label.animate-flash {
    animation: flash 2s infinite;
}

.wise-news-ticker-label.animate-bounce {
    animation: bounce 2s infinite;
}

.wise-news-ticker-label.animate-shake {
    animation: shake 2s infinite;
}

.wise-news-ticker-label.animate-tada {
    animation: tada 2s infinite;
}

.wise-news-ticker-label.animate-swing {
    animation: swing 2s infinite;
}

.wise-news-ticker-label.animate-wobble {
    animation: wobble 2s infinite;
}

/* Animation Durations */
.wise-news-ticker-label[data-duration="slow"] {
    animation-duration: 3s !important;
}

.wise-news-ticker-label[data-duration="normal"] {
    animation-duration: 2s !important;
}

.wise-news-ticker-label[data-duration="fast"] {
    animation-duration: 1s !important;
}

/* Animation Keyframes */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes flash {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.5; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes tada {
    0% { transform: scale(1); }
    10%, 20% { transform: scale(0.9) rotate(-3deg); }
    30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
    40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
    100% { transform: scale(1) rotate(0); }
}

@keyframes swing {
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

@keyframes wobble {
    0% { transform: translateX(0%); }
    15% { transform: translateX(-25%) rotate(-5deg); }
    30% { transform: translateX(20%) rotate(3deg); }
    45% { transform: translateX(-15%) rotate(-3deg); }
    60% { transform: translateX(10%) rotate(2deg); }
    75% { transform: translateX(-5%) rotate(-1deg); }
    100% { transform: translateX(0%); }
}

.wise-news-ticker {
    display: flex;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.wise-news-ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 20px;
    flex-shrink: 0;
    transform-origin: center;
}

.wise-news-ticker-item:not(:last-child)::after {
    content: '•';
    color: #ccc;
    margin-left: 10px;
}

.wise-news-ticker-item a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: color 0.3s ease;
}

.wise-news-ticker-item a:hover {
    color: #007bff;
}

.wise-news-ticker-date {
    color: #666;
    font-size: 0.9em;
}

/* Pause animation on hover */
.wise-news-ticker-wrapper[data-pause-on-hover="yes"]:hover .wise-news-ticker {
    animation-play-state: paused;
}

/* Post Ticker Animations */
.wise-news-ticker[data-animation="slide"] {
    animation: ticker-slide linear infinite;
}

.wise-news-ticker[data-animation="fade"] {
    animation: ticker-fade ease-in-out infinite;
}

.wise-news-ticker[data-animation="bounce"] {
    animation: ticker-bounce ease-in-out infinite;
}

.wise-news-ticker[data-animation="elastic"] {
    animation: ticker-elastic ease-in-out infinite;
}

.wise-news-ticker[data-animation="ease"] {
    animation: ticker-ease ease-in-out infinite;
}

.wise-news-ticker[data-animation="wave"] {
    animation: ticker-wave ease-in-out infinite;
}

.wise-news-ticker[data-animation="flip"] {
    animation: ticker-flip ease-in-out infinite;
}

.wise-news-ticker[data-animation="zoom"] {
    animation: ticker-zoom ease-in-out infinite;
}

.wise-news-ticker[data-animation="rotate"] {
    animation: ticker-rotate ease-in-out infinite;
}

.wise-news-ticker[data-animation="swing"] {
    animation: ticker-swing ease-in-out infinite;
}

/* Animation Keyframes */
@keyframes ticker-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes ticker-fade {
    0% { opacity: 1; transform: translateX(0); }
    50% { opacity: 0.5; }
    100% { opacity: 1; transform: translateX(-50%); }
}

@keyframes ticker-bounce {
    0% { transform: translateX(0); }
    50% { transform: translateX(-25%) translateY(-5px); }
    100% { transform: translateX(-50%); }
}

@keyframes ticker-elastic {
    0% { transform: translateX(0); }
    50% { transform: translateX(-25%) scale(1.05); }
    100% { transform: translateX(-50%); }
}

@keyframes ticker-ease {
    0% { transform: translateX(0); }
    25% { transform: translateX(-12.5%); }
    50% { transform: translateX(-25%); }
    75% { transform: translateX(-37.5%); }
    100% { transform: translateX(-50%); }
}

@keyframes ticker-wave {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-12.5%) translateY(-5px); }
    50% { transform: translateX(-25%) translateY(0); }
    75% { transform: translateX(-37.5%) translateY(5px); }
    100% { transform: translateX(-50%) translateY(0); }
}

@keyframes ticker-flip {
    0% { transform: translateX(0) rotateX(0); }
    25% { transform: translateX(-12.5%) rotateX(90deg); }
    50% { transform: translateX(-25%) rotateX(0); }
    75% { transform: translateX(-37.5%) rotateX(-90deg); }
    100% { transform: translateX(-50%) rotateX(0); }
}

@keyframes ticker-zoom {
    0% { transform: translateX(0) scale(1); }
    25% { transform: translateX(-12.5%) scale(1.1); }
    50% { transform: translateX(-25%) scale(1); }
    75% { transform: translateX(-37.5%) scale(0.9); }
    100% { transform: translateX(-50%) scale(1); }
}

@keyframes ticker-rotate {
    0% { transform: translateX(0) rotate(0); }
    25% { transform: translateX(-12.5%) rotate(5deg); }
    50% { transform: translateX(-25%) rotate(0); }
    75% { transform: translateX(-37.5%) rotate(-5deg); }
    100% { transform: translateX(-50%) rotate(0); }
}

@keyframes ticker-swing {
    0% { transform: translateX(0) rotate(0); }
    25% { transform: translateX(-12.5%) rotate(3deg); }
    50% { transform: translateX(-25%) rotate(0); }
    75% { transform: translateX(-37.5%) rotate(-3deg); }
    100% { transform: translateX(-50%) rotate(0); }
}

/* Animation Speed Control */
.wise-news-ticker[data-speed="1"] { animation-duration: 30s; }
.wise-news-ticker[data-speed="2"] { animation-duration: 25s; }
.wise-news-ticker[data-speed="3"] { animation-duration: 20s; }
.wise-news-ticker[data-speed="4"] { animation-duration: 15s; }
.wise-news-ticker[data-speed="5"] { animation-duration: 10s; }
.wise-news-ticker[data-speed="6"] { animation-duration: 8s; }
.wise-news-ticker[data-speed="7"] { animation-duration: 6s; }
.wise-news-ticker[data-speed="8"] { animation-duration: 4s; }
.wise-news-ticker[data-speed="9"] { animation-duration: 3s; }
.wise-news-ticker[data-speed="10"] { animation-duration: 2s; }

/* Duplicate content for continuous animation */
.wise-news-ticker::after {
    content: attr(data-content);
    padding-left: 20px;
}

/* Template Styles */
.wise-news-ticker-wrapper.style-1 {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.wise-news-ticker-wrapper.style-1 .wise-news-ticker-label {
    border-radius: 4px 0 0 4px;
    font-weight: 600;
}

.wise-news-ticker-wrapper.style-2 {
    background: linear-gradient(45deg, #f8f9fa, #ffffff);
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

.wise-news-ticker-wrapper.style-2 .wise-news-ticker-label {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.wise-news-ticker-wrapper.style-3 {
    background: #ffffff;
    border-bottom: 3px solid #007bff;
    border-radius: 4px;
}

.wise-news-ticker-wrapper.style-3 .wise-news-ticker-label {
    background: #007bff;
    border-radius: 0;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
}

.wise-news-ticker-wrapper.style-4 {
    background: #343a40;
    color: #ffffff;
    border-radius: 6px;
}

.wise-news-ticker-wrapper.style-4 .wise-news-ticker-label {
    background: #007bff;
    border-radius: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wise-news-ticker-wrapper.style-4 .wise-news-ticker-item a {
    color: #ffffff;
}

.wise-news-ticker-wrapper.style-4 .wise-news-ticker-date {
    color: #adb5bd;
}

.wise-news-ticker-wrapper.style-5 {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wise-news-ticker-wrapper.style-5 .wise-news-ticker-label {
    background: #007bff;
    border-radius: 8px 0 0 8px;
    font-weight: 500;
    font-style: italic;
}

.wise-news-ticker-wrapper.style-5 .wise-news-ticker-item {
    font-weight: 500;
}

.wise-news-ticker-wrapper.style-5 .wise-news-ticker-date {
    font-style: italic;
    color: #6c757d;
}

/* Style 6 - Neon */
.wise-news-ticker-wrapper.style-6 {
    background: #1a1a1a;
    border: 1px solid #333;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

.wise-news-ticker-wrapper.style-6 .wise-news-ticker-label {
    background: #007bff;
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 123, 255, 0.8);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    font-weight: 600;
    letter-spacing: 1px;
}

.wise-news-ticker-wrapper.style-6 .wise-news-ticker-item a {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.wise-news-ticker-wrapper.style-6 .wise-news-ticker-date {
    color: #007bff;
    text-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Style 7 - Gradient */
.wise-news-ticker-wrapper.style-7 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.wise-news-ticker-wrapper.style-7 .wise-news-ticker-label {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.wise-news-ticker-wrapper.style-7 .wise-news-ticker-item a {
    color: #fff;
}

.wise-news-ticker-wrapper.style-7 .wise-news-ticker-date {
    color: rgba(255, 255, 255, 0.8);
}

/* Style 8 - Glass */
.wise-news-ticker-wrapper.style-8 {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.wise-news-ticker-wrapper.style-8 .wise-news-ticker-label {
    background: rgba(0, 123, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 12px 0 0 12px;
    font-weight: 500;
}

.wise-news-ticker-wrapper.style-8 .wise-news-ticker-item {
    color: #333;
}

.wise-news-ticker-wrapper.style-8 .wise-news-ticker-date {
    color: #666;
}

/* Style 9 - Corporate */
.wise-news-ticker-wrapper.style-9 {
    background: #fff;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.wise-news-ticker-wrapper.style-9 .wise-news-ticker-label {
    background: #007bff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1px;
}

.wise-news-ticker-wrapper.style-9 .wise-news-ticker-item {
    font-weight: 500;
}

.wise-news-ticker-wrapper.style-9 .wise-news-ticker-date {
    color: #666;
    font-size: 0.85em;
}

/* Style 10 - Creative */
.wise-news-ticker-wrapper.style-10 {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.wise-news-ticker-wrapper.style-10 .wise-news-ticker-label {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    border-radius: 20px 0 0 20px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.wise-news-ticker-wrapper.style-10 .wise-news-ticker-label::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 2s infinite;
}

.wise-news-ticker-wrapper.style-10 .wise-news-ticker-item a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.wise-news-ticker-wrapper.style-10 .wise-news-ticker-item a:hover {
    color: #ff6b6b;
}

.wise-news-ticker-wrapper.style-10 .wise-news-ticker-date {
    color: #666;
    font-style: italic;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Style 11 - Retro */
.wise-news-ticker-wrapper.style-11 {
    background: #f4d03f;
    border: 3px solid #2c3e50;
    border-radius: 0;
    font-family: 'Courier New', monospace;
}

.wise-news-ticker-wrapper.style-11 .wise-news-ticker-label {
    background: #2c3e50;
    color: #f4d03f;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-right: 3px solid #f4d03f;
}

.wise-news-ticker-wrapper.style-11 .wise-news-ticker-item a {
    color: #2c3e50;
    font-weight: bold;
}

.wise-news-ticker-wrapper.style-11 .wise-news-ticker-date {
    color: #2c3e50;
    font-style: italic;
}

/* Style 12 - Minimal Dark */
.wise-news-ticker-wrapper.style-12 {
    background: #1a1a1a;
    border: none;
    border-radius: 0;
}

.wise-news-ticker-wrapper.style-12 .wise-news-ticker-label {
    background: #333;
    color: #fff;
    font-weight: 300;
    letter-spacing: 1px;
    border-right: 1px solid #444;
}

.wise-news-ticker-wrapper.style-12 .wise-news-ticker-item a {
    color: #fff;
    font-weight: 300;
}

.wise-news-ticker-wrapper.style-12 .wise-news-ticker-date {
    color: #888;
    font-size: 0.9em;
}

/* Style 13 - Floating */
.wise-news-ticker-wrapper.style-13 {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.wise-news-ticker-wrapper.style-13:hover {
    transform: translateY(-5px);
}

.wise-news-ticker-wrapper.style-13 .wise-news-ticker-label {
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    border-radius: 15px 0 0 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.wise-news-ticker-wrapper.style-13 .wise-news-ticker-item a {
    color: #333;
    transition: color 0.3s ease;
}

.wise-news-ticker-wrapper.style-13 .wise-news-ticker-item a:hover {
    color: #0072ff;
}

.wise-news-ticker-wrapper.style-13 .wise-news-ticker-date {
    color: #666;
}

/* Style 14 - Tech */
.wise-news-ticker-wrapper.style-14 {
    background: #000;
    border: 1px solid #00ff00;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.wise-news-ticker-wrapper.style-14 .wise-news-ticker-label {
    background: #00ff00;
    color: #000;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wise-news-ticker-wrapper.style-14 .wise-news-ticker-item a {
    color: #00ff00;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.wise-news-ticker-wrapper.style-14 .wise-news-ticker-date {
    color: #00ff00;
    opacity: 0.7;
}

/* Style 15 - Magazine */
.wise-news-ticker-wrapper.style-15 {
    background: #fff;
    border-top: 4px solid #e74c3c;
    border-bottom: 4px solid #e74c3c;
    font-family: Georgia, serif;
}

.wise-news-ticker-wrapper.style-15 .wise-news-ticker-label {
    background: #e74c3c;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
}

.wise-news-ticker-wrapper.style-15 .wise-news-ticker-item a {
    color: #2c3e50;
    font-weight: 500;
    font-style: italic;
}

.wise-news-ticker-wrapper.style-15 .wise-news-ticker-date {
    color: #7f8c8d;
    font-size: 0.85em;
}

/* Add some animations for the new styles */
@keyframes tech-glow {
    0% { box-shadow: 0 0 20px rgba(0, 255, 0, 0.2); }
    50% { box-shadow: 0 0 30px rgba(0, 255, 0, 0.4); }
    100% { box-shadow: 0 0 20px rgba(0, 255, 0, 0.2); }
}

.wise-news-ticker-wrapper.style-14 {
    animation: tech-glow 2s infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.wise-news-ticker-wrapper.style-13 {
    animation: float 3s ease-in-out infinite;
}

/* Ensure animations work in all browsers */
.wise-news-ticker {
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

/* Add 3D transforms for better performance */
.wise-news-ticker-item {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
} 