/*
Template Name:Carpenter
File: Layout CSS
Author: Templates On Web
Author URI: http://templateonweb.com/
Licence: <a href="http://www.templateonweb.com/terms.php?v=content&contentid=152">Website Template Licence</a>
*/

/********************* video-container ****************/
#video-container{
padding-top:20px;
padding-bottom:40px;
background-color:#71710b; 
	   }
#video-container .wrapper{
			max-width: 800px;
			width: 100%;
			margin:10px auto;
	padding-top: 25px;
}
.wrapper h2{font-size: 26px;text-align: center;font-weight: bold;}
#video-container .noWrapper {
			width: 100%;
}
.wrapper p{
text-align:left;
font-size:18px;margin-bottom:20px;text-align: left;}
.wrapper p.small{
text-align:left;
font-size:15px;margin-bottom:20px;text-align: left;}

.wrapper p.right{
text-align:left;
font-size:18px;margin-bottom:20px;text-align:right;}
.wrapper H5 {
text-align:left;
font-size:20px;margin-bottom:20px;text-align: left; font-weight: bold;
   }
.wrapper H5 a{
text-align:left;
font-size:20px;margin-bottom:20px;text-align: left; color:blue;
   }
/*********************video-container_end****************/
/********************* middle ****************
#middle{ 
 padding-top:30px;
 padding-bottom:20px; background:#fff;
 }
.middle_2 i{ 
 padding-right: 10px;
 color: #b56f13;
 }
.middle_2 li{ 
 line-height:30px;
 font-size:18px;
}
.middle_2 h3{ 
 color: #b56f13;
 }
.middle_2 p{ 
 text-align: left;left: 2px;
 }
.pull{   
padding:0;
margin:0;
padding:0;
}
.pull_1{   
padding:0;
margin:0;
padding-right:80px;
}
#middle .form-group p{
color: #fff;
font-size:20px;
padding-bottom:0px;
}
#middle .panel-login {
border-color: #ccc;
-webkit-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
-moz-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
width: 70%;
margin-left: 60px;
}
#middle .panel-login>.panel-heading {
color:#fff;
background-color: #000;
border-color: #000;
text-align:center;
padding-top: 30px;
padding-bottom: 20px;
}
#middle .panel-login>.panel-heading a{
text-decoration: none;
color: #Ffffff;
font-weight: bold;
font-size:20px;
-webkit-transition: all 0.1s linear;
-moz-transition: all 0.1s linear;
transition: all 0.1s linear;
}
#middle .panel-login>.panel-heading a.active{
color: #FFFFFF;
font-size:20px;
border-bottom:4px solid #fff;
padding-bottom:10px;
}
#middle .panel-login>.panel-heading hr{
margin-top: 10px;
margin-bottom: 0px;
clear: both;
border: 0;
height: 1px;
background-image: -webkit-linear-gradient(left,rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.15),rgba(0, 0, 0, 0));
background-image: -moz-linear-gradient(left,rgba(0,0,0,0),rgba(0,0,0,0.15),rgba(0,0,0,0));
background-image: -ms-linear-gradient(left,rgba(0,0,0,0),rgba(0,0,0,0.15),rgba(0,0,0,0));
background-image: -o-linear-gradient(left,rgba(0,0,0,0),rgba(0,0,0,0.15),rgba(0,0,0,0));
}
#middle .panel-login input[type="text"] {
height:35px;
border: 1px solid #ddd;
font-size: 16px;
-webkit-transition: all 0.1s linear;
-moz-transition: all 0.1s linear;
transition: all 0.1s linear;
}
#middle .panel-login input[type="email"],.panel-login input[type="password"]
#middle .panel-login input:hover,
#middle .panel-login input:focus {
outline:none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
border-color:#ccc;
}
#middle .btn-login {
background-color:#c6a170!important;
outline: none;
color: #fff!important;
font-size: 14px;
height: auto;
font-weight: normal;
padding: 14px 0;
text-transform: uppercase;
}
#middle .btn-login:hover,
#middle .btn-login:focus {
color: #000!important;
background-color:#FFFFFF!important;
border-color: #000;
}
#middle .forgot-password {
text-decoration:none;
color: #fff;
}
#middle .forgot-password:hover,
#middle .forgot-password:focus {
text-decoration: none;
color: #F1EBEB;
}
#middle .btn-register {
background-color: #c6a170!important;
outline: none;
color: #fff!important;
font-size: 14px;
height: auto;
font-weight: normal;
padding: 14px 0;
text-transform: uppercase;
border-color: #1CB94A;
}
#middle .btn-register:hover, .btn-register:focus {
color: #000!important;
background-color: #FFFFFF!important;
border-color: #000;
}
#middle .panel {
margin-bottom: 20px;
background-color:#b88a4d;
border: 1px solid transparent;
border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
opacity: 0.8;
margin-top: 30px;
}
#middle .form-control {
display: block;
width: 100%;
height: 34px;
padding: 6px 12px;
font-size: 14px;
line-height: 1.42857143;
color:#FFFFFF;
background-color: #000;
background-image: none;
border: 1px solid #FFFFFF;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
-webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
label {
display: inline-block;
margin-bottom: 5px;
font-weight: 700;
color:#fff;
}
#middle input[type=checkbox], input[type=radio] {
 vertical-align: top;
}
/********************* middle_end ****************/

