/* åŸºç¡€é‡ç½®å’Œå˜é‡å®šä¹‰ */
:root {
    --primary-color: #555;
    --hover-color: #000;
    --border-color: #ddd;
    --bg-color: #fff;
    --focus-width: 779px;
    --focus-height: 350px;
}

/* ä¿®å¤çš„æ–°é—»åˆ—è¡¨æ ·å¼ */
li.airlnews {
    list-style: none;
}

img.airlnews {
    border: none;
}

em.airlnews {
    font-style: normal;
}

a.airlnews {
    color: var(--primary-color);
    text-decoration: none;
    outline: none;
    transition: color 0.3s ease;
}

a.airlnews:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

.clear {
    height: 0;
    overflow: hidden;
    clear: both;
}

h4.airlnews {
    font-size: 16px;
    font-style: italic;
    font-weight: bold;
    height: 27px;
    line-height: 27px;
    padding: 7px 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

/* æ–°é—»åŒºåŸŸæ ·å¼ */
.news {
    /* background-color: var(--bg-color); */
    /* border: 1px solid var(--border-color); */
    /* width: 100%; */
    /* max-width: 580px; */
    /* min-height: 170px; */
       flex: 1 1 580px; 
    /* margin-bottom: 20px; */
    background-color: #fff;
    border: #ddd 1px solid;
    width: 580px;
    float: left;
    height: 350px
    /*min-height: 170px; */
    /* height: auto; */
}

.airl {
    /* background-color: var(--bg-color); */
    /* border: 1px solid var(--border-color); */
    /* width: 100%; */
    /* max-width: 580px; */
    /* height: 170px; */
    /* flex: 1 1 580px; */
    /* min-height: 170px; */
    /* margin-bottom: 20px; */
    background-color: #fff;
    border: #ddd 1px solid;
    width: 580px;
    height: 170px;
    float: left;
    min-height: 170px;
}

.intro {
    margin-left: 15px;
    margin-right: 15px;
    padding-top: 2px;
}

/* å›¢é˜Ÿå’Œåœ°å€åŒºåŸŸæ ·å¼ */
div.teamairl {
    /* width: 100%; */
    /* max-width: 236px; */
    /* height: 340px; */
    /* background-color: var(--bg-color); */
    /* border: 1px solid var(--border-color); */
    /* flex: 1 1 236px; */
    /* margin-bottom: 20px; */
    width: 236px;
    height: 340px;
    background-color: #fff;
    border: #ddd 1px solid;
    float: left;
}

div.addressairl {
    width: 236px;
    height: 170px;
    background-color: #fff;
    border: #ddd 1px solid;
    float: left;
    /* width: 100%; */
    /* max-width: 236px; */
    height: 170px;
    background-color: var(--bg-color);
    /* border: 1px solid var(--border-color); */
    flex: 1 1 236px;
    /* margin-bottom: 20px; */
}

/* ä¿®å¤å›¾ç‰‡å±…ä¸­æ ·å¼ */
.inoimg {
    text-align: center;
    display: block;
}

.inoimg img {
    display: inline-block;
    margin: 0 auto;
}

/* æ–°é—»åˆ—è¡¨æ ·å¼ */
.news ul {
    padding: 12px 20px;
    font-size: 15px;
    text-align: justify;
    margin: 0;
}

.news ul li {
    height: 24px;
    line-height: 24px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* è½®æ’­å›¾æ ·å¼ */
.lunbo {
    margin: 0;
    padding: 0;
    border: 0;
}

div.lunbo {
    width: 100%;
    width: 779px;
    height: 350px;
    margin: 0 auto;
}

/* å¹»ç¯ç‰‡å®¹å™¨ */
#focus {
    width: 100%;
    max-width: var(--focus-width);
    height: var(--focus-height);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

#focus ul.lunbo {
    /* width: 100%; */
    height: 350px;
    position: absolute;
    /* left: 0; */
    /* top: 0; */
    /* margin: 0; */
    /* padding: 0; */
    /* list-style: none; */
}

#focus li.lunbo {
    /* float: left; */
    /* width: 100%; */
    /* height: 100%; */
    /* overflow: hidden; */
    /* position: relative; */
    float: left;
    width: 779px;
    height: 350px;
    overflow: hidden;
    position: relative;

   /* background-size: cover; */  /* 或 contain */
   /* background-position: center; */
   /* background-repeat: no-repeat; */
}


#focus ul.lunbo li.lunbo div.lunbo {
    position: absolute;
    overflow: hidden;
}

#focus .btnBg {
    /* position: absolute; */
    /* width: 100%; */
    /* left: 0; */
    /* bottom: 65px; */
    /* background: rgba(0, 0, 0, 0.5); */
    /* height: 20px; */
    position: absolute;
    width: 779px;
    left: 0;
    bottom: 0;
    background: #000;
}

#focus .btn {
    /* position: absolute; */
    /* width: 100%; */
    /* height: 65px; */
    /* padding: 5px 10px; */
    /* right: 0; */
    /* bottom: 0; */
    /* text-align: right; */
    /* background: rgba(0, 0, 0, 0.7); */
    position: absolute;
    width: 779px;
    height: 65px;
    padding: 5px 10px;
    right: 0;
    bottom: 0;
    text-align: right;
}

#focus .btn span {
    display: inline-block;
    width: 25px;
    height: 10px;
    margin-left: 5px;
    cursor: pointer;
    background: #fff;
    border-radius: 2px;
    transition: background 0.3s ease;
}

#focus .btn span.on {
    background: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

#focus .preNext {
    width: 45px;
    height: 100px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    transition: background 0.3s ease;
}

#focus .preNext:hover {
    background: rgba(0, 0, 0, 0.8);
}

#focus .pre {
    left: 10px;
}

#focus .next {
    right: 10px;
}

#focus .preNext::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border: 8px solid transparent;
}

#focus .pre::before {
    border-right-color: #fff;
    transform: translate(-25%, -50%);
}

#focus .next::before {
    border-left-color: #fff;
    transform: translate(25%, -50%);
}

#focus ul.lunbo li.lunbo .slideother {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(img1/bg_down.gif) no-repeat center center;
    z-index: 1000;
    opacity: 0.8;
}

/* å“åº”å¼è®¾è®¡ */
@media (max-width: 768px) {
    .news, .airl {
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    div.teamairl, div.addressairl {
        max-width: 100%;
        width: 100%;
        margin-bottom: 15px;
    }
    
    div.lunbo {
        max-width: 100%;
        height: 200px;
    }
    
    #focus {
        max-width: 100%;
        height: 200px;
    }
    
    #focus li.lunbo {
        height: 200px;
    }
    
    h4.airlnews {
        font-size: 14px;
        padding: 5px 10px;
    }
    
    .news ul {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .news ul li {
        height: 22px;
        line-height: 22px;
    }
}

@media (max-width: 480px) {
    div.lunbo {
        height: 150px;
    }
    
    #focus {
        height: 150px;
    }
    
    #focus li.lunbo {
        height: 150px;
    }
    
    #focus .preNext {
        width: 35px;
        height: 70px;
    }
    
    #focus .btn {
        height: 45px;
        bottom: 0;
    }
    
    #focus .btn span {
        width: 20px;
        height: 8px;
    }
}

/* Flexbox å¸ƒå±€å®¹å™¨ */
.content-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.content-container > div {
    flex: 1 1 auto;
    min-width: 236px; /* æœ€å°å®½åº¦ä¿è¯ */
}

/* æ¸…é™¤æµ®åŠ¨çš„çŽ°ä»£æ–¹æ³• */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}