@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans TC", sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

a.red {
  color: #a83232;
}

a.gold {
  color: #c5a47e;
}
a.gold:hover {
  opacity: 0.8;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.section-title {
  font-family: "Noto Serif TC", serif;
  font-size: 1.5rem;
  color: #333333;
  border-left: 5px solid #c5a47e;
  padding-left: 15px;
  margin-bottom: 30px;
  font-weight: 700;
}

.site-header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
}
.site-header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.site-header .logo img {
  height: 50px;
  width: auto;
}
.site-header .menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333333;
}
.site-header .main-nav ul {
  display: flex;
  gap: 30px;
}
.site-header .main-nav a {
  font-size: 1rem;
  color: #666666;
}
.site-header .main-nav a:hover {
  color: #c5a47e;
}
.site-header .main-nav a.active {
  color: #a83232;
}
@media (max-width: 1024px) {
  .site-header .main-nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .site-header .main-nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    text-align: center;
  }
  .site-header .main-nav.active {
    max-height: 400px;
  }
  .site-header .menu-toggle {
    display: block;
  }
}

.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  aspect-ratio: 1920/600;
  max-height: 600px;
}
.hero-carousel .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}
.hero-carousel .slide.active {
  opacity: 1;
}
.hero-carousel .hero-content {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-carousel .hero-title {
  font-family: "Noto Serif TC", serif;
  color: #fff;
  font-size: 3.5rem;
  line-height: 1.4;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}
.hero-carousel .hero-title .gold-text {
  color: #c5a47e;
  font-size: 1.2em;
  margin: 0 5px;
  font-style: italic;
}
@media (max-width: 1024px) {
  .hero-carousel .hero-title {
    font-size: 2.5rem;
  }
}
@media (max-width: 768px) {
  .hero-carousel .hero-title {
    font-size: 2rem;
  }
}
.hero-carousel .carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-carousel .carousel-dots .dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}
.hero-carousel .carousel-dots .dot.active {
  background: #fff;
}

.about-section {
  padding: 80px 0;
  background-color: #fff;
}
.about-section .about-card {
  background: #f0f0f0;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .about-section .about-card {
    flex-direction: column;
  }
}
.about-section {
  /* style.scss 替換這段 */
}
.about-section .about-image {
  flex: 0 0 40%;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}
.about-section .about-image .about-slider {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  /* CSS 神奇魔法：讓滾動時自動對齊（吸附）到圖片邊緣 */
  scroll-snap-type: x mandatory;
  /* 隱藏醜醜的底部捲軸 */
  scrollbar-width: none; /* Firefox */
}
.about-section .about-image .about-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
.about-section .about-image .about-slider {
  /* 🌟 新增這裡：當被 JS 加上 dragging 狀態時，暫時關閉吸附 */
}
.about-section .about-image .about-slider.dragging {
  scroll-snap-type: none;
  cursor: grabbing;
}
.about-section .about-image .about-slider img {
  flex: 0 0 100%; /* 讓每張圖片剛好佔滿 100% 的寬度 */
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  scroll-snap-align: center; /* 滑動時自動吸附到正中央 */
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none; /* 防止滑鼠拖曳時反白圖片 */
  pointer-events: none; /* 防止拖曳時觸發圖片原生的拖曳預設行為 */
}
.about-section .about-image .about-slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.about-section .about-image .about-slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}
.about-section .about-image .about-slider-dots .dot.active {
  background-color: #1a568c;
  width: 20px;
  border-radius: 4px;
}
@media (max-width: 1024px) {
  .about-section .about-image {
    height: 350px;
  }
}
.about-section .about-text {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-section .about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  text-align: justify;
  color: #000000;
  line-height: 34px; /* 188.889% */
  letter-spacing: 1.8px;
}
@media (max-width: 768px) {
  .about-section .about-text {
    padding: 30px;
  }
  .about-section .about-text p {
    font-size: 1rem;
  }
}

