@charset "utf-8";
body {
    font-family: '楷体';
    margin: 0;
    padding: 0;
    font-size: 18px;
    color: #242a2c;
    line-height: 1.6;
}
ul, li {
    padding: 0px;
    margin: 0px;
    list-style: none;
}
a:link, a:visited {
    color: #242a2c;
    text-decoration: none;
}
a:hover, a:active {
    text-decoration: none;
    color: #c25b30;
}
.wrapper {
    width: 1200px;
    margin: 0px auto;
}
article {
    padding: 0px 20px 20px 20px;
}
h2 {
    text-align: center;
    color: #506b77;
    font-size: 29px;
    line-height: 50px;
    padding-top: 10px;
}
h2 span {
    border-bottom: 2px solid #506b77;
    display: inline-block;
}
.background {
    background: #dceaf0;
    margin-bottom: 32px;
}
/*顶部*/


header h1 {
    margin: 0;
    padding: 0px;
    color: #506b77;
    font-size: 36px;
}
header h1 img {
    height: 36px;
    width: auto;
}
header h1 {
    display: flex;
    align-items: center;
}
header .logo {
    display: flex;
    justify-content: space-between;
    padding: 22px 0px;
}
nav {
    background: #506b77;
}
nav ul {
    display: flex;
}
nav ul li {
    flex: 1;
    text-align: center;
    font-size: 22px;
}
.nav ul li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    transition: all 0.3s ease;
}
.nav ul li a:hover {
    background: #1f3c49;
}
.search {
    display: flex;
    align-items: center;
    background: #e8f1f5;
    border-radius: 9999px;
    padding: 4px;
}
.search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 16px;
    font-size: 16px;
    color: #4B5563;
    background: transparent;
}
.search button {
    background: #e8f1f5;
    border: none;
    border-radius: 9999px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.search button:hover {
    background: #d1edfb;
}
.search button img {
    width: 20px;
    height: 20px;
    display: block;
}
/*banner*/
.banner-content {
    display: flex;
    padding: 22px 0px;
    position: relative;
}
.carousel-container {
    width: 900px;
    position: relative;
    overflow: hidden;
    margin-right: 300px;
}
.carousel-slides {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}
.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}
.carousel-slide img {
    width: 1000px;
    height: 460px;
    object-fit: cover;
    display: block;
}
/* 左右箭头样式 */        .carousel-arrow {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}
.carousel-arrow.prev {
    left: 10px;
}
.carousel-arrow.next {
    right: 10px;
}
/* 指示器样式 */        .carousel-indicators {
    position: absolute;
    bottom: 1px;
    display: flex;
    justify-content: center;
    background: #738994;
    width: 280px;
    height: 460px;
    right: 22px;
    top: 22px;
    flex-wrap: wrap;
    color: #fff;
}
.carousel-indicators span {
    width: 100%;
    padding-left: 38px;
    box-sizing: border-box;
    line-height: 70px;
    background-color: #435861;
    margin: 0 0px 5px 0px;
    cursor: pointer;
}
.carousel-indicators span.active {
    background-color: #617d8a;
}
/*特色美食*/
.food ul {
    display: flex;
    gap: 22px;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 22px;
}
.food ul li {
    width: 28%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #d1dfe5;
}
.food ul li:hover {
    transform: scale(1.05);
}
.food ul img {
    height: 450px;
    width: 100%;
    object-fit: cover;
    border: 1px solid #fff;
}
.food ul h3 {
    font-size: 27px;
    text-align: center;
    color: #506b77;
    margin: 20px 0px 0px 0px;
}
.food ul p {
    display: block;
    text-align: center;
    margin-bottom: 10px;
}
/*中间banner*/
.banner2 {
    position: relative;
}
.banner2 img {
    width: 100%;
    height: 399px;
    object-fit: cover;
}
.banner2 .content {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    color: #FFF;
}
.banner2 .content h2 {
    font-size: 58px;
    color: #fff;
}
.banner2 .content p {
    font-size: 22px;
    padding: 0px 12%;
    text-align: center;
}
/*传统习俗*/
.custom ul {
    display: flex;
    gap: 22px;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 22px;
}
.custom ul li {
    width: 28%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #d1dfe5;
}
.custom li:hover {
    transform: scale(1.05);
}
.custom ul img {
    height: 450px;
    width: 100%;
    object-fit: cover;
    border: 1px solid #fff;
}
.custom ul h3 {
    font-size: 27px;
    text-align: center;
    color: #506b77;
    margin: 20px 0px 0px 0px;
}
.custom ul p {
    display: block;
    text-align: center;
    margin-bottom: 10px;
}
/*子页风俗*/
.weizhi {
    border-bottom: 1px solid #a2bac5;
    line-height: 38px;
}
.page-content {
    display: flex;
}
.page-content .left {
    flex: 1 1 0;
    padding-right: 38px;
}
.page-content .right {
    width: 320px;
    background: #fff;
    margin-bottom: 18px;
}
.page-h2 {
    margin-top: 0px;
}
.custom-item {
    display: flex;
    margin-bottom: 16px;
    gap: 10px;
    flex-wrap: wrap;
    background: #fff;
    border-bottom-right-radius: 2px;
    padding: 8px;
    transition: all 0.3s ease;
}
.custom-item:hover {
    transform: scale(1.02);
    ;
}
.custom-image {
    flex: 0 0 200px;
}
.custom-image img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}
.custom-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}
.custom-content h3 {
    font-size: 20px;
    color: #2c2c2c;
    margin: 0px;
    padding: 0px;
}
.custom-content p {
    font-size: 16px;
    color: #555;
    margin-top: 0px;
}
/*子页右边关于广府*/
.about {
    padding: 6px;
    border-radius: 2px;
}
.about-text {
    transition: all 0.3s ease;
}
.about-text:hover {
    transform: scale(1.02);
}
.about h3 {
    text-align: center;
}
.about img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}
.about img:hover {
    transform: scale(1.02);
}
.aboutimg {
    float: right;
    border: 1px solid #fff;
    width: 360px;
    height: auto;
    margin: 0px 0px 38px 38px;
}
.page-content-list {
    background: #fff;
    padding: 28px;
    margin-top: 3px;
}
.custom-page {
    background: #fff;
}
.custom-page2 {
    display: flex;
    background: #fff;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0px 22px 22px 22px;
}
.custom-item2 {
    width: 22%;
    border: 1px solid #d5e0e3;
    margin-bottom: 16px;
    gap: 10px;
    background: #fff;
    border-bottom-right-radius: 2px;
    padding: 8px;
    transition: all 0.3s ease;
}
.custom-item2:hover {
    transform: scale(1.02);
    ;
}
.custom-image2 {
    flex: 0 0 200px;
}
.custom-image2 img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}
.custom-content2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}
.custom-content2 h3 {
    font-size: 20px;
    color: #2c2c2c;
    margin: 0px;
    padding: 0px;
}
.custom-content2 p {
    font-size: 16px;
    color: #555;
    margin-top: 0px;
}
/*底部*/footer {
    background: #506b77;
    text-align: center;
    padding: 20px 0px;
    color: #fff;
}
