/* ==========================================================================
   IE9+ Fallback Style Sheet (base.css)
   Strictly float-based. No flex, grid, css variables, transitions, or animations.
   ========================================================================== */

/* Clearfix */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}

/* Global Image Sizing for IE9 compatibility */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Base Layout Container */
.container {
  width: 100%;
  max-width: 1920px;
  min-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
}

.section-container {
  width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Titles */
h2.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #ffffff;
}
h2.section-title.text-dark {
  color: #222222;
}

/* 1. Header / Banner Area */
.header {
  width: 100%;
  position: relative;
  background-color: #D31D24;
  overflow: hidden;
}
.header .bg {
  width: 100%;
  height: auto;
}
.header .bg img {
  width: 100%;
  height: auto;
  display: block;
}
.header .bg-wap {
  display: none;
}
.header .banner-content {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 1200px;
  height: 300px;
  margin-top: -150px;
  margin-left: -600px;
  text-align: center;
}
.header .banner-title-wrapper {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-top: 50px;
}
.header .banner-title {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 2. Highlights Section */
.highlights-section {
  background-color: #D31D24;
  padding: 50px 0;
  color: #ffffff;
}
.tourist-col {
  width: 580px;
  float: left;
}
.holiday-col {
  width: 580px;
  float: right;
}

/* Swiper Base Override for IE9 Stability */
.tourist-swiper {
  width: 580px;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.tourist-swiper .swiper-wrapper {
  height: 100%;
}
.tourist-swiper .swiper-slide {
  width: 580px;
  height: 300px;
  float: left;
}
.slide-inner {
  width: 580px;
  height: 300px;
  position: relative;
  background-color: #FFC72C;
}
.slide-img {
  width: 380px;
  height: 300px;
  float: left;
  overflow: hidden;
}
.slide-img img {
  width: 380px;
  height: 300px;
  display: block;
}
.slide-text {
  width: 200px;
  height: 300px;
  float: right;
  background-color: #FFC72C;
  padding: 25px 20px;
  box-sizing: border-box;
}
.slide-text h3 {
  font-size: 18px;
  color: #333333;
  font-weight: 700;
  line-height: 1.4;
}

/* Swiper 2 Pagination & Navigation in IE9 */
.tourist-controls {
  margin-top: 20px;
  text-align: center;
}
.tourist-prev,
.tourist-pagination,
.tourist-next {
  display: inline-block;
  vertical-align: middle;
}
.tourist-pagination {
  margin: 0 15px;
  line-height: 24px;
}
.swiper-pagination-switch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #e5e5e5;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 0 4px;
  cursor: pointer;
}
.swiper-active-switch {
  background-color: #ffffff;
}
.tourist-prev,
.tourist-next {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 22px;
  text-align: center;
  border: 1px solid #ffffff;
  color: #ffffff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}
.tourist-prev:hover,
.tourist-next:hover {
  background-color: #f0f0f0;
}

/* Holidays events list */
.events-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.events-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 18px;
  border-bottom: 1px dashed #e23e44;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  padding-bottom: 12px;
}
.events-list li:before {
  content: "•";
  color: #ffffff;
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 20px;
}
.events-list li a {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
}
.events-list li a:hover {
  color: #FFC72C;
}
.read-more {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  display: inline-block;
  margin-top: 10px;
}
.read-more:hover {
  color: #FFC72C;
}

/* 3. Cultural and Tourism Activities Section */
.activities-section {
  background-color: #ffffff;
  padding: 60px 0;
}
.activities-grid {
  width: 1170px;
}
.activity-col {
  width: 277px;
  margin-right: 20px;
  float: left;
}
.activity-col.last-item {
  margin-right: 0;
}
.activity-card {
  width: 277px;
  background-color: #ffffff;
}
.activity-card .card-img {
  width: 100%;
  overflow: hidden;
}
.activity-card .card-img img {
  display: block;
  width: 100%;
}
.activity-card .card-title {
  padding: 15px 0;
  height: 80px;
  overflow: hidden;
}
.activity-card .card-title a {
  color: #333333;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.activity-card .card-title a:hover {
  color: #D31D24;
}

/* 4. 'Shenhuxi' Brand Section */
.brand-section {
  background-color: #ffffff;
  padding: 60px 0;
}
.brand-grid {
  width: 1170px;
}
.brand-col {
  width: 376px;
  margin-right: 21px;
  float: left;
}
.brand-col.last-item {
  margin-right: 0;
}
.brand-card {
  width: 100%;
  background-color: #ffffff;
}
.brand-card .card-img {
  width: 100%;
  overflow: hidden;
}
.brand-card .card-img img {
  display: block;
  width: 100%;
}
.brand-card-bottom {
  background-color: #FFF0B8;
  padding: 25px 20px;
  height: 140px;
  box-sizing: border-box;
}
.brand-card-bottom h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #333333;
  margin-bottom: 12px;
}
.brand-card-bottom .read-more-btn {
  color: #D31D24;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #D31D24;
}
.brand-card-bottom .read-more-btn:hover {
  color: #8a0c10;
  border-bottom-color: #8a0c10;
}

/* 5. Transportation Section */
.transportation-section {
  background-color: #ffffff;
  padding: 60px 0;
}
.transportation-grid {
  width: 1170px;
}
.transportation-col {
  width: 570px;
  float: left;
}
.transportation-col.last-item {
  float: right;
}
.trans-list {
  width: 100%;
}
.trans-item-mixed {
  background-color: #fcfcfc;
  padding: 15px;
  border: 1px solid #eeeeee;
  margin-bottom: 20px;
}
.trans-item-mixed .trans-img {
  width: 180px;
  float: left;
  overflow: hidden;
}
.trans-item-mixed .trans-img img {
  width: 180px;
  display: block;
}
.trans-item-mixed .trans-info {
  width: 340px;
  float: right;
}
.trans-item-mixed .trans-info h3 {
  margin-top: 5px;
}
.trans-item-mixed .trans-info h3 a {
  color: #333333;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.trans-item-mixed .trans-info h3 a:hover {
  color: #D31D24;
}
.trans-item-mixed .trans-info .date {
  display: block;
  font-size: 12px;
  color: #999999;
  margin-top: 15px;
}
.trans-item-text {
  padding: 15px 5px;
  border-bottom: 1px solid #eeeeee;
}
.trans-item-text h3 a {
  color: #333333;
  font-size: 15px;
  font-weight: normal;
  line-height: 1.4;
  text-decoration: none;
}
.trans-item-text h3 a:hover {
  color: #D31D24;
}
.trans-item-text .date {
  display: block;
  font-size: 12px;
  color: #999999;
  margin-top: 8px;
}

/* 6. Footer Section */
.footer-section {
  background-color: #9E1A1E;
  padding: 40px 0;
  color: #ffffff;
  text-align: center;
}
.footer-container {
  width: 1200px;
  margin: 0 auto;
}
.footer-section .copyright {
  font-size: 14px;
  margin-bottom: 10px;
}
.footer-section .icp {
  font-size: 12px;
  color: #FFC72C;
}

/* Back to Top Button */
#backToTop {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 44px;
  height: 44px;
  line-height: 40px;
  padding: 10px;
  text-align: center;
  background-color: #D31D24;
  color: #ffffff;
  font-size: 20px;
  border-radius: 22px;
  text-decoration: none;
  border: 2px solid #ffffff;
  z-index: 9999;
}
#backToTop:hover {
  background-color: #ff0000;
}