.services-section {
  padding: 60px 0 100px;
  background: #fdfdfd;
}
.services-section .services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 1024px) {
  .services-section .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .services-section .services-grid {
    grid-template-columns: 1fr;
  }
}
.services-section .service-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.services-section .service-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s;
}
.services-section .service-item:hover {
  transform: translateY(-5px);
}
.services-section .service-item .icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: rgb(244.4545454545, 238.4545454545, 231.5454545455);
  color: rgb(181.1818181818, 139.1818181818, 90.8181818182);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.services-section .service-item .text h3 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333333;
}
.services-section .service-item .text ul, .services-section .service-item .text p {
  font-size: 0.95rem;
  color: #666666;
  list-style: none;
}
.services-section .service-item .text li {
  margin-bottom: 5px;
  position: relative;
  padding-left: 10px;
}
.services-section .service-item .text li::before {
  content: "•";
  color: #c5a47e;
  position: absolute;
  left: 0;
}
.services-section.bg_bottom {
  position: relative;
}
.services-section.bg_bottom:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  background-image: url(../images/BG_bottom.png);
  background-repeat: no-repeat;
  width: 795px;
  height: 522px;
}

footer {
  position: relative;
  padding: 60px 0 20px;
  background: #fdfbf7;
  overflow: hidden;
}
footer .footer-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  z-index: 1;
}
footer .footer-bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: bottom;
     object-position: bottom;
}
footer .footer-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
@media (max-width: 1024px) {
  footer .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: left;
    align-items: flex-start;
  }
}
footer .footer-logo img {
  max-height: 60px;
}
footer .footer-info p {
  margin-bottom: 10px;
  color: #555;
  font-size: 0.95rem;
}
footer .footer-info p i {
  width: 20px;
  color: #c5a47e;
  text-align: center;
  margin-right: 10px;
}
footer .copyright {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #888;
}

.about-section {
  padding: 80px 0;
  background: #fff;
}
.about-section .about-card {
  background: #f0f0f0;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
}
@media (max-width: 1024px) {
  .about-section .about-card {
    flex-direction: column;
  }
}
.about-section .about-image {
  flex: 0 0 40%;
  min-height: 300px;
}
.about-section .about-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.about-section .about-text {
  flex: 1;
  padding: 50px;
}
.about-section .about-text p {
  margin-bottom: 20px;
  text-align: justify;
}
@media (max-width: 768px) {
  .about-section .about-text {
    padding: 30px;
  }
}

.sub-hero {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-bottom: 50px;
}
@media (max-width: 768px) {
  .sub-hero {
    height: 250px;
  }
}
.sub-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.sub-hero .hero-text {
  position: relative;
  z-index: 2;
}
.sub-hero .hero-text h1 {
  font-family: "Noto Serif TC", serif;
  font-size: 2.5rem;
  margin-bottom: 5px;
  letter-spacing: 2px;
}
.sub-hero .hero-text p {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.9;
}

.team-section {
  padding-top: 50px;
  padding-bottom: 100px;
  background: #fbfbfb;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.lawyer-card {
  display: block;
  background: transparent;
  cursor: pointer;
}
.lawyer-card:hover .card-img img {
  transform: scale(1.05);
}
.lawyer-card:hover .card-info {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.lawyer-card .card-img {
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.lawyer-card .card-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}
.lawyer-card .card-info {
  background: #fff;
  padding: 15px 20px;
  border-radius: 0 0 20px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}
@media (max-width: 768px) {
  .lawyer-card .card-info {
    flex-direction: row;
    justify-content: flex-start;
  }
}
.lawyer-card .badge {
  background: #c5a47e;
  color: #fff;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
  font-weight: 500;
  color: #3e3223;
}
.lawyer-card .name {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333333;
  margin: 0;
}

.profile-section {
  padding-bottom: 80px;
}

.profile-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #666666;
}
.profile-toolbar .breadcrumbs a {
  color: #666666;
}
.profile-toolbar .breadcrumbs a:hover {
  color: #333333;
}
.profile-toolbar .breadcrumbs span {
  color: #c5a47e;
  font-weight: bold;
}
.profile-toolbar .profile-nav-arrows {
  display: flex;
  gap: 10px;
}
.profile-toolbar .profile-nav-arrows a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}
.profile-toolbar .profile-nav-arrows a:hover {
  border-color: #c5a47e;
  color: #c5a47e;
}

