body {
    background-color: #E9FAF3; 
}

.HP-container {
margin: 10px auto; 
padding-top: 30px;
padding-bottom: 30px;
padding-left: 40px;
padding-right: 40px;
background: #CDF3E6;
border-radius: 15px;
max-width: 1100px;
position: relative; 
z-index: 1;
box-sizing: border-box; 
position: relative;
}


.HP-container h2 {
font-size: 2rem;
/*margin-bottom: 20px;*/
font-family: Times New Roman;
font-weight: bold;
text-align: left;
}
.HP-container h3 {
font-size: 1.75rem;
/*margin-bottom: 20px;*/
font-family: Times New Roman;
font-weight: bold;
text-align: left;
}

.corner-image {
position: absolute; 
top: -40px; 
right: -40px; 
width: 150px; 
height: auto;
transform: rotate(25deg); 
z-index: 10; 
}

.top-color-section {
width: 100vw;
background-color: #E9FAF3; 
height:60px;
box-sizing: border-box;
margin-left: -60px;
}

.iHP-container {
width: 100vw;
background-color: #5bb9b3;
padding: 20px;
box-sizing: border-box;
margin-left: -60px;
}

.iHP-container .intro-text {
    color: #E9FAF3; 
    width: 90%;
    /* max-width: 100%; */
    word-break:normal;
    overflow-wrap: break-word;
    margin: 0 auto; 
    text-align: justify; 
    line-height: 1.6; 
    margin-bottom: 20px;
    display: flex;
    max-width: 1200px;
}

.filter-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 10px;
}

.filter-section span {
    margin-right: 10px;
    font-size: 14px;
    color: #E9FAF3;
}

.filter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.filter button.active {
    background-color: #ff6f61;
    color: #fff;
}

.filter button {
    background-color: #fff;
    color: #008B8B;
    border: none;
    padding: 5px 20px;
    margin: 6px;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease; 
}

.filter button:hover {
    background-color: #ff6f61;
    color: #fff;
    transform: translateY(-5px) scale(1.05);
}

.events {
    padding: 40px 20px;
}
.events h1{
    font-size: 2.25rem;
    /*margin-bottom: 20px;*/
    font-family: Times New Roman;
    font-weight: bold;
    text-align: center;
}

.link-text {
    position: relative; 
    text-decoration: none; 
    color: #008B8B; 
}

.link-text:hover {
    color: #033e3e;
    text-decoration: none;
    font-weight: bold; /* 悬浮时加粗文字 */
}

.event-time {
    font-size: 28px;
    margin-bottom: 20px;
    font-family: Bodoni MT Black;
    color:#008B8B;
    display: block;
}

.event-card {
    background-color: #CDF3E6; 
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 139, 139, 0.3); 
    /* padding: 20px; */
    box-sizing: border-box;
    position: relative; 
    margin: 10px auto; 
    margin-bottom: 20px;
    padding-left: 40px;
    padding-right: 40px;
    max-width: 1100px;
}

.event-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
    text-transform: none;
    margin-bottom: 10px;
}

.event-card h4 {
    margin-top: 0;
    font-size: 1.25rem;
    font-family: 'Times New Roman', Times, serif;
    text-transform: none;
    margin-bottom: 10px;
}

.event-body {
    display: flex;
    align-items: flex-start;
}

.event-body img {
    border-radius: 8px;
    margin-right: 20px;
    width: 125px;
    height: auto;
}

.event-card-content {
    flex-grow: 1;
}

.event-card-content h4 {
    font-size: 1.25rem;
}

.event-card-content p {
    margin: 10px 0 0;
}