/*********************blog****************
#blog{
padding-top:50px;
padding-bottom:50px;  
  }
.blog_1ii h6 i{
margin-right:10px; 
 }
.blog_1ii h4{
border-bottom:1px solid #ddd;
padding-bottom:15px;
 }
.blog_1ii{
padding:20px;
box-shadow: 0 0 10px rgba(0,0,0,0.6); 
 }
/*********************blog_end****************/
/********************* furniture ****************/
#furniture{ 
 padding-top:30px;
 padding-bottom:50px;
 background-color:#f1f1f1;
 }
.furniture_1 h3{ 
 color: #b56f13;
 }
.furniture_1 h2{ 
 padding-bottom:20px;
 }
.furniture_2{ 
 position:relative;
 padding-right: 10px;
 }
.furniture_2 p{ 
 padding-top:10px;
 }
.furniture_3{ 
 position: absolute;
 top: 35%;
 width: 97%;
 }
.furniture_3 h5{ 
 background-color:#c69453;
 color:#fff;
 height: 50px;
 padding-left:20px;
 padding-top:13px;
 border-radius: 0px 100px 0px 0px;
 }
/********************* furniture_end ****************/
/********************* explore ****************/
#explore{ 
padding-top:30px;
padding-bottom:30px;
background:#493929;
 }
#explore .nav-tabs {
 border-bottom:none;
 margin-left: 0px;
 padding-bottom: 0px;
 margin: auto;
 width: 66%;
}
#explore .nav-tabs>li.active> a{
 color:#fff;
 background:#C69453;
 font-size:19px;
 border:none;
 font-weight:bold;
 border:none;
 border:none;
 padding-left:10px;
 padding-right:10px;
 border: 2px solid #C69453;
}
#explore .nav-tabs>li.active> a:hover{
 background: #C69453;
}
#explore .nav-tabs>li>a {
 border-radius: 0px 0px 0 0;
}
#explore .nav-tabs>li {
 padding-left:3px;
}
#explore .nav-tabs>li>a {
 color: #fff;
 font-size:19px;
 font-weight:bold;
 background-color: #493929;
}
#explore .nav>li>a:hover, .nav>li>a:focus {
 background: #493929;
 color: #fff;
}
#explore .nav-tabs>li>a {
 border:none;
 border:none;
 border:none;
 padding-left:10px;
 padding-right:10px;
 letter-spacing:2px;
 border: 2px solid #C69453;
}

