@charset "utf-8";

/* Font Awesome的加载 */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/* CSS自定义属性 */
:root {
--content-space: 2.5rem;
}

/* 媒体查询，针对小屏幕设备（480px以下） */
@media screen and (max-width: 480px) {
:root {
--content-space: 1.5rem;
}
}

/* 动画设置 */
@keyframes animation1 {
0% {left: -200px;}
100% {left: 0px;}
}
@keyframes opa1 {
0% {opacity: 0;}
100% {opacity: 1;}
}

/* 全局设置 */
body * {box-sizing: border-box;}
html, body {
font-size: 14px;
}

/* 媒体查询，针对大屏幕设备（900px以上） */
@media screen and (min-width: 900px) {
html, body {
font-size: 16px;
}
}

body {
margin: 0; padding: 0;
font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
-webkit-text-size-adjust: none;
background: #f9ebde;
color: #555;
line-height: 1.8;
overflow-x: hidden;
}

/* 重置样式 */
figure, dd, nav, ul, li, ol {margin: 0; padding: 0;}
nav ul {list-style: none;}
table {border-collapse: collapse;}
img {border: none; width: 100%; height: auto; vertical-align: middle;}
video, iframe {max-width: 100%;}
input {font-size: 1rem;}
section {
padding: var(--content-space);
}

/* 链接样式 */
a {
color: inherit;
transition: 0.3s;
}
a:hover {
filter: brightness(1.1);
}

/* 容器 */
#container {
overflow-x: hidden;
position: relative;
animation: opa1 1s 0.4s both;
display: flex;
flex-direction: column;
min-height: 100vh;
max-width: 1800px;
margin: 0 auto;
padding: 0 var(--content-space);
}

/* 页眉 */
header a {color: inherit;}
header {
padding: 1rem var(--content-space);
}
body.large-screen header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 0rem;
}
#logo img {
display: block;
width: 280px;
}
#logo a {text-decoration: none;}
#logo {
width: auto;
font-size: 1.4rem;
}

/* 搜索框容器样式 */
#header-box {
    text-align: right;
    padding-top: 20px;
}
#search-form {
    display: inline-block;
}
#search-input {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 12px 17px;
    font-size: 14px;
    width: 260px;
    transition: width 0.3s ease-in-out;
}
#search-input:focus {
    width: 250px;
    outline: none;
    border-color: #f8c381;
}
#search-form button {
    border: none;
    border-radius: 5px;
    background-color: #d15c20;
    color: #fff;
    padding: 14px 18px;
    cursor: pointer;
    font-size: 14px;
    margin-left: -5px;
}
#search-form button:hover {
    background-color: #f8c381;
}

/* 注册/登录按钮响应式布局 */
.fuanfan-account-buttons a {
    display: inline-block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}
.fuanfan-account-buttons a:hover {
    background-color: #f0f0f0;
}

/* 咨询导航样式 - 统一设计 */
.consult-nav {
    width: 100%;
    margin: 0 0 15px;
    background: #fff;
    padding: 10px 0;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: block !important;
}

.consult-nav nav ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 10px;
}

.consult-nav nav ul li {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.consult-nav .nav-link {
    display: block;
    padding: 10px 5px;
    text-decoration: none;
    background: #000;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
}

.consult-nav .nav-link.active,
.consult-nav .nav-link:hover {
    background: #333;
    font-weight: bold;
}

/* 内容切换所需样式 */
.content-section {
    display: none; /* 默认隐藏所有内容区域 */
}

.content-section.active {
    display: block; /* 只显示活跃的内容区域 */
}

/* 大屏（769px以上）样式 */
@media (min-width: 769px) {
    #header-box {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 20px;
        padding: 10px 20px;
    }
    .desktop-buttons {
        display: flex !important;
        gap: 10px;
    }
    .mobile-buttons {
        display: none !important; /* 大屏隐藏小屏注册登录按钮 */
    }
    /* 大屏导航间距调整 */
    .consult-nav {
        max-width: 900px;
        margin: 0 auto 20px;
    }
    .consult-nav nav ul {
        gap: 15px;
    }
    .consult-nav .nav-link {
        padding: 12px 25px;
        font-size: 16px;
    }
}

