﻿          * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        .slider-container {
            max-width: 675px;
            position: relative;
            overflow: hidden;
            
        }
        
        .slider-wrapper {
            width: 100%;
            position: relative;
            height: 379px;

        }
        
        .slider-item {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            opacity: 0;
            transition: opacity 0.8s ease;
            -webkit-transition: opacity 0.8s ease;
            -moz-transition: opacity 0.8s ease;
            -ms-transition: opacity 0.8s ease;
        }
        
        .slider-item.active {
            opacity: 1;
            z-index: 1;
        }
        
        .slider-item img {
            width: 100%;
            height: 379px;
            object-fit: cover;
            display: block;
            flex: 0 1 auto; 
        }
        
        .slider-caption {
            width: 85%;
            padding: 9px 20px;
            background: rgba(255, 255, 255, 1);
            color: #333333;
            position: absolute;
           /*  bottom: -20px; 压在图片底部边缘上方20px */
            left: 50%;
            transform: translate(-50%, -40%);
            border-radius: 5px;
            font-weight: bold;
            flex: 0 1 auto; 
        }
        
        .slider-caption span {
            display: block;
            font-size: 1.125em;
            color: #1991b2;
            font-family: 'Georgia';
            margin-bottom: 6px;
        }
        
        .slider-caption a {
            color: #333333;
            display: block;
            height: 37px;
            line-height: 37px;
            overflow: hidden;
            font-size: 1.2em;
            text-decoration: none;
        }
        
        .slider-caption a:hover {
            text-decoration: underline;
        }
        
        .slider-controls {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 70px;
          
        }
        
        .slider-nav {
            width: 100%;
            display: flex;
            font-size: 1.125em;
            align-items: center;
            justify-content: space-between;
            font-family: "Georgia";
        }
        
        .slider-prev, .slider-next {
            width: 40px;
            height: 40px;
            background:none;
            border: none;
            border-radius: 50%;
            color: #b3bbbd;
            font-size: 40px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 5px;
        }
        
        .slider-prev:hover, .slider-next:hover {
            background: #1f98ba;
            color: #fff;
        }
        
        .slider-pagination {
            display: flex;
            justify-content: center;
            margin: 0 15px;
        }
        
        .slider-pagination ul {
            list-style: none;
            display: flex;
        }
        
        .slider-pagination li {
            width: 30px;
            height: 30px;
            margin: 0 10px;
            background: #f5f5f5;
            color: #b3bbbd;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: "Georgia";
            font-size: 16px;
            font-weight: bold;
        }
        
        .slider-pagination li:hover {
            background: #1f98ba;
            color: #fff;
        }
        
        .slider-pagination li.active {
            background: #1f98ba;
            color: #fff;
        }
        
        @media (max-width: 768px) {
            .slider-wrapper, .slider-item img {
                height: 300px;
            }
            
            .slider-caption {
                padding: 7px 25px;
            }
            
            .slider-caption a {
                font-size: 16px;
            }
            
            .slider-controls {
                flex-direction: column;
                margin-top: 50px;
            }
            
            .slider-pagination {
                margin: 15px 0;
            }
        }