/*

Tooplate 2137 Barista

https://www.tooplate.com/view/2137-barista-cafe

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #E64A19;
  --secondary-color:              #FF7043;
  --section-bg-color:             #FFF3E0;
  --custom-btn-bg-color:          #E64A19;
  --custom-btn-bg-hover-color:    #BF360C;
  --dark-color:                   #1A1A1A;
  --p-color:                      #4A4A4A;
  --border-color:                 #FFAB91;
  --link-hover-color:             #BF360C;

  --body-font-family:             'Plus Jakarta Sans', sans-serif;

  --h1-font-size:                 62px;
  --h2-font-size:                 42px;
  --h3-font-size:                 28px;
  --h4-font-size:                 24px;
  --h5-font-size:                 22px;
  --h6-font-size:                 20px;
  --p-font-size:                  18px;
  --btn-font-size:                14px;
  --form-btn-font-size:           16px;
  --menu-font-size:               14px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-thin:             200;
  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-bold:             700;
}

[data-theme="qinglv"] {
  --primary-color: #17a2b8;
  --secondary-color: #20c997;
  --section-bg-color: #e0f7f9;
  --custom-btn-bg-color: #17a2b8;
  --custom-btn-bg-hover-color: #138496;
  --dark-color: #03353a;
  --p-color: #15535b;
  --border-color: #9de2ea;
  --link-hover-color: #0f6674;
}

[data-theme="ocean"] {
  --primary-color: #0d6efd;
  --secondary-color: #0dcaf0;
  --section-bg-color: #e3f2ff;
  --custom-btn-bg-color: #0d6efd;
  --custom-btn-bg-hover-color: #0b5ed7;
  --dark-color: #052c65;
  --p-color: #0a3a6d;
  --border-color: #9ec5fe;
  --link-hover-color: #0a58ca;
}

[data-theme="violet"] {
  --primary-color: #6f42c1;
  --secondary-color: #b197fc;
  --section-bg-color: #f3e8ff;
  --custom-btn-bg-color: #6f42c1;
  --custom-btn-bg-hover-color: #59339d;
  --dark-color: #2e1747;
  --p-color: #4b2f6f;
  --border-color: #d3bdfc;
  --link-hover-color: #9b59ff;
}

[data-theme="crimson"] {
  --primary-color: #dc3545;
  --secondary-color: #ff6b6b;
  --section-bg-color: #ffe5e7;
  --custom-btn-bg-color: #dc3545;
  --custom-btn-bg-hover-color: #b02a37;
  --dark-color: #58151c;
  --p-color: #7b1f28;
  --border-color: #f5b5bc;
  --link-hover-color: #ff4d4f;
}

[data-theme="orange-gold"] {
  --primary-color: #fd7e14;
  --secondary-color: #ffc107;
  --section-bg-color: #fff3cd;
  --custom-btn-bg-color: #fd7e14;
  --custom-btn-bg-hover-color: #e5670c;
  --dark-color: #5f370e;
  --p-color: #8a4f12;
  --border-color: #ffe6b3;
  --link-hover-color: #ff9f1c;
}

[data-theme="forest"] {
  --primary-color: #198754;
  --secondary-color: #20c997;
  --section-bg-color: #e9f7ef;
  --custom-btn-bg-color: #198754;
  --custom-btn-bg-hover-color: #146c43;
  --dark-color: #0f5132;
  --p-color: #155d3c;
  --border-color: #c3e6cb;
  --link-hover-color: #1e7e34;
}

[data-theme="sunny"] {
  --primary-color: #ffc107;
  --secondary-color: #ffdd57;
  --section-bg-color: #fff9db;
  --custom-btn-bg-color: #ffc107;
  --custom-btn-bg-hover-color: #e0a800;
  --dark-color: #664d03;
  --p-color: #7f5f04;
  --border-color: #ffe58f;
  --link-hover-color: #ffb300;
}

[data-theme="wood"] {
  --primary-color: #8d6e63;
  --secondary-color: #bcaaa4;
  --section-bg-color: #f3e5e0;
  --custom-btn-bg-color: #8d6e63;
  --custom-btn-bg-hover-color: #6d4c41;
  --dark-color: #4e342e;
  --p-color: #5d4037;
  --border-color: #d7ccc8;
  --link-hover-color: #a1887f;
}

[data-theme="soft-pink"] {
  --primary-color: #ff6b9b;
  --secondary-color: #ffb6c9;
  --section-bg-color: #ffeaf0;
  --custom-btn-bg-color: #ff6b9b;
  --custom-btn-bg-hover-color: #e05584;
  --dark-color: #5f2339;
  --p-color: #7b2c47;
  --border-color: #ffc2d5;
  --link-hover-color: #ff85a9;
}

[data-theme="deep-black"] {
  --primary-color: #121212;
  --secondary-color: #343a40;
  --section-bg-color: #1e1e1e;
  --custom-btn-bg-color: #212529;
  --custom-btn-bg-hover-color: #343a40;
  --dark-color: #000000;
  --p-color: #f8f9fa;
  --border-color: #343a40;
  --link-hover-color: #0d6efd;
}

[data-theme="business"] {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --section-bg-color: #f5f7fb;
  --custom-btn-bg-color: #0d6efd;
  --custom-btn-bg-hover-color: #0b5ed7;
  --dark-color: #212529;
  --p-color: #495057;
  --border-color: #ced4da;
  --link-hover-color: #0a58ca;
}

[data-theme="fashion"] {
  --primary-color: #e83e8c;
  --secondary-color: #6610f2;
  --section-bg-color: #fdf0ff;
  --custom-btn-bg-color: #e83e8c;
  --custom-btn-bg-hover-color: #c21c68;
  --dark-color: #1b1032;
  --p-color: #4a235a;
  --border-color: #f5c2e7;
  --link-hover-color: #ff6fb5;
}

[data-theme="rose-gold"] {
  --primary-color: #b76e79;
  --secondary-color: #f7cac9;
  --section-bg-color: #fdf1f2;
  --custom-btn-bg-color: #b76e79;
  --custom-btn-bg-hover-color: #9f5a64;
  --dark-color: #4a262b;
  --p-color: #6d3b42;
  --border-color: #f4c6cf;
  --link-hover-color: #ff9aa2;
}

[data-theme="deep-sea"] {
  --primary-color: #006d77;
  --secondary-color: #83c5be;
  --section-bg-color: #e0fbfc;
  --custom-btn-bg-color: #006d77;
  --custom-btn-bg-hover-color: #004f57;
  --dark-color: #003840;
  --p-color: #004452;
  --border-color: #ccebef;
  --link-hover-color: #00b4d8;
}

body {
  /* background-color: #F8F4F0; */
  font-family: var(--body-font-family); 
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