/* 小屏（768px以下）样式 */
@media (max-width: 768px) {
    #header-box {
        text-align: center;
    }
    #search-form {
        display: flex;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    #search-input {
        flex: 1;
        width: auto;
        font-size: 16px;
        padding: 10px 15px;
    }
    #search-input:focus {
        width: auto;
    }
    #search-form button {
        margin-left: 5px;
        font-size: 16px;
        padding: 12px 16px;
    }
    /* 小屏注册/登录按钮 */
    .mobile-buttons {
        display: block !important;
        width: 100%;
        padding: 15px 0;
    }
    .mobile-buttons .fuanfan-account-buttons {
        display: flex;
        justify-content: center;
        gap: 10px;
        max-width: 400px;
        margin: 0 auto;
    }
    .desktop-buttons {
        display: none !important; /* 小屏隐藏大屏注册登录按钮 */
    }
    /* 帖文容器适配小屏 */
    .fuanfan-file-list {
        width: 90% !important;
        margin: 0 auto !important;
    }
}

/* --------------- 原有样式保持不变 --------------- */
/* 菜单核心样式（其他菜单逻辑） */
#menubar span {
display: block;
font-size: 0.8rem;
opacity: 0.5;
}
.large-screen #menubar > nav > ul {
display: flex;
justify-content: space-between;
gap: 1rem;
line-height: 1.8;
}
.large-screen #menubar li {
flex: 1;
position: relative;
text-align: center;
}
.large-screen #menubar li a {
display: block;
text-decoration: none;
height: 56px;
line-height: 56px;
padding: 0 0.5rem;
background: #777;
color: #fff;
font-size: 20px;
font-weight: bold;
border-radius: 10px 10px 0px 0px;
}
.large-screen #menubar ul ul {
position: absolute; z-index: 100;
width: 100%;
animation: opa1 0.5s 0.1s both;
}
.large-screen #menubar ul ul li a {
border-radius: 0px;
}
.small-screen #menubar {
animation: animation1 0.2s both;
position: fixed; overflow: auto; z-index: 100;
right: 0px; top: 0px;
width: 100%;
height: 100%;
padding: 70px var(--content-space) 50px;
background: rgba(0,0,0,0.9);
color: #fff;
display: none;
}
.small-screen #menubar a {
display: block;
text-decoration: none;
color: inherit;
border: 1px solid #fff;
margin-bottom: 1rem;
padding: 1rem 2rem;
}
.small-screen #menubar ul ul a {
border: none;
padding: 0;
margin-left: 3.8rem;
}
a.ddmenu::before {
font-family: "Font Awesome 6 Free";
font-weight: bold;
content: "\f078";
margin-right: 0.5em;
}
a.ddmenu {cursor: default;}
#menubar_hdr {
display: none;
animation: opa1 0s 0.2s both;
position: fixed;
z-index: 101;
cursor: pointer;
right: 0px;
top: 0px;
width: 70px;
height: 70px;
background: #000;
border-radius: 0px 0px 0px 20px;
transform-origin: right top;
transform: scale(1);
}
#menubar_hdr.ham {
background: #ff0000;
}
#menubar_hdr span {
display: block;
position: absolute;
left: 18px;
width: 35px;
height: 2px;
background: #fff;
transition: 0.3s;
}
#menubar_hdr span:nth-of-type(1) {
top: 24px;
}
#menubar_hdr span:nth-of-type(2) {
top: 34px;
}
#menubar_hdr span:nth-of-type(3) {
top: 44px;
}

