* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    color: #333;
    line-height: 1.6;
}

a
{
    text-decoration: none;
    color: #1a2a3a;
}

a:hover
{
  text-decoration:underline;
}


#languagepicker
{
  place-self: flex-start;
}

/* 页头样式 */
.header {
    background: linear-gradient(135deg, #2c3e50, #1a2a3a);
    color: white;
    padding: 0.5rem 1rem 1rem 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    clear: both;
}

.header p {
    font-size: 1.2rem;
    opacity: 0.85;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-weight: 300;
}

.breadcrumb {
    background: rgba(255,255,255,0.1);
    padding: 0.2rem 1.5rem;
    border-radius: 30px;
    display: inline-block;
}

.breadcrumb a {
    transition: all 0.3s;
    color: #ffffff;
}


.breadcrumb i {
    margin: 0 8px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.languagebar
{
  float:right;
}

.languagebar a
{
  color: #ffffff;
}

.language-selected
{
  text-decoration: underline;
  font-weight: bold;
}

/* 主体内容 */
.container {
    display: flex;
    max-width: 1400px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
    gap: 30px;
}

.main {
    flex: 1;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    padding: 0;
}

.page-title {
    background: linear-gradient(90deg, #1a2a3a, #2c3e50);
    color: white;
    padding: 0.5rem 2rem;
    margin-bottom: 1.5rem;
}

.page-title h2 {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.page-title h3 {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.page-description
{
  padding: 0.5rem 2rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.page-description::after
{
  content: "";
  display: block;
  clear: both;
}
.page-image
{
  float: right;
  padding-left: 1.8rem;
  padding-bottom: 1.8rem;
}

/* 图片列表样式 */
.search-list {
    list-style: none; /* 移除默认的列表点 */
    padding: 1.2rem 1.8rem;
    margin: 0;
}

.search-list li {
    height: 100px; /* 每个 li 的高度 */
    display: flex;
    align-items: center; /* 垂直居中 */
    padding: 0 10px; /* 左右内边距 */
    margin-bottom: 10px; /* 每个 li 之间的间距 */
    overflow: hidden;
}

.search-list li:nth-child(odd) {
    background-color: #f8fafc; /* 奇数行背景颜色 */
}

.search-list li:nth-child(even) {
    background-color: #ffffff; /* 偶数行背景颜色 */
}

.search-list a
{
  height: 80px;
}

.search-list img {
    width: 80px; /* 图片宽度 */
    height: 80px; /* 图片高度 */
    margin-right: 10px; /* 图片与标题的间距 */
}

.search-list span {
    font-size: 16px; /* 标题字体大小 */
    font-weight: bold; /* 标题加粗 */
}

/* 单列图片列表 */
.image-list {
    list-style: none;
    padding: 0 2rem 2rem;
}

.image-item {
    flex-direction: column
    display: flex;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eaeaea;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.image-container {
    flex: 1;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 1.2rem 1.8rem;
}

.image-container img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.image-info {
    flex: 1;
    padding: 0rem 1rem 0rem 1rem;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.image-title {
    border-top: 2px solid #1a2a3a;
    color: #2c3e50;
}

.image-description {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

.image-meta {
    display: flex;
    flex-direction: column;
    gap: 25px;
    color: #666;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.meta-item i {
    margin-right: 8px;
    color: #1a2a3a;
    font-size: 1.1rem;
}

.image-tags {
    display: flex;
    gap: 10px;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.tag {
    background: #e1f0fa;
    color: #1a2a3a;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    align-items: center;
    white-space: nowrap;
    display: inline-block;
    margin-bottom: 5px;
    margin-right: 5px;
}

.button-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 1.5rem;
}

.language-button {
    color: white;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #1a2a3a, #2c3e50);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.language-button:hover {
    background: linear-gradient(135deg, #2c3e50, #1a2a3a);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 侧边栏 */
.sidebar {
    flex: 0 0 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    padding: 1.8rem;
    align-self: flex-start;
}

.sidebar h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #1a2a3a;
}

.info-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.8rem;
    border: 1px solid #eaeaea;
}

.info-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.info-item i {
    color: #1a2a3a;
    font-size: 1.2rem;
    margin-right: 12px;
    margin-top: 3px;
    min-width: 20px;
}

.info-content {
    flex: 1;
}

.info-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3px;
}

.info-text {
    color: #555;
    font-size: 0.95rem;
}

.related-images {
    margin-top: 2rem;
}

.related-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #eee;
}

.related-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-img {
    width: 70px;
    height: 50px;
    border-radius: 5px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-title {
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.95rem;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #2c3e50, #1a2a3a);
    color: #ecf0f1;
    padding-bottom: 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section {
    padding: 0 15px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #1a2a3a;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #1a2a3a;
}

.footer-section p {
    margin: 12px 0;
    line-height: 1.6;
    opacity: 0.85;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    padding: 5px 0;
}


.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1.2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 1100px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .image-item {
        flex-direction: column;
    }
    
    .image-container {
        flex: 1;
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .header h1 {
        font-size: 2.2rem;
    }
    
    .header p {
        font-size: 1.1rem;
    }
    
    .page-title {
        padding: 1.3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .image-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
}