.text-primary {
  color: var(--primary-color, #4a6cf7) !important;
}

.bg-primary {
  background-color: var(--primary-color, #4a6cf7) !important;
}

.border-primary {
  border-color: var(--primary-color, #4a6cf7) !important;
}

.btn-primary {
  background-color: var(--primary-color, #4a6cf7);
  border-color: var(--primary-color, #4a6cf7);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--hover-color, #3152d9);
  border-color: var(--hover-color, #3152d9);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 50px;
  padding-bottom: 50px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.bg-section {
  background-color: var(--section-bg-color);
}

.section-bg-dark,
.section-bg-dark h2,
.section-bg-dark p
{
  color: #fff !important;
}

.section-overlay {
  background-color: var(--dark-color);
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.35; /* 降低遮罩濃度，讓背景圖更清晰 */
}

.section-overlay + .container {
  position: relative;
  z-index: 22;
}

.back-top-icon {
  font-size: var(--h2-font-size);
}


/*---------------------------------------
  TIMELINE               
-----------------------------------------*/
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 5px;
  background-color: var(--white-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-container {
  padding: 10px 40px;
  padding-top: 0;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12px;
  background-color: var(--white-color);
  border: 5px solid #7c5c52;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-container-left {
  left: 0;
}

.timeline-container-right {
  left: 50%;
}

.timeline-container-left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 9px;
  width: 0;
  z-index: 1;
  right: 25px;
  border: medium solid white;
  border-width: 20px 0 20px 20px;
  border-color: transparent transparent transparent white;
}

.timeline-container-right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 9px;
  width: 0;
  z-index: 1;
  left: 25px;
  border: medium solid white;
  border-width: 20px 20px 20px 0;
  border-color: transparent white transparent transparent;
}

.marquee-section {
  background-color: var(--white-color);
}

.marquee-box {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 50px;
  overflow: hidden;
  position: relative;
}

.marquee-title {
  font-weight: 600;
  border-radius: 0.25rem 0 0 0.25rem;
  height: 100%;
  min-width: 120px;
  z-index: 10;
}

.marquee-content {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.marquee-scroll {
  display: flex;
  animation: marqueeScroll 20s linear infinite;
}

.marquee-item {
  white-space: nowrap;
  transition: color 0.3s ease;
  font-weight: 500;
}

.marquee-item:hover {
  color: var(--primary-color) !important;
}

.marquee-end {
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  height: 100%;
}

.more-news {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  display: block;
}

.more-news:hover {
  transform: translateX(3px);
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .marquee-title {
    min-width: 100px;
    font-size: 0.9rem;
  }

  .marquee-item {
    font-size: 0.9rem;
  }
}

.timeline-container-right::after {
  left: -13px;
}

.timeline-content {
  padding: 5px;
  background-color: var(--white-color);
  position: relative;
  border-radius: var(--border-radius-medium);
}

@media screen and (max-width: 991px) {
  .timeline::after {
    left: 31px;
  }

  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-container::before {
    left: 58px;
    border: medium solid white;
    border-width: 20px 20px 20px 0;
    border-color: transparent white transparent transparent;
  }

  .timeline-container-left::after, .timeline-container-right::after {
    left: 6px;
  }

  .timeline-container-right {
    left: 0%;
  }
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 12px 28px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--white-color);
  color: var(--white-color);
}

.custom-border-btn:hover {
  background: var(--white-color);
  color: var(--secondary-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}

.custom-btn-italic {
  font-style: italic;
}


/*---------------------------------------
  NAVIGATION BAR & OFFCANVAS              
-----------------------------------------*/
.sticky-wrapper {
  position: absolute;
  z-index: 999999;
  top: 0;
  right: 0;
  left: 0;
}

.sticky-wrapper.is-sticky .container {
  background: rgba(0, 0, 0, 0.85);
  border-radius: var(--border-radius-medium);
  padding: 15px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  z-index: 1999;
  padding-top: 30px;
  padding-bottom: 30px;
}

.navbar .container {
  background: rgba(0, 0, 0, 0.75);
  border-radius: var(--border-radius-medium);
  padding: 15px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-bold);
  display: block;
  color: var(--white-color);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Logo 維持原色，不套用濾鏡 */
.navbar-brand-image {
  /* width: 120px; */
  height: auto;
  margin-right: 10px;
}

.navbar .custom-btn {
  padding: 10px 20px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  padding-top: 15px;
  padding-bottom: 15px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-large);
}

.navbar .dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: all 0.3s;
  pointer-events: none;
}

.navbar .dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.navbar .dropdown-item {
  display: inline-block;
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
}

.navbar .dropdown-item.active, 
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus, 
.navbar .dropdown-item:hover {
  background: transparent;
  color: var(--link-hover-color);
}

.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--menu-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.mobile-parent-toggle {
  width: auto;
  padding: 15px 0 15px 0.5rem;
  background-color: transparent !important;
  border: 0;
  color: var(--white-color);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.mobile-parent-toggle:focus,
.mobile-parent-toggle:hover {
  background-color: transparent !important;
  color: var(--link-hover-color);
}

@media (max-width: 991.98px) {
  .navbar-nav .nav-link.active,
  .navbar-nav .nav-link:hover {
    background-color: transparent !important;
  }
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  HERO        
-----------------------------------------*/
/* Hero 區塊：讓背景圖從最上方開始，navbar 固定覆蓋其上 */
.hero-section {
  background-color: var(--dark-color);
  position: relative;
  overflow: hidden;
  min-height: 620px;
  text-align: center;
  padding-top: 100px; /* 預留空間給固定 navbar，避免文字被遮擋 */
}

/* 遮罩移至各 slide 內，置於圖片與文字之間，確保文字不被擋住 */
.hero-slide-mask {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-55%, -50%) rotate(45deg);
  width: 250px;
  height: 250px;
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: var(--border-radius-medium);
  pointer-events: none;
  z-index: 1;
}

@media screen and (min-width: 991px) {
  .hero-section {
    height: 100vh;
  }
  /* PC 版：長方形遮罩 */
  .hero-slide-mask {
    transform: translate(-50%, -50%);
    width: 800px;
    height: 300px;
  }
}

.hero-section h1,
.hero-section h2 
{
  color: var(--white-color);
  font-size: 38px;
}

.hero-section p
{
  font-size: 22px;
}

@media screen and (max-width: 767px) {
  .hero-section h1,
  .hero-section h2
  {
    font-size: 28px;
  }

  .hero-section p
  {
    font-size: 16px;
  }
}

.hero-section .small-text {
  color: var(--secondary-color);
  font-size: 22px;
}

.small-text {
  color: var(--secondary-color);
}

.hero-section .custom-border-btn {
  border-color: transparent;
}

.hero-section .container {
  position: relative;
  z-index: 9;
}

.hero-slides {
  position: absolute !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 620px;
  z-index: 0;
}

/* Hero Swiper 需填滿整個 hero-section */
.hero-slides.swiper,
.hero-slides .swiper-wrapper,
.hero-slides .swiper-slide {
  height: 100% !important;
}

.hero-slides .swiper-slide {
  width: 100%;
  position: relative;
}

/* Hero slide 文字區：覆蓋於圖片上方，每張 banner 有各自的 title、subtitle、按鈕 */
.hero-slide-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-slide-caption .container {
  pointer-events: auto;
}

/* Hero Swiper 圖片樣式：填滿 slide 且保持比例 */
.hero-slides .hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-swiper-pagination {
  z-index: 10;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--white-color);
}


/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-section {
  /* background-color: var(--secondary-color); */
  position: relative;
}

.about-section .ratio {
  border-radius: var(--border-radius-medium);
}

.custom-video {
  border-radius: var(--border-radius-medium);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-wrap {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.about-video-info {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(188, 108, 37, 1));
  border-radius: var(--border-radius-medium);
  bottom: 0;
  height: auto;
  padding: 40px;
}

.about-video-info h4 {
  color: var(--white-color);
}

.about-section h6 {
  color: var(--secondary-color);
}

.team-block-wrap {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  max-height: 450px;
  cursor: pointer;
}

.team-block-wrap:hover .team-block-image {
  transform: scale(1.2);
}

.team-block-image-wrap {
  width: 100%;
}

.team-block-image {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
}

.team-block-info {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(188, 108, 37, 1));
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px;
}

.team-block-info .badge {
  margin: auto;
  top: 2px;
  bottom: 0;
}


/*---------------------------------------
  OUR MENU              
-----------------------------------------*/
.menu-section {
  background-image: url('../images/happy-waitress-giving-coffee-customers-while-serving-them-coffee-shop.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.menu-block-wrap {
  background: rgba(0, 0, 0, 0.65);
  border-radius: var(--border-radius-medium);
  padding: 45px;
}

.menu-block .border-top {
  border-top-color: rgba(255, 255, 255, 0.35) !important;
}

.menu-block h6 {
  color: var(--white-color);
}

.menu-block small {
  color: rgba(255, 255, 255, 0.35);
}

.menu-block strong {
  color: var(--secondary-color);
}

.menu-block-image {
  border-radius: 100%;
  width: 350px;
  height: 350px;
  object-fit: cover;
  display: block;
  margin: auto;
  cursor: pointer;
}

aaa .badge {
  background-color: var(--primary-color);
  font-size: 12px;
  position: relative;
  bottom: 4px;
  padding-bottom: 6px;
}

aaa .badge::before {
  /* content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--primary-color); */
}


/*---------------------------------------
  REVIEWS              
-----------------------------------------*/
.reviews-section {
  background-color: #7c5c52;
}

.reviews-block {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.reviews-block .border-top {
  border-top-color: rgba(255, 255, 255, 0.35) !important;
}

.reviews-block-image-wrap {
  background-image: url('../images/mid-section-waitress-wiping-espresso-machine-with-napkin-cafa-c.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 30px;
}

.reviews-block-image {
  border-radius: var(--border-radius-large);
  width: 65px;
  height: 65px;
  object-fit: cover;
  margin-right: 10px;
}

.reviews-block-info {
  padding: 20px 30px;
}

.reviews-block-info p {
  font-size: var(--btn-font-size);
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
}

.reviews-group i {
  color: var(--white-color);
}


/*---------------------------------------
  BOOKING SECTION              
-----------------------------------------*/
.booking-section {
  background-image: url('../images/young-female-barista-wear-face-mask-serving-take-away-hot-coffee-paper-cup-consumer-cafe.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.booking-form-wrap {
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  margin-top: 100px;
}

.booking-form {
  padding: 55px 65px;
}

.booking-form-image-wrap {
  position: relative;
  height: 100%;
}

.booking-form-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-form-text span {
  color: var(--white-color);
  font-size: var(--btn-font-size);
}

.reservation-page .custom-border-btn {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.reservation-page .custom-border-btn:hover {
  border-color: transparent;
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-section {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(188, 108, 37, 1)), url('../images/young-female-barista-wear-face-mask-serving-take-away-hot-coffee-paper-cup-consumer-cafe.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* Light variant: used when content background is light */
.contact-section.contact-section--light {
  background-image: none !important;
  background-color: #F8F4F0;
}

.contact-section.contact-section--light .custom-form .form-label {
  color: var(--dark-color);
}

.contact-section.contact-section--light .contact-form .form-control {
  background-color: var(--white-color);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--dark-color);
}

.contact-section.contact-section--light .contact-form .form-control:hover,
.contact-section.contact-section--light .contact-form .form-control:focus {
  background: var(--white-color);
  border-color: rgba(0, 0, 0, 0.25);
}

.contact-section.contact-section--light .custom-form input::-webkit-input-placeholder,
.contact-section.contact-section--light .custom-form textarea::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.contact-section.contact-section--light .custom-form input:-moz-placeholder,
.contact-section.contact-section--light .custom-form textarea:-moz-placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.google-map {
  border-radius: var(--border-radius-medium);
  filter: grayscale(100);
}

.contact-block-wrap {
  background: var(--primary-color);
  border-radius: var(--border-radius-medium);
  padding: 0;
  min-height: 200px;
}

.contact-block {
  background: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  transform: rotate(8deg);
  height: 100%;
  padding: 20px 40px;
}

.contact-block h6 {
  transform: rotate(-8deg);
}

.contact-block .custom-icon {
  background: var(--primary-color);
  border-radius: var(--border-radius-large);
  display: block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  position: relative;
}

.contact-block strong {
  display: block;
  color: var(--white-color);
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 10px;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  color: var(--p-color);
  border-radius: var(--border-radius-small);
  margin-bottom: 30px;
  padding-top: 13px;
  padding-bottom: 13px;
  box-shadow: none;
  outline: none;
  transition: all 0.3s;
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
  background: var(--primary-color);
  border-color: transparent;
}

.custom-form .form-label {
  color: var(--white-color);
  font-style: italic;
  margin-bottom: 15px;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--form-btn-font-size);
  font-weight: var(--font-weight-bold);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--white-color);
  border-color: transparent;
  color: var(--primary-color);
}

.contact-form .form-control,
.booking-form .form-control {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.25);
}

.booking-form .form-control {
  color: var(--white-color);
}

.custom-form input::-webkit-input-placeholder,
.custom-form textarea::-webkit-input-placeholder {
   color: var(--white-color);
}

.booking-form input:-moz-placeholder,
.booking-form textarea:-moz-placeholder {
  color: var(--white-color);
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  color: white;
  background-color: var(--primary-color);
}

.site-footer strong {
  color: var(--white-color);
}

.site-footer p,
.site-footer-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--btn-font-size);
}

.site-footer-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--btn-font-size);
  transition: all 0.3s;
}

.site-footer-link:hover {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
}

.copyright-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--menu-font-size);
}

.copyright-text a {
	color: rgba(255, 200, 160, 0.75);
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--primary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--menu-font-size);
  display: block;
  margin: 0 5px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 35px;
  transition: background 0.2s, color 0.2s;
}

.social-icon-link:hover {
  background: var(--white-color);
  color: var(--primary-color);
}

.social-icon-link span {
  display: block;
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 1200px) {
  h1 {
    font-size: 62px;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-section {
    padding-top: 148px;
    padding-bottom: 100px;
  }

  .navbar-brand,
  .navbar-brand:hover {
    font-size: var(--h5-font-size);
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 20px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
    margin-bottom: 0;
  }

  .navbar .custom-btn {
    margin-bottom: 10px;
  }

  .booking-form {
    padding: 45px;
  }

  .contact-section .container {
    width: auto;
    margin-right: 10px;
    margin-left: 10px;
    padding: 35px;
  }

  .site-footer {
    /* padding-top: 50px;
    padding-bottom: 50px; */
  }
}

@media screen and (max-width: 767px) {
  .custom-btn {
    font-size: 14px;
    padding: 12px 20px;
  }

  .menu-block-wrap,
  .reviews-block-image-wrap,
  .reviews-block-info {
    padding: 20px;
  }
}


@media screen and (max-width: 578px) {
  .navbar .container,
  .sticky-wrapper.is-sticky .container {
    margin-right: 10px;
    margin-left: 10px;
  }
}


@media screen and (max-width: 480px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }

  .hero-section::after {
    width: 200px;
    height: 200px;
  }

  .booking-form {
    padding: 35px;
  }

  .opening-hours-list li {
    font-size: 12px;
  }

  .reviews-block-image-wrap {
    flex-direction: column;
  }

  .reviews-block-image {
    margin-bottom: 15px;
  }

  .timeline-container {
    padding-left: 55px;
  }

  .timeline-container::before {
    left: 44px;
    border: medium solid white;
    border-width: 15px 15px 15px 0;
    border-color: transparent white transparent transparent;
  }

  .timeline-container-left::before,
  .timeline-container-right::before {
    top: 13px;
  }
}

/* 加入購物車按鈕（AddToCartBtn.vue） */
.add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-color, #0d6efd);
}
.add-to-cart-btn:hover {
  color: var(--custom-btn-bg-hover-color, #DDA15E);
}
.add-to-cart-btn.out-of-stock {
  cursor: not-allowed;
  color: var(--bs-danger, #dc3545);
}

/*---------------------------------------
  CASES DETAIL (案例分享詳情頁)
-----------------------------------------*/
.case-detail-gallery {
  margin-bottom: 30px;
}

.gallery-item {
  display: block;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  transition: all 0.5s ease;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.case-detail {
  margin-bottom: 50px;
  background-color: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 40px 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.case-detail-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.case-detail-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.4;
}

.case-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.case-detail-date {
  display: flex;
  align-items: center;
  color: #6c757d;
  font-size: 0.95rem;
}

.case-detail-category {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  background-color: var(--primary-color);
  color: white;
}

.case-detail-views {
  display: flex;
  align-items: center;
  color: #6c757d;
  font-size: 0.95rem;
}

.case-detail-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.case-detail-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-detail-content h2,
.case-detail-content h3,
.case-detail-content h4 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.case-detail-content p {
  margin-bottom: 20px;
}

.case-detail-content ul,
.case-detail-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.case-detail-content li {
  margin-bottom: 10px;
}

.case-detail-source {
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  font-size: 0.95rem;
  border-left: 3px solid var(--primary-color);
}

.back-button {
  margin-top: 40px;
  text-align: center;
}

.back-button .btn {
  padding: 10px 25px;
  font-weight: 500;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.back-button .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-case {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.related-case h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.related-case-item {
  padding: 15px;
  border-radius: 8px;
  background-color: #f8f9fa;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.related-case-item:hover {
  background-color: #e9ecef;
  transform: translateY(-3px);
}

.related-case-item .date {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 5px;
}

.related-case-item .title {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.related-case-item a {
  text-decoration: none;
  color: inherit;
}

.ck-content {
  line-height: 1.8;
}

.ck-content p {
  margin-bottom: 1rem;
}

.ck-content h2,
.ck-content h3,
.ck-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.ck-content ul,
.ck-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.ck-content img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}

.ck-content blockquote {
  margin: 1rem 0;
  padding: 1rem;
  border-left: 4px solid var(--primary-color);
  background-color: #f8f9fa;
}

.ck-content table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}

.ck-content table td,
.ck-content table th {
  border: 1px solid #ddd;
  padding: 0.5rem;
}

.ck-content table th {
  background-color: #f1f1f1;
}

/*---------------------------------------
  CASES LIST (案例分享列表頁)
-----------------------------------------*/
.home-carousel {
  touch-action: pan-y;
}

.home-carousel .owl-stage-outer {
  touch-action: manipulation;
}

.home-carousel .owl-nav {
  margin-top: 20px;
  text-align: center;
}

.home-carousel .owl-nav button {
  background: var(--primary-color, #0d6efd) !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  font-size: 18px !important;
  margin: 0 10px !important;
  transition: all 0.3s ease !important;
}

.home-carousel .owl-nav button:hover {
  background: var(--primary-color, #0b5ed7) !important;
  transform: scale(1.1);
  opacity: 0.9;
}

.home-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}

.home-carousel .owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.home-carousel .owl-dot.active {
  background: var(--primary-color, #0d6efd);
  transform: scale(1.2);
}

.home-carousel .item {
  padding: 0 10px;
}

.home-carousel .item .blog-card,
.home-carousel .item .card {
  height: 100%;
}

.blog-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

.blog-carousel .owl-item {
  display: flex;
  height: auto;
}

.blog-carousel .item {
  display: flex;
  width: 100%;
}

.blog-carousel .item .blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-carousel .item .blog-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-carousel .item .blog-card .card-text {
  flex: 1;
}

.blog-carousel .blog-card {
  min-height: 450px;
}

.blog-carousel .blog-card .card-img-top {
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-carousel .blog-card .card-footer {
  margin-top: auto;
  flex-shrink: 0;
}

.blog-card {
  height: 100%;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blog-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.blog-card .card-body {
  padding: 1.25rem;
}

.blog-card .card-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.blog-card .card-text {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
}

.blog-card .card-footer {
  background-color: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 1.25rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #6c757d;
}

.blog-meta .meta-item {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.blog-meta .meta-item i {
  margin-right: 0.25rem;
}

.cases-header {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(/static/choc/images/cases-header.jpg) no-repeat center center;
  background-size: cover;
  padding: 80px 0;
  margin-bottom: 50px;
}

.cases-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cases-list {
  margin-bottom: 30px;
}

.cases-card {
  height: 100%;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.cases-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cases-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.cases-card .card-body {
  padding: 1.25rem;
}

.cases-card .card-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cases-card .card-text {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.cases-card .card-footer {
  background-color: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 1.25rem;
}

.cases-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #6c757d;
}

.cases-meta .meta-item {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.cases-meta .meta-item i {
  margin-right: 0.25rem;
}

.cases-list .blog-tags {
  margin-top: 0.5rem;
}

.cases-date-box {
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.cases-date-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cases-pagination {
  justify-content: center;
  margin-top: 40px;
}

.cases-fade-in {
  animation: cases-fade-in 0.5s ease-in-out;
}

@keyframes cases-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.list-group-item.active {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff;
}

.list-group-item.list-group-item-action:hover {
  background-color: rgba(0, 0, 0, 0.02);
  color: var(--primary-color);
}

/* 會員中心選單 */
.menu-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.menu-card-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.menu-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    border-bottom: 1px solid #eee;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-link {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.menu-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.menu-link.active {
    background-color: var(--primary-color);
    color: white;
}

.menu-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Mobile Menu Toggle Icon Rotation */
.menu-card-header[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}
.transition-icon {
    transition: transform 0.3s ease;
}

/* 產品卡片標題樣式 */
.product-card .card-title {
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    height: 4.5em;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 15px;
    color: var(--dark-color);
}

/* Page Header */
.page-header {
  height: 350px;
  background-size: cover;
  background-position: center;
  position: relative;
}

@media screen and (max-width: 767px) {
  .page-header {
    height: 250px;
  }
}

/* Override Bootstrap btn-outline-primary with theme color */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Also override btn-primary just in case */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--custom-btn-bg-hover-color);
    border-color: var(--custom-btn-bg-hover-color);
}