/* 新增的画廊外层容器，用于居中整个画廊 */
.gallery-wrapper {
    max-width: 1800px;
    margin: 40px auto;
}
/* 图片画廊容器 */
.image-gallery {
    text-align: center;
}
/* 图片和说明文字的组合容器 */
figure {
    display: block;
    margin: 15px auto;
    text-align: center;
}
/* 图片样式 */
figure img {
    width: 700px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
/* 说明文字样式 */
figcaption {
    margin-top: 10px;
    font-size: 18px;
    color: #666;
    max-width: 300px;
    margin: 10px auto 0;
}
@media (max-width: 768px) {
    figure {
        margin: 15px auto;
    }
    figure img {
        width: 90%;
        max-width: 500px;
    }
    figcaption {
        font-size: 16px;
    }
}

/* 恢复并优化日期方框的样式 */
.new-parts1 dt {
display: block;
width: 120px;
border-radius: 8px;
background: #f4edb991;
color: #000000;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
flex-shrink: 0;
padding: 5px;
text-align: center;
margin-bottom: 5px;
}
.new-parts1 dd {
margin-bottom: 20px;
}
.container {
display: flex;
background-color: #f0f0f0;
border-radius: 20px;
padding: 10px var(--content-space);
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
max-width: 2000px;
width: 100%;
margin: 0 auto 30px;
}
.container p {
font-weight: bold;
font-size: 1.5rem;
line-height: 1.2;
margin: 0;
}
.news-list-container {
background-color: #ffffff;
padding: 15px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#contents ul li {
list-style: none;
margin-bottom: 5px;
}
.contact-info {
font-weight: normal;
font-size: 1rem;
}

/* 横スライドインタイプのスライドショー */
.slide5-parts {
position: relative;
overflow: hidden;
    width: 90%;
    margin: 0 auto;
}
.slide5-parts .slide-parts {
position: absolute;
right: 0px;
top: 0px;
width: 100%;
height: auto;
transform: translateX(100%);
transition: transform 0.7s ease;
}
.slide5-parts .slide-parts.active {
transform: translateX(0);
}
.slide5-parts .slide-parts.left {
transform: translateX(-100%);
}
.slide5-parts .slide-parts.hidden {
opacity: 0;
}
.slide5-parts .slide-parts.initial {
transform: translateX(0);
transition: none;
}
.slide5-parts .img1-parts {
position: relative;
width: 100%;
height: auto;
}
.slide5-parts .slide-parts img {
width: 100%;
height: auto;
object-position: center;
}
.slide5-parts .slide-parts {
pointer-events: none;
}
.slide5-parts .slide-parts.active {
pointer-events: auto;
}
.slide5-parts .slide-indicators-parts {
    text-align: center;
position: absolute;
width: 100%;
bottom: 10px;
left: 0px;
}
.slide5-parts .indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ccc;
border: 4px solid #fff;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}
.slide5-parts .indicator.active {
    background: #000;
}

/* 菜单页设计 */
.menu-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}
.menu-section {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.menu-section h2 {
    color: #d15c20;
    border-bottom: 2px solid #d15c20;
    padding-bottom: 10px;
    font-size: 1.8em;
}
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed #ccc;
}
.menu-list li:last-child {
    border-bottom: none;
}
.dish-name {
    font-size: 1.2em;
    font-weight: bold;
}
.price {
    font-size: 1.2em;
    color: #d15c20;
    font-weight: bold;
}

/* 页脚设置 */
footer a {
    color: inherit;
    text-decoration: none;
}
footer small {
    font-size: 100%;
}
footer small .second-line {
    display: block;
}
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    background: #eee;
    color: #555;
    text-align: center;
    padding: 0.3rem;
    width: 100%;
}

/* 著作部分（请勿删除） */
.pr a {
text-decoration: none;display: block;
background: #555;
color: #ccc;
text-align: center;
padding: 0.5rem 1rem;
font-size: 0.8rem;
}
.pr a::before {
font-family: "Font Awesome 6 Free";
content: "\e2ca";
font-weight: bold;
margin-right: 0.5em;
}

/* 回到顶部按钮 */
.pagetop-show {display: block;}
.pagetop a {
display: block;text-decoration: none;text-align: center;z-index: 99;
animation: opa1 1s 0.4s both;
position: fixed;
right: 20px;
bottom: 20px;
color: #fff;
font-size: 1.5rem;
background: rgba(0,0,0,0.2);
width: 60px;
line-height: 60px;
border-radius: 50%;
}

/* 余白调整 */
section.padding0 {
padding: 0;
}
div.padding0 {
margin-left: calc(-1 * var(--content-space));
margin-right: calc(-1 * var(--content-space));
}

/* 其他 */
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: #eee;border: 1px solid #ccc; color: #888; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}

/* 移除主区域的白色背景和边框，使其与网页背景融合 */
.article-main {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0 auto;
    max-width: 960px;
    margin-bottom: 70px;
}
/* 文章容器样式 */
.article-wrapper {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}
/* 文章标题样式 */
.article-title {
    text-align: left;
    font-size: 1.6em;
    margin-bottom: 20px;
    color: #333;
}
/* 图片容器样式 */
.article-image {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}
.article-image img {
    max-width: 40%;
    height: auto;
border-radius: 0;
    box-shadow: none;
}
.article-image figcaption {
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 0px;
    font-size: 1.2em;
    color: #666;
    margin-top: 10px;
    text-align: left;
}
/* 文章正文样式 */
.article-body p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5em;
    text-indent: 2em;
}
@media (max-width: 768px) {
    .article-image {
        align-items: center; 
    }
    .article-image img {
        max-width: 100%;
    }
    .article-image figcaption {
        max-width: 100%;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .article-body p {
        padding: 0 15px;
    }
}

/* 新增小屏幕按钮竖列排列样式 */
@media (max-width: 768px) {
    .profile-nav {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }
    .profile-nav button {
        width: 80% !important;
        max-width: 200px !important;
    }
}