#explore .ih-item {
  position: relative;
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
#explore .ih-item,
#explore .ih-item * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#explore .ih-item a {
  color: #333;
}
#explore .ih-item a:hover {
  text-decoration: none;
}
#explore .ih-item img {
  width: 100%;
  height: 100%;
}

#explore .ih-item.square {
 position: relative;
 width: 350px;
 height: 386px;
 border: 8px solid #fff;
 box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
 margin-top: 30px;
}
#explore .ih-item.square .info {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#explore .ih-item.square.effect14.colored .info {
  background: #1a4a72;
}
#explore .ih-item.square.effect14.colored .info h3 {
  background: rgba(12, 34, 52, 0.6);
}
#explore .ih-item.square.effect14 .img {
  opacity: 1;
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
#explore .ih-item.square.effect14 .info {
  background: #333333;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  -webkit-transform: scale(0.5);
  -moz-transform: scale(0.5);
  -ms-transform: scale(0.5);
  -o-transform: scale(0.5);
  transform: scale(0.5);
  -webkit-transition: all 0.35s ease 0.2s;
  -moz-transition: all 0.35s ease 0.2s;
  transition: all 0.35s ease 0.2s;
}
#explore .ih-item.square.effect14 .info h3 {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  font-size: 17px;
  padding: 10px;
  background: #111111;
  margin: 30px 0 0 0;
}
#explore .ih-item.square.effect14 .info p {
 font-style: italic;
 font-size:21px;
 position: relative;
 color: #bbb;
 padding: 10px 10px 10px;
 text-align: center;
}
#explore .ih-item.square.effect14 a:hover .img {
  opacity: 0;
  pointer-events: none;
  -webkit-transform: scale(0.5);
  -moz-transform: scale(0.5);
  -ms-transform: scale(0.5);
  -o-transform: scale(0.5);
  transform: scale(0.5);
}
#explore .ih-item.square.effect14 a:hover .info {
  visibility: visible;
  opacity: 1;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}
#explore .ih-item.square.effect14.bottom_to_top .img {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
#explore .ih-item.square.effect14.bottom_to_top a:hover .img {
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -o-transform: translateY(100%);
  transform: translateY(100%);
}
/********************* explore_end ****************/
/********************* choose ****************/
#choose{ 
 padding-top:30px;
 padding-bottom:30px; background-color:#f1f1f1;
 }
.choose_1 h3 {
 color: #b56f13;
}
.choose_1 h2 {
 padding-bottom:20px;
}
.choose_3 i{ 
 font-size: 30px;
 width: 68px;
 line-height: 64px;
 border: 2px solid #b88a4d;
 color: #b88a4d;
 text-align: center;
 border-radius: 100%;
 margin-bottom: 20px;
 }
.choose_4 h3{ 
 padding-bottom:10px;
 padding-top:17px;
 }
.choose_4 h3 a{ 
 color:#000;
 }
.choose_4 h3 a:hover{ 
 color: #b88a4d;
 }
/********************* choose_end ****************/
/********************* work ****************/
#work{ 
 background-color:#58442F;
 padding-top:30px;
 padding-bottom:30px;
 }
.work_2{ 
 text-align:left;
 }
.work_2 i{ 
 font-size:50px;
 color:#fff;
 }
.work_2 h2{ 
 color:#B89453;
 padding-top:10px;
 padding-bottom:10px;
 }
.work_2 h3{ 
 color:#fff; font-size: 20px;line-height: 25px; letter-spacing: 2px;
 }
/********************* work_end ****************/

/********************* fancy ****************/
#fancy{ 
 background-image: url(../images/fayu/fayu2.jpg);
 background-repeat: no-repeat;
 background-size: cover;
 background-attachment: fixed;
 }
.fancy_main{ 
 padding-bottom: 150px;
 padding-top: 150px;
 background-color: #0000008a;
 }
