@charset "utf-8";

.editor {overflow: hidden;}
.editor img {display: inline-block;max-width: 100%!important;height: auto!important;}
.editor iframe {max-width: 100%;}
.editor table {max-width: 100%!important;}

:root {

  --brand-red: #c04e46;

  --brand-gold: #afa37c;

  --brand-grey: #666666;

  --brand-dark: #333333;

  --bg-light: #f9f9f9;

}



body {

  font-family: 'Lato', sans-serif;

  color: var(--brand-dark);

  background-color: var(--bg-light);

  display: flex;

  flex-direction: column;

  min-height: 100vh;

  position: relative;

}



/* 導航欄樣式 (全站通用) */

.navbar {

  background: #fff;

  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);

  padding: 15px 0;

}

.nav-link {

  color: var(--brand-dark);

  font-weight: 500;

  margin: 0 5px;

  font-size: 15px;

  transition: color 0.3s;

}

.nav-link:hover,
.dropdown-item:hover {

  color: var(--brand-red);

}

.nav-link-1 {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #82c319;
  border-radius: 100px;
  padding: 4px 8px;
}

.nav-link-1:hover {
  color: #82c319;
}

.nav-link-2 {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  padding: 4px 8px;
  border: 1px solid #c04e46;
}

.nav-link-2:hover {
  color: #c04e46;
}

.dropdown-item.active,
.dropdown-item:active {

  background-color: var(--brand-red);

  color: #fff;

}


/* 首頁特定樣式 */

.hero-section {

  padding: 100px 0;

  background-color: #fff;

  flex: 1;
  /* 讓 Footer 沉底 */

  position: relative;

}



.hero-title {

  font-family: 'Playfair Display', serif;

  font-size: 3.5rem;

  color: var(--brand-red);

  margin-bottom: 20px;

}

.opsl-card {

  border: none;

  border-radius: 16px;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  transition: all 0.3s ease;

  overflow: hidden;

  cursor: pointer;

  height: 100%;

  background: #fff;

  border-top: 5px solid var(--brand-red);

}

.opsl-card:hover {

  transform: translateY(-10px);

  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);

}

.opsl-card .card-body {

  padding: 40px;

  /* text-align: center; */

}

.opsl-icon {

  font-size: 3rem;

  color: var(--brand-red);

  margin-bottom: 20px;

}



/* Modal 樣式 */

.modal-header {

  background-color: var(--brand-red);

  color: #fff;

}

.modal-title {

  font-weight: 700;

}

.btn-brand-fill {

  background-color: var(--brand-red);

  color: #fff;

  border: 1px solid var(--brand-red);

  border-radius: 50px;

  padding: 8px 30px;

}

.btn-brand-fill:hover {

  background-color: #a33b33;

  color: #fff;

}



footer {

  border-top: 1px solid #eee;

  padding: 30px 0;

  font-size: 13px;

  color: #999;

  background: #fff;

  margin-top: auto;

}

/* 202601 */
.grid-item {
  width: 100%;
  display: inline-flex;
  flex-direction: column;
}

.grid-item-link {
  display: inline-block;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 15px;
}

.grid-item-link img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-section {
  background-color: rgba(0, 0, 0, 0);
}



.opsl-card .card-body {
  padding: 15px 15px 30px;
}

/* 頁面標題區 */
.page-header {
  background: #fff;
  padding: 50px 0 30px;
  border-bottom: 1px solid #eee;

  margin-bottom: 30px;
}

.page-title {
  font-family: 'Playfair Display', serif;
  color: var(--brand-red);
  font-size: 2.5rem;
}

/****** notice start ****/
.notice-wrapper {
  width: 100%;
  position: fixed;
  left:0;
  top:0;
  z-index: 9999999;
}
.notice-wrapper .notice-item{
  padding:8px 15px;
  text-align: center;
  color:#fff;
}
.notice-wrapper .notice-item a {
  color:#fff;
}
.notice-wrapper .swiper-slide {
  display: block;
}




/****** notice-popup start ****/
.notice-popup-content {
  width: 100%;
  max-width: 960px;
  background-color: #fff;
  margin:0 auto;
  position: relative;
  overflow-y: auto;
  max-height: 86vh;
  min-height: 420px;
  padding:20px;
}
.notice-popup-content img {
  max-width: 100%!important;
  max-height: 100%!important;
}

.notice-popup-content .title {
  position: absolute;
  left:0;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color:#fff;
  font-size:18px;
  text-align: center;
}
.notice-popup-content .title a {
  color:#fff;
}

.mfp-close-btn-in .mfp-close {
  color:#111!important;
}
.mfp-container {
  position: fixed!important;
}
.my-mfp-zoom-in.mfp-ready.mfp-bg {
  opacity: 0.5;
}
/****** notice-popup end ****/