.profile-header-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #eee;
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 1024px) {
  .profile-header-card {
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 30px;
  }
}
.profile-header-card .profile-img {
  flex: 0 0 280px;
  border-radius: 15px;
  overflow: hidden;
}
.profile-header-card .profile-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 768px) {
  .profile-header-card .profile-img {
    flex: 0 0 350px;
    width: 100%;
    height: auto;
  }
  .profile-header-card .profile-img img {
    -o-object-position: top center;
       object-position: top center;
  }
}
.profile-header-card .profile-basic-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.profile-header-card .profile-basic-info .p-name {
  font-family: "Noto Serif TC", serif;
  font-size: 2.2rem;
  color: #c5a47e;
  margin-bottom: 5px;
}
.profile-header-card .profile-basic-info .p-title {
  font-size: 1.1rem;
  color: #666;
  padding-bottom: 20px;
  display: inline-block;
}
.profile-header-card .profile-basic-info .p-line {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
  display: inline-block;
}
.profile-header-card .profile-basic-info .p-grid-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 768px) {
  .profile-header-card .profile-basic-info .p-grid-info {
    grid-template-columns: 1fr;
  }
}
.profile-header-card .profile-basic-info .p-grid-info .info-group h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333333;
}
.profile-header-card .profile-basic-info .p-grid-info .info-group ul li {
  font-size: 0.95rem;
  color: #666666;
  margin-bottom: 5px;
}

.profile-body-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 1024px) {
  .profile-body-grid {
    grid-template-columns: 1fr;
  }
}
.profile-body-grid .body-col {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid #eee;
}
.profile-body-grid .content-title {
  font-family: "Noto Serif TC", serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c5a47e;
  display: inline-block;
}
.profile-body-grid .ul-list-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 1024px) {
  .profile-body-grid .ul-list-group {
    grid-template-columns: 1fr;
  }
}
.profile-body-grid ul li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}
.profile-body-grid .check-list li::before {
  content: "✓";
  color: #c5a47e;
  margin-right: 8px;
  font-weight: bold;
}
.profile-body-grid .simple-list li {
  border-bottom: 1px dashed #eee;
  padding-bottom: 5px;
}
.profile-body-grid .simple-list li:last-child {
  border: none;
}

.profile-footer-block {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid #eee;
  margin-bottom: 30px;
}
.profile-footer-block .content-title {
  font-family: "Noto Serif TC", serif;
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #333333;
  border-left: 4px solid #c5a47e;
  padding-left: 10px;
  padding-bottom: 0;
}
.profile-footer-block .content-title2 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c5a47e;
  display: inline-block;
}

.bullet-list {
  padding-left: 20px;
  list-style-type: disc;
}
.bullet-list li {
  margin-bottom: 8px;
  color: #666666;
}
.bullet-list li::marker {
  color: #c5a47e;
}

footer {
  padding: 60px 0 20px;
  background: #fdfbf7;
  border-top: 1px solid #eee;
}
footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
@media (max-width: 1024px) {
  footer .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}
footer .footer-logo img {
  max-height: 60px;
}
footer .footer-info p {
  margin-bottom: 8px;
  color: #555;
  font-size: 0.9rem;
}
footer .copyright {
  text-align: center;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #888;
}

