/* 消息內頁 */

.card_contant {
  background: #fff;
  border-radius: 35px;
  text-align: center;
  margin-top: 5%;
  padding: 0 12px;
}

.text_group {
  max-width: 900px;
  margin: 0 auto;
  padding: 4% 0;
}

.card-title-contant {
  font-family: "ar-fangxinshuh7b5std", sans-serif;
  color: #595757;
  font-size: 40px;
  font-weight: 700;
  margin: 3% 0;
  text-align: left;
}
.card-img {
  border-radius: 35px;
  margin-top: 3%;
}

.card-date-contant {
  color: #595757;
  font-size: 16px;
  text-align: left;
  margin: 3% 0;
  font-weight: 700;
}

.card-desc-contant {
  color: #333;
  font-size: 20px;
  margin-top: 8px;
  line-height: 1.7;
  height: 50px;
  text-align: left;
  display: inline-block;
  margin-top: 2%;
  text-indent: 2em;
}
/* 手機板 */
@media screen and (max-width: 768px) {
  .pd-3 {
    padding-bottom: 12%;
  }
  .card_contant {
    border-radius: 10px;
  }
  .text_group {
    padding: 6% 4%;
  }
  .card-img {
    border-radius: 10px;
  }
  .card-title-contant {
    font-size: 32px;
  }
  .card-desc-contant {
    font-size: 14px;
  }
}

/* /消息內頁 */

/* 創作者內頁 */

.d-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5%;
}

.ip_text_group {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5% 0;
}

.logo_block {
  display: block;
  margin-bottom: 2%;
}

.text_introduce {
  max-width: 480px;
  height: auto;
  color: #595757;
  line-height: 1.5;
  font-size: 20px;
  font-weight: 700;
  text-align: left;
}

.social_icon {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 3%;
  a {
    margin-right: 10px;
  }
}

.information_ip {
  font-size: 20px;
  padding: 15px 20px;
  background-color: #f9b946;
  border-radius: 50px;
  color: #fff;
  font-weight: 700;
}
.information_ip:hover {
  background-color: #fda128;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.photo_group {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding-bottom: 100px;
  img {
    border-radius: 35px;
  }
}
.photo_group img {
  width: 100%;
  max-width: 33%;
  height: auto;
}
.dotted-line {
  border: none;
  border-top: 5px dotted #d3d3d3;
  max-width: 1150px;
  margin: 0 auto;
}
.yt_frame {
  margin: 100px 0;
  max-width: 100%; /* 讓 iframe 不超過父容器 */
  height: auto;
  aspect-ratio: 16 / 9; /* 維持 16:9 比例 */
}

/* 最後一段圖片 */
.pc_list {
  margin: 70px 0;
}

.sm_list {
  margin: 40px 0;
}

.image-grid {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr; /* 左邊大圖 2 倍寬，右邊 1 倍寬 */
  gap: 10px;
  align-items: center;
}

.image-grid .large {
  width: 100%; /* 左邊大圖佔滿區塊 */
  height: 100%;
  object-fit: cover; /* 確保圖片填滿區域 */
}

.small-images {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.small-images img {
  width: 100%; /* 讓小圖片寬度適應 */
  height: auto;
}
.bottom_img {
  padding-bottom: 30px;
}

/* 手機板 */

@media screen and (max-width: 768px) {
  .profile_photo {
    width: 70%;
  }
  .logo_block {
    width: 90%;
  }

  .photo_group {
    padding-bottom: 50px;
    img {
      max-width: 90%;
    }
  }

  .sm_none {
    display: none;
  }
  .d-flex {
    flex-direction: column-reverse;
    flex-wrap: wrap;
  }
  .logo_block,
  .text_introduce,
  .social_icon {
    margin: 4%;
  }
  .yt_frame {
    margin: 50px 0;
  }

  .social_icon {
    justify-content: center;
  }
}
