/* Content-only adaptation of the existing DedeCMS homepage carousel. */
.qrdp8-brand a { display: inline-flex; align-items: center; gap: 14px; color: #0875b9; }
.qrdp8-brand img { width: 74px; height: 74px; object-fit: contain; }
.qrdp8-brand span { display: flex; flex-direction: column; line-height: 1.15; }
.qrdp8-brand strong { font-size: 25px; font-weight: 700; letter-spacing: .06em; }
.qrdp8-brand small { margin-top: 7px; color: #287eae; font-size: 10px; letter-spacing: .08em; }
.copyright a { color: inherit; }
.copyright a:hover { color: #1672b9; }
footer .foot-logo img { display: block; width: 104px; height: 104px; object-fit: contain; }
#fh5co-header .head-middle .navbar-head,
#fh5co-header .head-middle .top-contact,
#fh5co-header .head-middle .top-contact ul { height: 45px; }
#fh5co-header .head-middle .top-contact ul { display: flex; margin: 0; }
#fh5co-header .head-middle .top-contact ul li { display: block; }
#fh5co-header .head-middle .top-contact .qrdp8-contact-trigger { display: block; padding-top: 7px; }
#fh5co-header .head-middle .top-contact #hov-tel-id > .content { top: 52px; }
#fh5co-header .head-middle .top-contact .qrdp8-wechat-panel {
  left: -88px;
  top: 52px !important;
  width: 418px !important;
  padding: 18px;
  line-height: normal;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
#fh5co-header .head-middle .top-contact .qrdp8-wechat:hover .qrdp8-wechat-panel,
#fh5co-header .head-middle .top-contact .qrdp8-wechat:focus-within .qrdp8-wechat-panel {
  display: grid !important;
  visibility: visible !important;
}
#fh5co-header .head-middle .top-contact .qrdp8-wechat-panel:after { left: 119px; }
#fh5co-header .head-middle .top-contact .qrdp8-wechat-card {
  min-width: 0;
  padding: 8px;
  border: 1px solid #e7edf1;
  border-radius: 4px;
  background: #fff;
  text-align: center;
}
#fh5co-header .head-middle .top-contact .qrdp8-wechat-card img { display: block; width: 100%; height: auto; }
#fh5co-header .head-middle .top-contact .qrdp8-wechat-card p {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  color: #444;
  font-size: 14px !important;
  line-height: 20px !important;
}
#fh5co-about-us .about-box .intro .desc { height: auto; overflow: visible; }
#fh5co-about-us .about-box .intro .desc p { margin: 0 0 1em; }
#fh5co-hero .slides > li { position: relative; }
#fh5co-hero .flexslider .slides img { width: 100%; height: clamp(280px, 26vw, 520px); min-height: 0; object-fit: cover; object-position: center 48%; }
.qrdp8-hero-copy { position: absolute; left: 24%; top: 14%; width: 29%; padding: 16px 22px; background: rgba(255,255,255,.93); color: #303030; text-align: center; box-shadow: 0 3px 18px rgba(0,0,0,.1); }
.qrdp8-hero-copy span { display: block; font-size: 22px; letter-spacing: .18em; }
.qrdp8-hero-copy strong { display: block; color: #1672b9; font-size: 27px; font-weight: 500; line-height: 1.6; }
.qrdp8-hero-copy p { border-top: 1px solid #56a5d3; border-bottom: 1px solid #56a5d3; margin: 7px 0; padding: 6px 0; font-size: 16px; }
.qrdp8-hero-copy b { display: block; color: #1672b9; font-size: 14px; }
#fh5co-hero .slides .qrdp8-hero-copy a { display: block; color: #1672b9; font-size: 21px; height: auto; margin-top: 5px; }
@media(max-width: 800px) {
  #fh5co-header .head-top .qrdp8-brand { padding-right: 52px; }
  #fh5co-header .head-top .qrdp8-brand a { gap: 9px; max-width: 100%; }
  #fh5co-header .head-top .qrdp8-brand img { flex: 0 0 58px; width: 58px; height: 58px; }
  .qrdp8-brand span { min-width: 0; }
  .qrdp8-brand strong { font-size: 17px; line-height: 1.2; }
  .qrdp8-brand small { display: none; }
  footer .foot-logo img { width: 92px; height: 92px; margin: 0 auto; }
  #fh5co-hero .flexslider .slides img { height: 260px; }
  .qrdp8-hero-copy { left: 5%; top: 10%; width: 55%; padding: 8px 10px; }
  .qrdp8-hero-copy span { font-size: 12px; }
  .qrdp8-hero-copy strong { font-size: 16px; }
  .qrdp8-hero-copy p { font-size: 11px; margin: 3px 0; padding: 2px 0; }
  .qrdp8-hero-copy b { font-size: 10px; }
  #fh5co-hero .slides .qrdp8-hero-copy a { font-size: 14px; }
}