.fancy_1{ 
 text-align:center;
 padding-top:40px;
 }
.fancy_1 h3{ 
 color:#fff;
 padding-bottom:10px;
 }
.fancy_1 p{ 
 color:#fff;
 }
/********************* fancy_end ****************/

/********************* news ****************/
#news{ 
 padding-top:30px;
 padding-bottom:30px;
 }
.news_1 h3 {
 color: #b56f13;
}
.news_1 h2 {
 padding-bottom:20px;
}
.news_2{
 box-shadow: 0 0 2px 0px #9e9c9c;
 padding: 10px;
}
.news_2 h5{
 padding-top:35px;
 padding-bottom:10px;
}
.news_2 p{
 padding-bottom:0px;
}
.news_2 h5 a{
 color:#000;
}
.news_2 ul{
 padding-bottom:10px;
}
.news_2 li{
 display:inline;
 padding-right:30px;
 font-size:20px;
}
.news_2 i{
 padding-right:10px;
 color: #b56f13;
}
.news_2 img{ 
 position:relative;
 }
.news_3{ 
 position: absolute;
 top: 43%;
 left: 13%;
 }
.news_3 i {
 border-radius: 50%;
 height: 61px;
 width: 61px;
 line-height: 61px;
 font-weight: 400;
 font-size: 17px;
 background-color:#B89453;
 color: #fff;
 box-shadow: 0 0 2px 8px white;
 text-align:center;
}

/* Services Grid - CSS Grid Layout for 3 columns */
.services-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 30px;
 margin-bottom: 30px;
}

.service-card {
 display: flex;
 flex-direction: column;
}

.service-card .news_2 {
 flex-grow: 1;
 display: flex;
 flex-direction: column;
 border: 1px solid #ccc;
 padding: 10px;
 text-align: center;
 height: 100%;
}

.service-card .news_2 img {
 max-width: 100%;
 height: auto;
}

/* Events Grid - CSS Grid Layout for 3 columns */
.events-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 30px;
 margin-bottom: 30px;
}

.event-card {
 display: flex;
 flex-direction: column;
}

.event-card .news_2 {
 flex-grow: 1;
 display: flex;
 flex-direction: column;
 border: 1px solid #ccc;
 padding: 10px;
 text-align: center;
 height: 100%;
}

.event-card .news_2 img {
 max-width: 100%;
 height: auto;
}

/* Responsive: 2 columns on tablet */
@media (min-width: 768px) and (max-width: 991px) {
 .services-grid,
 .events-grid {
  grid-template-columns: repeat(2, 1fr);
 }
}

/* Responsive: 1 column on mobile */
@media (max-width: 767px) {
 .services-grid,
 .events-grid {
  grid-template-columns: 1fr;
  gap: 20px;
 }
}
/********************* news_end ****************/
/********************* checker ***************/
#checker{
 padding-top:30px;
 padding-bottom:30px;
 background-color:#F9F3EC;
  }
.checker h2{
 padding-bottom:10px;
  }
.checker h4{
 color: #b56f13;
 }