.cases-section {
  padding-top: 50px;
  padding-bottom: 100px;
  background-color: #f8f9fa;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}
@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}
.case-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.case-card:hover .view-more {
  color: #c5a47e;
}
.case-card:hover .view-more i {
  transform: translateX(5px);
}
.case-card .card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.case-card .card-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}
.case-card .card-img .case-tag {
  display: none;
  position: absolute;
  bottom: 15px;
  left: 20px;
  background: #c5a47e;
  color: #fff;
  font-size: 0.85rem;
  padding: 5px 12px;
  border-radius: 4px;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.case-card:hover .card-img img {
  transform: scale(1.05);
}
.case-card .card-content {
  flex: 1;
  padding: 25px;
  display: flex;
  flex-direction: column;
}
.case-card .card-content .case-title {
  font-family: "Noto Serif TC", serif;
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #333333;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-card .card-content .case-desc {
  font-size: 0.95rem;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-card .card-content .view-more {
  font-size: 0.9rem;
  font-weight: 700;
  color: #333333;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.case-card .card-content .view-more i {
  transition: transform 0.3s;
}

.cases-section {
  padding-bottom: 100px;
  background-color: #f8f9fa;
}

.case-filter {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}
@media (max-width: 1024px) {
  .case-filter {
    gap: 5px;
    margin-bottom: 20px;
  }
}
.case-filter li a {
  display: block;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 50px;
  color: #666666;
  background: #fff;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.case-filter li a:hover, .case-filter li a.active {
  background: #c5a47e;
  color: #fff;
  border-color: #c5a47e;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(197, 164, 126, 0.3);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

.case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}
.case-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.case-card:hover .btn-view-more {
  background: #333333;
}
.case-card .card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.case-card .card-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}
.case-card .card-img .case-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.8rem;
  padding: 3px 10px;
}
.case-card:hover .card-img img {
  transform: scale(1.05);
}
.case-card .card-content {
  flex: 1;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.case-card .card-content .case-title {
  font-family: "Noto Serif TC", serif;
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #333333;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-card .card-content .case-desc {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 25px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-card .card-content .btn-view-more {
  display: block;
  width: 100%;
  padding: 12px 0;
  background: #c5a47e;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: background 0.3s;
  margin-top: auto;
}

.case-detail-section {
  padding-bottom: 100px;
  background: #fff;
}

.breadcrumbs-toolbar {
  margin-bottom: 40px;
  padding-bottom: 15px;
  padding-top: 20px;
  border-bottom: 1px solid #eee;
}
.breadcrumbs-toolbar .breadcrumbs {
  font-size: 0.9rem;
  color: #666666;
}
.breadcrumbs-toolbar .breadcrumbs a:hover {
  color: #c5a47e;
}
.breadcrumbs-toolbar .breadcrumbs span {
  color: #333333;
  font-weight: 500;
}

.article-container-full {
  max-width: 900px;
  margin: 0 auto;
}
.article-container-full .article-header {
  text-align: center;
  margin-bottom: 40px;
}
.article-container-full .article-header .article-tag {
  display: inline-block;
  background: rgb(244.4545454545, 238.4545454545, 231.5454545455);
  color: rgb(170.0454545455, 126.5454545455, 76.4545454545);
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 15px;
}
.article-container-full .article-header .article-title {
  font-family: "Noto Serif TC", serif;
  font-size: 1.7rem;
  margin-bottom: 15px;
  line-height: 1.3;
}
.article-container-full .article-header .article-meta {
  justify-content: center;
  font-size: 0.9rem;
  color: #888;
  display: flex;
  gap: 20px;
}
.article-container-full .article-header .article-meta i {
  color: #c5a47e;
  margin-right: 5px;
}
.article-container-full .article-feature-img {
  width: 100%;
  margin-bottom: 50px;
  border-radius: 10px;
  overflow: hidden;
}
.article-container-full .article-feature-img img {
  width: 100%;
  height: auto;
  display: block;
}
.article-container-full .article-body.rich-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}
.article-container-full .article-body.rich-text h3 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.5rem;
  margin: 40px 0 20px;
}
.article-container-full .article-body.rich-text a {
  color: #1a568c;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(26, 86, 140, 0.4);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}
.article-container-full .article-body.rich-text a:hover {
  color: #0d3254;
  border-bottom-color: #0d3254;
  background-color: rgba(26, 86, 140, 0.05);
}
.article-container-full .article-body.rich-text p {
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}
.article-container-full .article-body.rich-text ul {
  margin-bottom: 25px;
  padding-left: 20px;
  list-style: disc;
}
.article-container-full .article-body.rich-text ol {
  margin-bottom: 25px;
  padding-left: 20px;
  list-style: decimal;
}
.article-container-full .article-body.rich-text blockquote {
  margin: 40px 0;
  padding: 30px;
  background: #f9f9f9;
  border-top: 2px solid #c5a47e;
  border-bottom: 2px solid #c5a47e;
  font-family: "Noto Serif TC", serif;
  font-size: 1.2rem;
  text-align: center;
}
.article-container-full .article-nav-buttons {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 30px;
}
@media (max-width: 768px) {
  .article-container-full .article-nav-buttons {
    flex-direction: column;
  }
}
.article-container-full .article-nav-buttons a {
  flex: 1;
  padding: 25px;
  background: #f8f8f8;
  border-radius: 10px;
  transition: all 0.3s;
  text-align: left;
}
.article-container-full .article-nav-buttons a span {
  display: block;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 8px;
}
.article-container-full .article-nav-buttons a p {
  font-family: "Noto Serif TC", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333333;
  margin: 0;
}
.article-container-full .article-nav-buttons a:hover {
  background: #c5a47e;
}
.article-container-full .article-nav-buttons a:hover p, .article-container-full .article-nav-buttons a:hover span {
  color: #fff;
}
.article-container-full .article-nav-buttons a.next-article {
  text-align: right;
}

.article-feature-img.multiple-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.article-feature-img.multiple-images img {
  border-radius: 10px;
  margin-bottom: 0;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.article-feature-img.multiple-images img:first-child:nth-last-child(odd) {
  grid-column: 1/-1;
  max-height: 500px;
  width: 100%;
}
@media (max-width: 768px) {
  .article-feature-img.multiple-images {
    grid-template-columns: 1fr;
  }
  .article-feature-img.multiple-images img {
    height: auto;
    max-height: none;
  }
}

/* 分頁器樣式 */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  gap: 10px;
  flex-wrap: wrap;
}
.pagination-container .page-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #666;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.pagination-container .page-link:hover {
  background-color: #f5f5f5;
  color: #1a568c;
  border-color: #1a568c;
}
.pagination-container .page-link.active {
  background-color: #1a568c;
  color: #fff;
  border-color: #1a568c;
  cursor: default;
}
.pagination-container .page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-weight: bold;
  padding: 0 5px;
  letter-spacing: 2px;
}

