/* styles.css */

body {
    font-family: "微软雅黑", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
}

p {
    color: #666;
}

.author {
    font-style: italic;
    color: #888;
}

.date {
    color: #888;
}

.info {
    font-style: italic;
    color: #555;
    margin: 20px 0;
}

img {
    max-width: 80%; /* 设置图片最大宽度为容器宽度的80% */
    height: auto;
    display: block;
    margin: 20px auto; /* 上下边距为20px，左右边距为auto，使图片居中 */
}

.fashion {
    font-style: italic;
    color: #888;
}

.qna {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

video {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
}

.introduction {
    margin-bottom: 20px;
}


.interviews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 0;
}
.interviews img {
    list-style-type: none;
    padding: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 20px;
    top: 0;
    left: 10;
}

.interviews a {
    text-decoration: none;
    color: #333;
    display: block;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* 添加阴影过渡效果 */
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 添加阴影效果 */
}

.interviews a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); /* 悬停时的阴影效果 */
}

.interviews .image-container {
    width: 200px; /* 设置图片容器的宽度为200px */
    height: 200px; /* 设置图片容器的高度为200px */
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    margin: 0 auto 10px; /* 居中图片 */
}
.bottom0{
    margin-bottom: 0px;
}

.interviews-date{
    position: absolute;
    display: block;
    top: 1;
    right: 0;
    text-align:right;
    font-size:0.8em;
    color:gray;
}

.interview-item {
    position: relative; /* 设置相对定位 */
}

/* 响应式设计 */
@media (max-width: 768px) {
    
    .container {
        width: 90%;
        padding: 20px;
    }

    body {
        font-size: 20px;
    }



    p {
        font-size: 20px;
    }

    img, video {
        width: 100%;
        height: auto;
    }

}

.back-to-home {
    text-align: center;
    margin-top: 15px; /* 减小顶部外边距 */
}

.back-to-home .btn {
    display: inline-block;
    padding: 8px 15px; /* 减小内边距 */
    background-color: #e6f7ff; /* 清新的浅蓝色背景 */
    color: #007bff; /* 按钮文字颜色 */
    text-decoration: none;
    font-size: 14px; /* 减小字体大小 */
    border-radius: 5px;
    border: 1px solid #007bff; /* 添加边框 */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.back-to-home .btn:hover {
    background-color: #cceeff; /* 悬停时的背景色 */
    color: #0056b3; /* 悬停时的文字颜色 */
    border-color: #0056b3; /* 悬停时的边框颜色 */
}