.carousel-control.left,.carousel-control.right  {background:none;}
.carousel-control.left {left:-25px;}
.carousel-control.right {right:-25px;}
.broun-block {
    padding-bottom: 34px;
}
.block-text {
 background-color: #fff;
 border-radius: 5px;
 box-shadow: 0 3px 0 #2c2222;
 color: #b56f13;
 font-size: 14px;
 margin-top: 27px;
 padding: 15px 18px;
 box-shadow: 0 0 14px 8px #8e8c8c;
 border-radius: 20px 60px 20px 50px;
}
.block-text a {
 color: #7d4702;
 font-size: 25px;
 font-weight: bold;
 line-height: 21px;
 text-decoration: none;
 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.mark {
    padding: 12px 0;background:none;
}
.block-text p {
    color: #585858;
    font-family: Georgia;
    font-style: italic;
    line-height: 20px;
}

.sprite-i-triangle {
    background-position: 0 -1298px;
    height: 44px;
    width: 50px;
}
.block-text ins {
    bottom: -44px;
    left: 50%;
    margin-left: -60px;
}


.block {
    display: block;
}
.zmin {
    z-index: 1;
}
.ab {
    position: absolute;
}

.person-text {
    padding: 10px 0 0;
    z-index: 2;
	padding-left:20px;
	margin-top:10px;
}
.person-text a {
    color: #62b2ea;
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-top: 3px;
    text-decoration: underline;
}
.rel {
    position: relative;
  }
.person-text {
    padding: 10px 0 0;
    text-align: center;
    z-index: 2;
}
.person-text img{
 border-radius:50%;
 margin-bottom:10px;
}
/********************* checker_end ***************/




@media screen and (max-width : 767px){
#center .carousel-caption{ 
 position: static;
}
#center .kb_caption {
 width: 0%;
 padding:0;
}
#center .kb_caption h1 {
 font-size: 40px;
}
#center .kb_control_right {
 top: 55%;
}
#center .kb_control_left {
 top: 55%;
}
#explore .ih-item.square {
 width: 100%;
 height: 100%;
}
#explore .ih-item.square.effect14 .info p {
 font-size: 14px;
}
#middle {
 text-align: center;
}
#middle .panel-login {
 width: 100%;
 margin-left: 0px;
}
#furniture {
 text-align: center;
 padding-bottom: 10px;
}
.furniture_3 h5 {
 height: 56px;
}
.furniture_2 {
 padding-right: 0px;
 padding-bottom: 0px;
 margin-bottom: 27px;
}
.nav-tabs>li {
 float: none;
 margin-bottom: 10px;
}
#explore .nav-tabs {
 width: 100%;
 text-align: center;
}
#choose {
 text-align: center;
}
.choose_1 h2 {
 font-size: 40px;
}
.choose_4 h3 {
 padding-top: 0px;
}
#news {
 text-align: center;
}
.news_3 {
 top: 32%;
}
.news_2 li {
 padding-right: 10px;
 font-size: 16px;
}
#checker {
 text-align: center;
}
}


@media (min-width:470px) and (max-width:767px) {

}
 
 
@media (min-width:768px) and (max-width:961px) {
#center .kb_caption h1 {
 font-size: 38px;
}
#explore .ih-item.square {
 width: 100%;
 height: 100%;
}
#explore .ih-item.square.effect14 .info p {
 font-size: 11px;
}
#explore .nav-tabs {
 width: 90%;
}
#explore .nav-tabs>li.active> a {
 font-size: 15px;
}
#explore .nav-tabs>li>a {
 font-size: 15px;
}
.choose_3 i {
 font-size: 25px;
 width: 50px;
 line-height: 45px;
}
.work_2 h3 {
 font-size: 15px;
}
.choose_4 h3 a {
 font-size: 20px;
}
.choose_4 h3 {
 padding-bottom: 0px;
 padding-top: 0px;
}
.choose_4 p {
 font-size: 16px;
 padding-bottom: 0px;
}
.news_3 {
 top: 28%;
}
.news_2 h5 a {
 font-size: 18px;
}
.news_2 li {
 padding-right: 2px;
 font-size: 13px;
}
.furniture_3 {
 top:24%;
}
.furniture_3 h5 {
 padding-top: 13px;
 font-size: 16px;
}
.furniture_2 p {
 font-size: 13px;
}
} 

 
@media (min-width:962px) and (max-width:1200px) {
#center .kb_caption h1 {
 font-size: 38px;
}
#explore .ih-item.square {
 width: 100%;
 height: 100%;
}
#explore .ih-item.square.effect14 .info p {
 font-size: 11px;
}
#explore .nav-tabs {
 width: 90%;
}
#explore .nav-tabs>li.active> a {
 font-size: 15px;
}
#explore .nav-tabs>li>a {
 font-size: 15px;
}
.choose_3 i {
 font-size: 25px;
 width: 50px;
 line-height: 45px;
}
.work_2 h3 {
 font-size: 15px;
}
.choose_4 h3 a {
 font-size: 20px;
}
.choose_4 h3 {
 padding-bottom: 0px;
 padding-top: 0px;
}
.choose_4 p {
 font-size: 16px;
 padding-bottom: 0px;
}
.news_3 {
 top: 28%;
}
.news_2 h5 a {
 font-size: 18px;
}
.news_2 li {
 padding-right: 2px;
 font-size: 13px;
}
.furniture_3 {
 top:24%;
}
.furniture_3 h5 {
 padding-top: 13px;
 font-size: 16px;
}
.furniture_2 p {
 font-size: 13px;
}
}