/* 修正捲動時被 Header 擋住的問題 */
#news-container {
  scroll-margin-top: 120px;
}

/* 如果案例分享 #cases-container 未來也有分頁，也可以一起加上 */
#cases-container {
  scroll-margin-top: 120px;
}

/* =========================================
   浮動 QR Code 樣式 (Floating QR Code)
   ========================================= */
.floating-qrcode {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #fff;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}
.floating-qrcode:hover {
  transform: translateY(-5px);
}
.floating-qrcode .qr-label {
  display: block;
  font-size: 14px;
  color: #1a568c;
  font-weight: bold;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.floating-qrcode img {
  width: 100px;
  height: 100px;
  -o-object-fit: contain;
     object-fit: contain;
}
.floating-qrcode {
  /* 關閉按鈕樣式 */
}
.floating-qrcode .close-qr {
  position: absolute;
  top: -10px;
  left: -10px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s;
}
.floating-qrcode .close-qr:hover {
  background-color: #d9534f;
}
.floating-qrcode {
  /* 手機版微調 */
}
@media (max-width: 768px) {
  .floating-qrcode {
    bottom: 20px;
    right: 20px;
  }
  .floating-qrcode img {
    width: 80px;
    height: 80px;
  }
}

/* 當 body 被加上 hide-qr 標籤時，強制隱藏 QR Code */
body.hide-qr .floating-qrcode {
  display: none !important;
}/*# sourceMappingURL=style.css.map */