
.travel-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.header p {
    color: #666;
    font-size: 1.2rem;
}

.travel-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #1976d2;
}

.stat-label {
    font-size: 1rem;
    color: #666;
}

.travel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-decoration: none;
}

.travel-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.travel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.place-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.place-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.travel-card:hover .place-image img {
    transform: scale(1.05);
}

.place-info {
    padding: 20px;
}

.place-info h3 {
    color: #333;
    font-size: 1.5rem;
    margin: 0 0 5px 0;
}

.location {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 5px 0;
}


.description {
    color: #555;
    line-height: 1.6;
    margin: 0;
}
/* window */
.window {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}
.window .center{
    /* width: 60%; */
    /* height: 70%; */
    width: 80%;
    /* height: 90vh; */
    max-height: 80vh;
    /* overflow-y: auto; */
    /* max-width: 900px; */
    background-color: #fff;
    padding: 20px;
    /* border: 3px solid white; */
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    /* justify-content: space-between; */
}
.window .center .windowhead{
    width: 100%;
    text-align: center;
}
.window .center .windowhead button{
    width: 30px;
    height: 40px;
    font-size: 15px;
    color: #b1afaf;
    background-color: #fff;
    float: right;
    text-align: center;
    border: none;
}
.window .center .windowhead button:hover{
    color: red;
    cursor: pointer;
}
.window .center .windowbody{
    overflow-y: auto;
}
.window .center .windowbody .imagebox{
    width: 100%;
    max-width: 760px;
    float: left;
    position: relative;
}
/* 轮播图按钮样式 */
.carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  z-index: 9;
}
.carousel-btn:hover{
    background-color: rgba(255,255,255,0.8);
}
.carousel-btn.left {
  left: 10px;
}
.carousel-btn.right {
  right: 10px;
}
/* 轮播图按钮样式 end */
.window .center .windowbody .imagebox img{
    width: 100%;
    height: 500px;
}
.window .center .windowbody .rightbox{
    width: 100%;
    max-width: 750px;
    /* background-color: #a3d608; */
    float: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.window .center .windowbody .rightbox .title{
    font-size: 30px;
    margin-bottom: 30px;
    text-align: center;
}
/* rightbox-center */
.window .center .windowbody .rightbox .rightbox-center{
    width: 80%;
    display: flex;
    flex-direction: column;
}
.window .center .windowbody .rightbox .rightbox-center input{
    /* width: 80%; */
    height: 45px;
    margin-top: 10px;
    border-radius: 15px;
    padding-left: 10px;
    border: 1px solid rgb(214, 213, 213);
}
.window .center .windowbody .rightbox .rightbox-center textarea{
    height: 55px;
    margin-top: 10px;
    border-radius: 15px;
    padding: 10px 10px;
    border: 1px solid rgb(214, 213, 213);
}
.window .center .windowbody .rightbox .rightbox-center .commentinplength{
    font-size: 13px;
    color: #cdf5a8;
}
.window .center .windowbody .rightbox .rightbox-center button{
    font-size: 20px;
    height: 45px;
    margin-top: 10px;
    border-radius: 15px;
    color: #fff;
    border: 1px solid rgb(214, 213, 213);
    background-color: #cccecc;
}
.window .center .windowbody .rightbox .rightbox-center button:hover{
    cursor: pointer;
    border: none;
    color: #f35d06;
    background-color: #e5f0f0;
}
/* commentlist */
.window .center .windowbody .rightbox .commentlist{
    width: 80%;
    height: 200px;
    margin-top: 25px;
    /* flex-direction: column; */
    background-color: #f6f8ed;
    border: 1px solid rgb(214, 213, 213);
    border-radius: 15px;
    overflow: hidden;
}
.window .center .windowbody .rightbox .commentlist .title{
    font-size: 20px;
    line-height: 45px;
    margin-left: 10px;
}
.window .center .windowbody .rightbox .commentlist div{
    width: 100%;
    background-color: #fff;
}
.window .center .windowbody .rightbox .commentlist .overflowy{
    height: 155px;
    max-height: 155px;
    overflow-y: auto;
}
.window .center .windowbody .rightbox .commentlist .overflowy span{
    margin-left: 10px;
}
/* 评论列表 */
.window .center .windowbody .rightbox .commentlist .overflowy .commentlistbox{
    display: flex;
    justify-content: space-between; /* 平摊空间 */
    border-bottom: 1px solid rgb(240, 231, 231);
}
.window .center .windowbody .rightbox .commentlist .overflowy .commentlistbox .commentlistboxleft{
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden; /* 超出部分隐藏 */
}
.window .center .windowbody .rightbox .commentlist .overflowy .commentlistbox  .commentlistboxleft .conten{
    overflow: hidden; /* 超出部分隐藏 */
    text-overflow: ellipsis; /* 超出部分用...代替 */
    white-space: nowrap;
    /* line-height: 40px; */
}
.window .center .windowbody .rightbox .commentlist .overflowy .commentlistbox .commentlistboxleft .time{
    color: #b1b0b0;
    margin-top: 5px;
    font-size: 12px;
}
.window .center .windowbody .rightbox .commentlist .overflowy .commentlistbox:hover .commentlistboxleft{
    background-color: #faf8f8;
    cursor: pointer;
}
.window .center .windowbody .rightbox .commentlist .overflowy .commentlistbox:hover button{
    background-color: #faf8f8;
}
/* 删除按钮 */
.window .center .windowbody .rightbox .commentlist .overflowy .commentlistbox button{
    border: none;
    background-color: #fff;
    color: #d3d2d2;
}
.window .center .windowbody .rightbox .commentlist .overflowy .commentlistbox button:hover{
    color: red;
    cursor: pointer;
}
.window .center .windowbody .rightbox .commentlist .overflowy .notcommentlist{
    height: 155px;
    max-height: 155px;
    border: none;
    text-align: center;
    background-color: #f8f6f6;
}
/* 暂时没有评论 */
.window .center .windowbody .rightbox .commentlist .overflowy .notcommentlist span{
    line-height: 150px;
    color: #f35d06;
}
/* 页脚 */
.indexfoot {
  /* background-color: white; */
  font-size: 15px;
  color: #cac9c9;
  text-align: center;
}
.indexfoot p{
  font-size: 15px;
  line-height: 45px;
}
.indexfoot span{
  font-size: 15px;
  margin-bottom: 20px;
}