@media (min-width:1201px) and (max-width:1320px) {

}

/* Modern homepage refresh: flat, warm, and responsive */
#center {
 background: var(--xy-bg-soft);
}

.center_home .banner {
 background: var(--xy-bg-soft);
 padding: clamp(18px, 3vw, 34px) 0;
}

#center .carousel-inner {
 background: var(--xy-surface);
 border: 1px solid var(--xy-border-soft);
 margin: 0 auto;
 max-width: 1080px;
 width: calc(100% - 72px);
}

#center .carousel-inner>.item>img,
#center .carousel-inner>.item>a>img {
 display: block;
 height: auto;
 object-fit: contain;
 width: 100%;
}

#center .kb_wrapper {
 background: var(--xy-bg-soft) !important;
}

#center .kb_wrapper>.carousel-inner>.item>img,
#center .kb_wrapper>.carousel-inner>.item>a>img {
 opacity: 1;
}

#center .carousel-control.left,
#center .carousel-control.right {
 background: transparent;
 color: var(--xy-gold-dark);
 opacity: 0.8;
 text-shadow: none;
 width: 54px;
}

#center .kb_control_left,
#center .kb_control_left:hover,
#center .kb_control_left:active,
#center .kb_control_left:focus,
#center .kb_control_right,
#center .kb_control_right:hover,
#center .kb_control_right:active,
#center .kb_control_right:focus {
 background: rgba(255, 250, 240, 0.94) !important;
 border: 1px solid rgba(166, 126, 62, 0.28);
 border-radius: 50%;
 box-shadow: 0 10px 24px rgba(47, 41, 34, 0.14);
 color: var(--xy-gold-dark);
 height: 44px;
 opacity: 0.82;
 top: 50%;
 transform: translateY(-50%);
 width: 44px;
}

#center .kb_control_left {
 left: calc((100% - 1080px) / 2 + 18px) !important;
}

#center .kb_control_right {
 right: calc((100% - 1080px) / 2 + 18px) !important;
}

#center .kb_icons {
 font-size: 24px !important;
 line-height: 42px !important;
 text-shadow: none;
}

#center .carousel-control.kb_control_left,
#center .carousel-control.kb_control_right {
 height: 44px;
 width: 44px;
}

#center .carousel-control:hover,
#center .carousel-control:focus {
 color: var(--xy-clay);
 opacity: 1;
}

.anniversary {
 background: var(--xy-surface);
 border-bottom: 1px solid var(--xy-border-soft);
 text-align: center;
}

.anniversary h3 a {
 color: var(--xy-gold-dark) !important;
 font-family: Georgia, "Times New Roman", "Noto Serif TC", "Songti TC", serif;
}

#middle {
 background: var(--xy-surface);
 padding: clamp(24px, 3vw, 42px) 0 clamp(26px, 3.2vw, 46px);
}

.middle_1 {
 text-align: left;
}

