 .pagetitle {
    font-size: 2rem; 
    font-weight: 800; 
    margin-bottom: 0.5rem;
    font-family: "Times New Roman";
    letter-spacing: 0.2em;
    text-align: left;
  }

  .p1content{
    font-size: 1rem; 
    color: #444;
    font-weight: 500; 
    font-family: "Times New Roman";
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    line-height: 2;
    margin:1% 5%;
    text-align: left;
  }

  .p2content{
    font-size: 0.9rem; 
    color: #444;
    font-family: "Times New Roman";
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    line-height: 2;
    text-align: left;

  }


  /* IG 區塊 */
  .swiper-slide .caption {
    font-size: 0.85rem;
    margin-top: 0.4rem;
    color: #111;
  }

  .img-wrapper {
    position: relative;
    overflow: hidden;
  }

  .img-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
  }

  .img-wrapper:hover img {
    transform: scale(1.05);
  }

  .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明遮罩 */
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    pointer-events: none; /* 讓遮罩不阻擋點擊 */
  }

  .img-wrapper:hover .overlay {
    opacity: 1;
  }

  .ig-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    pointer-events: none; /* 讓icon不阻擋點擊 */
  }

  /* 按鈕：只留一組，字元用 < 和 >，改成白色 */
  .custom-prev,
  .custom-next {
    color: white;
    width: 40px;
    height: 40px;
    font-size: 2rem;
    line-height: 40px;
    text-align: center;
    user-select: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
  }

  .custom-prev {
    left: 8px;
  }

  .custom-next {
    right: 8px;
  }

  @media (max-width: 767px) {
    .custom-prev,
    .custom-next {
      display: none !important;
    }
  }