/* body {
    background: url('../images/wall.png') no-repeat center center fixed; 
    background-size: cover;
} */

.entry__thumb {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
    width: 100%;
    overflow: hidden; 
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    padding: 10px;
}

.entry__thumb::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-radius: 3px 0 0 0;
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.2);
    transform: rotate(45deg) translate(50%, 50%);
    transform-origin: bottom right;
}


.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel__track-container {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    /* max-height: 500px; */
}

.carousel__track {
    display: flex;
    transition: transform 0.5s ease;
    list-style: none; /* Remove default list styling */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.carousel__slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center; /* Center the image within the slide */
    align-items: center;
}

/* .carousel__image {
    display: block;
    max-width: 100%; 
    height: auto; 
} */

.carousel__image {
    width: 100%;
    height: auto; /* 确保图片等比例缩放 */
    object-fit: contain; /* 保持图片等比例缩放且不被裁剪 */
    max-height: 100%; /* 确保图片不会超过容器的高度 */
    border-radius: 8px;
}

.carousel__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7); 
    border: none;
    color: black; /* Black arrow color for contrast */
    padding: 0rem;
    cursor: pointer;
    z-index: 1;
    height: 4rem; /* Set button height */
    width: 4rem; /* Set button width */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Make buttons circular */
    transition: background 0.3s ease;
    text-decoration: none; /* Ensure no underline or other text decoration */
    margin: 0; /* Ensure no margin */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); 
    opacity:0.7;
}

.carousel__button:hover {
    background: rgba(255, 255, 255, 0.9); 
}

.carousel__button--left {
    left: 0px;
}

.carousel__button--right {
    right: 0px;
}

.carousel__button:disabled {
    display: none;
}

.carousel__button i {
    font-size: 1.5rem; /* Adjust icon size */
    margin: 0; /* Ensure no margin */
    padding: 0; /* Ensure no padding */
    list-style: none; /* Ensure no list style */
    display: flex;
    align-items: center;
    justify-content: center; /* Center icon within button */
    width: 100%; /* Ensure icon takes full width */
    height: 100%; /* Ensure icon takes full height */
}


/* 基本按钮样式 */
.s-header__nav a {
    display: block;
    padding: 10px 20px;
    color: #333; /* 深灰色字体 */
    background-color: #f9f9f9; /* 非纯白色背景 */
    text-decoration: none;
    border-radius: 8px; /* 调整圆角 */
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    position: relative; /* 相对定位用于阴影和卷角效果 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 微微的阴影 */
    overflow: hidden; /* 隐藏溢出的元素 */
}

/* 鼠标悬停效果 */
.s-header__nav a:hover {
    background-color: #e6e6e6; /* 浅灰色背景 */
}

/* 高亮显示样式 */
.s-header__nav a.active {
    background-color: #ffeb99; /* 浅黄色背景 */
    color: #333; /* 深灰色字体 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 更明显的阴影 */
}

/* 卷角效果 */
.s-header__nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: #fff; /* 卷角颜色 */
    border-bottom: 1px solid #ccc; /* 卷角边框 */
    border-right: 1px solid #ccc; /* 卷角边框 */
    border-radius: 3px 0 0 0;
    box-shadow: -4px -4px 8px rgba(0, 0, 0, 0.2); /* 更明显的阴影 */
    transform: rotate(45deg) translate(50%, 50%);
    transform-origin: bottom right;
}

.s-header__linkedin {
    display: flex;
    align-items: center;
    margin-left: auto;
    /* 将LinkedIn链接推到右边 */
}

.s-header__linkedin img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    /* 图标和文字之间的间距 */
    vertical-align: middle;
    /* 确保图标与文字对齐 */
}

.s-header__linkedin a {
    color: #0077b5;
    /* LinkedIn的品牌颜色 */
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    /* 确保图标和文字垂直居中对齐 */
    height: 100%;
    /* 确保链接的高度与图标相同 */
}

.s-header__linkedin a:hover {
    text-decoration: underline;
}