.middle_2 {
 background: var(--xy-surface);
 border: 1px solid var(--xy-border-soft);
 border-left: 4px solid var(--xy-gold);
 box-shadow: none;
 margin: 0 auto 12px;
 max-width: 1000px;
 padding: clamp(16px, 2vw, 24px);
 text-align: left;
}

.middle_1 p,
.middle_2 p {
 color: var(--xy-text);
 font-size: clamp(13.5px, 0.95vw, 15px);
 line-height: 1.58;
 margin-bottom: 0;
}

#middle .middle_2 br {
 line-height: 1.15;
}

#project {
 background: var(--xy-bg);
 background-image: none;
}

.project_main {
 background: transparent;
 padding: clamp(42px, 6vw, 78px) 0 clamp(18px, 2vw, 30px);
}

#project iframe {
 background: var(--xy-surface);
 border: 1px solid var(--xy-border-soft) !important;
 border-radius: var(--xy-radius);
 box-shadow: none;
 display: block;
 height: 900px;
 margin: 0 auto;
 max-width: 1080px;
 width: 100% !important;
}

#news,
#services {
 background: var(--xy-surface);
 padding: clamp(46px, 6vw, 84px) 0;
}

#services {
 padding-top: clamp(14px, 2vw, 26px);
 padding-bottom: clamp(18px, 2vw, 30px);
}

#news {
 padding-top: clamp(18px, 2.2vw, 32px);
}

#services h2 br {
 display: none;
}

#services h2 + br,
#news h2 + br {
 display: none;
}

#services .services-grid {
 margin-bottom: 0;
}

#news h2,
#services h2,
#choose h2 {
 color: var(--xy-gold-dark);
 margin-bottom: 28px;
}

#services h2,
#news h2 {
 margin-bottom: 22px;
}

#news h2 a,
#choose h2 a {
 color: inherit;
}

.events-grid,
.services-grid {
 display: grid;
 gap: 28px;
 grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
 margin-bottom: 30px;
}

.event-card,
.service-card {
 display: flex;
 flex-direction: column;
 min-width: 0;
}

.news_2,
.event-card .news_2,
.service-card .news_2 {
 background: var(--xy-surface);
 border: 1px solid var(--xy-border-soft);
 border-radius: var(--xy-radius);
 box-shadow: none;
 display: flex;
 flex-direction: column;
 height: 100%;
 padding: 14px 14px 22px;
 text-align: center;
 transition: border-color 180ms ease, box-shadow 180ms ease;
}

.news_2:hover,
.event-card .news_2:hover,
.service-card .news_2:hover {
 border-color: var(--xy-border);
 box-shadow: var(--xy-shadow-card);
}

.news_2 img,
.event-card .news_2 img,
.service-card .news_2 img {
 background: var(--xy-bg-soft);
 border: 1px solid var(--xy-border-soft);
 border-radius: 5px;
 height: auto;
 max-width: 100%;
 width: 100%;
}

.news_2 h5 {
 color: var(--xy-ink);
 flex: 0 0 auto;
 font-family: Georgia, "Times New Roman", "Noto Serif TC", "Songti TC", serif;
 font-size: 21px;
 line-height: 1.22;
 padding: 24px 12px 12px;
}

.news_2 h5 a,
.news_2 h5 font {
 color: var(--xy-link) !important;
}

.news_2 h5 a:hover,
.news_2 h5 a:focus {
 color: var(--xy-link-hover) !important;
}

.news_2 ul {
 color: var(--xy-muted);
 margin-top: auto;
 padding-bottom: 0;
 text-align: center;
}

.news_2 li {
 color: var(--xy-muted);
 display: block;
 font-size: 16px;
 line-height: 1.55;
 padding: 3px 0;
}

.news_2 i {
 color: var(--xy-gold);
 padding-right: 7px;
}

.news_2 li a {
 align-items: center;
 background: var(--xy-gold);
 border: 1px solid var(--xy-gold);
 border-radius: 999px;
 color: #fff;
 display: inline-flex;
 font-size: 15px;
 font-weight: 700;
 justify-content: center;
 line-height: 1.2;
 margin-top: 14px;
 padding: 10px 18px;
}

.news_2 li a:hover,
.news_2 li a:focus {
 background: var(--xy-gold-dark);
 border-color: var(--xy-gold-dark);
 color: #fff;
}

#choose {
 background: var(--xy-bg-soft);
 padding: clamp(48px, 6vw, 82px) 0;
}

#choose .row {
 display: block;
}

.choose_1 h2 {
 font-size: clamp(32px, 3.8vw, 46px);
 padding-bottom: 28px;
}

.choose_feature {
 align-items: center;
 background: rgba(255, 250, 240, 0.58);
 border: 1px solid var(--xy-border-soft);
 display: grid;
 gap: clamp(24px, 4vw, 56px);
 grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.15fr);
 margin: 0 auto;
 max-width: 1120px;
 padding: clamp(24px, 4vw, 44px);
}

.choose_2 {
 width: 100%;
}

.choose_4 {
 max-width: 480px;
}

.choose_4 h3 {
 color: var(--xy-gold-dark);
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans TC", Arial, sans-serif;
 font-size: 18px;
 font-weight: 700;
 padding: 0 0 18px;
}

.choose_4 h3 i {
 color: var(--xy-gold);
 margin-right: 8px;
}

.choose_summary,
.choose_4 h4 {
 color: var(--xy-text);
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans TC", Arial, sans-serif;
 font-size: clamp(18px, 2vw, 21px);
 font-weight: 600;
 line-height: 1.58;
 margin: 0;
 padding: 0;
}

.choose_summary a,
.choose_4 h4 a {
 color: var(--xy-link);
 font-weight: 700;
 white-space: nowrap;
}

.choose_summary a:hover,
.choose_summary a:focus,
.choose_4 h4 a:hover,
.choose_4 h4 a:focus {
 color: var(--xy-link-hover);
}

.choose_5 {
 min-width: 0;
}

.choose_5 img {
 border: 1px solid var(--xy-border-soft);
 border-radius: var(--xy-radius);
 box-shadow: none;
 display: block;
 height: auto;
 max-height: 360px;
 object-fit: cover;
 width: 100%;
}

@media screen and (max-width: 767px) {
 .center_home .banner {
  padding: 12px 0;
 }

 #center .carousel-inner {
  width: calc(100% - 24px);
 }

 #center .carousel-control.left,
 #center .carousel-control.right {
  display: none;
 }

 #middle,
 .project_main,
 #news,
 #choose,
 #services {
  padding: 36px 0;
 }

 #services {
  padding-top: 22px;
  padding-bottom: 26px;
 }

 #news {
  padding-top: 28px;
 }

 .middle_2 {
  border-left-width: 4px;
  padding: 24px 20px;
 }

 #project iframe {
  height: 680px;
 }

 .events-grid,
 .services-grid {
  gap: 20px;
  grid-template-columns: 1fr;
 }

 .news_2,
 .event-card .news_2,
 .service-card .news_2 {
  padding: 12px 12px 20px;
 }

 .news_2 h5 {
  font-size: 21px;
  padding: 22px 8px 12px;
 }

 .news_2 li {
  font-size: 16px;
 }

 .choose_1 h2 {
  font-size: 32px;
  padding-bottom: 20px;
 }

 .choose_feature {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  padding: 22px 18px;
 }

 .choose_4 {
  max-width: none;
 }

 .choose_summary,
 .choose_4 h4 {
  font-size: 17px;
  line-height: 1.62;
 }

 .choose_5 img {
  max-height: none;
 }
}

@media screen and (min-width: 768px) and (max-width: 1152px) {
 #center .kb_control_left {
  left: 42px !important;
 }

 #center .kb_control_right {
  right: 42px !important;
 }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
 #project iframe {
  height: 780px;
 }
}
