/* ============================================================
   涵遠資本 FARSIGHT CAPITAL — 站點共享樣式（site.css）
   全站導航連結、表單控件、語言切換與交互元素統一定義
   ============================================================ */

/* ---------- 大屏流式自適應：全寬鋪開，各內容層統一 80px 邊距 ---------- */
/* 響應式體系以 1440 為邊距基準；>1440 時各層內聯大 padding 不一致會參差，
   此處全域統一為 80px（手機端的更小邊距由 responsive.css 後段覆蓋） */
.frame-content-1_982,
.frame-content-1_1007,
.frame-content-1_1024,
.frame-content-1_1057,
.frame-content-1_1084,
.frame-content-1_1126,
.frame-content-1_1172,
.frame-content-1_1157,
.frame-content-1_177,
.frame-content-1_205,
.frame-content-1_213,
.frame-content-1_292,
.frame-content-1_333,
.frame-content-1_385,
.frame-content-1_449,
.frame-content-1_490,
.frame-content-1_416,
.frame-content-1_438,
.frame-content-1_528,
.frame-content-1_605,
.frame-content-1_550,
.frame-content-1_590,
.frame-content-1_575,
.frame-content-1_736,
.frame-content-1_752,
.frame-content-1_682,
.frame-content-1_705,
.frame-content-1_743,
.frame-content-1_746,
.frame-content-1_773,
.frame-content-1_798,
.frame-content-1_805,
.frame-content-1_815,
.frame-content-1_938,
.frame-content-1_823,
.frame-content-1_851,
.frame-content-1_882,
.frame-content-1_905,
.frame-content-1_951,
.frame-content-1_3,
.frame-content-1_30,
.frame-content-1_38,
.frame-content-1_90,
.frame-content-1_153,
.frame-content-1_105 {
  padding-left: 80px !important;
  padding-right: 80px !important;
}

/* ---------- 關於我們頁段落垂直間距壓緊（原 104px 上下留白過大，全端統一 48px） ---------- */
.frame-content-1_805,
.frame-content-1_815,
.frame-content-1_823,
.frame-content-1_851,
.frame-content-1_882,
.frame-content-1_905 {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

@media (max-width: 820px) {

  /* 尾部 CTA 區圖片：手機端完整顯示（原壓成 24px 細條，只露出一條畫面） */
  .hanyuan-rectangle-1_937 {
    width: 100% !important;
    max-width: 480px !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    flex: 0 0 auto !important;
    background-size: cover;
    background-position: center;
  }

  /* 01 區大標語兩行（立足台灣，/以全球視野思考。）手機端零間距 */
  .hanyuan-paragraph-1_810_0,
  .hanyuan-paragraph-1_810_1 {
    line-height: 1 !important;
    margin: 0 !important;
  }
}

/* ---------- 錨點與導航 ---------- */
html {
  scroll-behavior: smooth;
}

p[id] {
  scroll-margin-top: 32px;
}

a.hy-link,
a.hy-btn-link {
  color: inherit;
  text-decoration: none;
}

a.hy-link {
  display: block;
}

a.hy-btn-link {
  position: relative;
  display: block;
}

/* 關於我們頁「企業動態」底部：閱讀更多按鈕 */
.hy-news-more {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border: 1px solid rgba(190, 167, 122, 1);
  color: rgba(17, 28, 36, 1);
  font-family: "Noto Sans TC-Regular";
  font-size: 15px;
  line-height: 1;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hy-news-more:hover {
  background-color: rgba(190, 167, 122, 1);
  color: #fff;
}

/* 擴大按鈕型連結的可點擊範圍（受外層 overflow 裁切） */
a.hy-btn-link::after {
  content: "";
  position: absolute;
  inset: -40px;
}

/* ---------- 品牌標誌返回首頁 ---------- */
[data-home] {
  cursor: pointer;
}

/* ---------- 表單控件 ---------- */
.hy-input,
.hy-select,
.hy-textarea {
  width: 100%;
  height: auto;
  box-sizing: border-box;
  display: block;
  margin: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 14px;
  letter-spacing: 0em;
  line-height: 1.7;
  color: rgba(39, 50, 57, 1);
}

.hy-input::placeholder,
.hy-textarea::placeholder {
  color: rgba(176, 181, 179, 1);
}

.hy-select {
  appearance: none;
  -webkit-appearance: none;
  flex: 1 1 auto;
  min-width: 0;
  cursor: pointer;
}

.hy-textarea {
  height: 100%;
  resize: none;
}

.hy-btn {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  white-space: pre;
}

/* ---------- 需求表單：提交按鈕與類型選項 ---------- */
.hy-submit-btn {
  cursor: pointer;
}

.hy-choice {
  cursor: pointer;
}

.hy-choice .hy-radio-ring {
  border-color: rgba(200, 196, 187, 1) !important;
}

.hy-choice.is-selected .hy-radio-ring {
  border-color: rgba(190, 167, 122, 1) !important;
}

.hy-radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(190, 167, 122, 1);
  display: none;
  flex-shrink: 0;
}

.hy-choice.is-selected .hy-radio-dot {
  display: block;
}

/* ---------- 頁尾電子郵件訂閱 ---------- */
.hy-subscribe-input,
.hy-subscribe-submit {
  cursor: pointer;
}

/* ---------- 語言切換（繁中 / EN） ---------- */
.hy-lang-btn {
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.hy-lang-btn.is-active {
  color: rgba(216, 197, 158, 1);
  opacity: 1;
}

.hy-lang-btn:not(.is-active) {
  opacity: 0.55;
}

.hy-lang-btn:hover {
  opacity: 1;
}

/* ---------- 頂部導航二級菜單（body 掛載 + fixed 定位，避免被 overflow 裁切） ---------- */
.hy-nav-drop-menu {
  position: fixed;
  transform: translateX(-50%) translateY(6px);
  min-width: 150px;
  padding: 8px 0;
  background: rgba(247, 245, 240, 0.98);
  border: 1px solid rgba(216, 213, 204, 1);
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(13, 23, 31, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 9000;
}

.hy-nav-drop-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.hy-nav-drop-menu a {
  display: block;
  padding: 10px 18px;
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(39, 50, 57, 1);
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.hy-nav-drop-menu a:hover {
  color: rgba(154, 123, 57, 1);
  background: rgba(190, 167, 122, 0.08);
}

/* 手機端（折疊導航）不顯示 hover 下拉，二級連結由漢堡菜單內子項承擔 */
@media (max-width: 820px) {
  .hy-nav-drop-menu {
    display: none;
  }
}

/* 手機端漢堡菜單二級連結（縮進小字，跟隨一級項之後） */
.hy-mm-sub {
  display: flex;
  flex-direction: column;
  margin: 2px 0 6px 24px;
  border-left: 1px solid rgba(190, 167, 122, 0.4);
}

.hy-mm-sub a {
  padding: 9px 16px;
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(196, 201, 200, 1);
  text-decoration: none;
}

.hy-mm-sub a:active,
.hy-mm-sub a:hover {
  color: rgba(216, 197, 158, 1);
}

/* ---------- 提示訊息 ---------- */
#hy-toast {
  position: fixed;
  left: 50%;
  top: 88px;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  text-align: center;
  line-height: 1.5;
  background: rgba(13, 23, 31, 0.92);
  color: rgba(247, 245, 240, 1);
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 14px 28px;
  border-radius: 2px;
  border: 1px solid rgba(190, 167, 122, 0.5);
  box-shadow: 0 8px 28px rgba(13, 23, 31, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

#hy-toast.is-visible {
  opacity: 1;
}

/* ---------- 文章卡片與彈窗詳情 ---------- */
.hy-article-card {
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.hy-article-card:hover {
  box-shadow: 0 6px 24px rgba(13, 23, 31, 0.18);
}

/* 去動效卡（洞察頁四號文字卡）：無 hover 陰影，點擊仍開詳情彈窗 */
.hy-article-card.no-hover-effect,
.hy-article-card.no-hover-effect:hover {
  box-shadow: none !important;
}

/* 投資知識條目右上角小正方形圖框（文章封面；條目為豎排卡，絕對定位不佔排版流） */
.hy-know-thumb {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  background-size: cover;
  background-position: center;
  background-color: rgba(13, 26, 36, 1);
  border: 1px solid rgba(232, 229, 222, 1);
  border-radius: 2px;
  box-sizing: border-box;
  z-index: 1;
}

.hy-know-thumb.is-empty {
  background-image: linear-gradient(135deg, rgba(13, 26, 36, 1), rgba(58, 71, 80, 1));
}

@media (max-width: 820px) {
  .hy-know-thumb {
    width: 48px;
    height: 48px;
    top: 16px;
    right: 14px;
  }
}

.hy-modal {
  position: fixed;
  inset: 0;
  background: rgba(13, 23, 31, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  z-index: 10000;
  animation: hy-fade 0.2s ease;
}

@keyframes hy-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hy-modal-box {
  background: rgba(247, 245, 240, 1);
  max-width: 720px;
  width: 100%;
  max-height: 84vh;
  overflow-y: auto;
  padding: 44px 48px 40px;
  border-radius: 3px;
  border-top: 2px solid rgba(190, 167, 122, 1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  position: relative;
}

/* 彈窗封面圖：等比完整顯示（不裁切），點擊可放大 */
.hy-modal-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 56vh;
  object-fit: contain;
  margin: -10px auto 16px;
  border-radius: 2px;
  background: rgba(232, 229, 222, 1);
  cursor: zoom-in;
}

.hy-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: rgba(105, 113, 111, 1);
  cursor: pointer;
}

.hy-modal-close:hover {
  color: rgba(13, 23, 31, 1);
}

.hy-modal-kicker {
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(190, 167, 122, 1);
  margin-bottom: 12px;
}

.hy-modal-title {
  font-family: "Noto Sans TC-Medium", "Noto Sans TC", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: rgba(17, 28, 36, 1);
  line-height: 1.4;
  margin: 0 40px 18px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(232, 229, 222, 1);
}

.hy-modal-body p {
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(39, 50, 57, 1);
  margin: 0 0 14px;
  text-align: left;
}

@media (max-width: 640px) {
  .hy-modal-box { padding: 28px 22px; }
  .hy-modal-title { font-size: 19px; margin-right: 24px; }
}

/* ---------- 文章列表彈窗與分頁 ---------- */
.hy-modal-list .hy-list {
  margin-top: 6px;
}

.hy-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(232, 229, 222, 1);
  padding: 15px 6px;
  cursor: pointer;
  font: inherit;
  color: rgba(39, 50, 57, 1);
  transition: background 0.15s ease, padding-left 0.15s ease;
}

.hy-list-item:hover {
  background: rgba(190, 167, 122, 0.08);
  padding-left: 12px;
}

.hy-list-num {
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(190, 167, 122, 1);
}

.hy-list-title {
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
}

.hy-list-arrow {
  color: rgba(190, 167, 122, 1);
  font-size: 16px;
}

.hy-list-empty {
  padding: 26px 6px;
  color: rgba(139, 148, 158, 1);
  font-size: 14px;
}

.hy-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}

.hy-pager button {
  background: transparent;
  border: 1px solid rgba(216, 213, 204, 1);
  border-radius: 2px;
  padding: 8px 18px;
  font: inherit;
  font-size: 13px;
  color: rgba(39, 50, 57, 1);
  cursor: pointer;
}

.hy-pager button:hover:not(:disabled) {
  border-color: rgba(190, 167, 122, 1);
  color: rgba(154, 123, 57, 1);
}

.hy-pager button:disabled {
  opacity: 0.35;
  cursor: default;
}

.hy-pager-info {
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(105, 113, 111, 1);
}

/* ---------- 第五篇起的研究文章附加卡 ---------- */
.hy-extra-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.hy-extra-card {
  flex: 1 1 30%;
  min-width: 260px;
  min-height: 300px;
  background-color: rgba(13, 26, 36, 1);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(190, 167, 122, 0.19);
  border-radius: 2px;
  padding: 200px 28px 24px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  transition: box-shadow 0.2s ease;
}

.hy-extra-card:hover {
  box-shadow: 0 8px 26px rgba(13, 23, 31, 0.28);
}

.hy-extra-tag {
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(190, 167, 122, 1);
}

.hy-extra-title {
  font-family: "Noto Sans TC-Medium", "Noto Sans TC", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(247, 245, 240, 1);
}

.hy-extra-desc {
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(168, 176, 175, 1);
}

/* ---------- 關於頁區塊標題配色 ---------- */
/* 區塊標題統一品牌金（與序號同色，深淺底皆可讀；含企業動態列表頁標題） */
#hy-st-1,
#hy-st-2,
#hy-st-3,
#hy-st-4,
#hy-news-title {
  color: rgba(190, 167, 122, 1) !important;
}

/* ---------- 企業動態列表頁（news.html，關於我們體系） ---------- */
#hy-news-sec .hy-rp-tabs,
#hy-news-sec .hy-rp-count,
#hy-news-sec .hy-coll-grid {
  width: 100%;
}

#hy-news-sec .hy-coll-grid {
  margin-top: 4px;
}

/* ---------- 聯絡頁頁尾留言表單（依參考圖：邊框式三欄位＋通欄提交鈕） ---------- */
.hy-foot-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.hy-foot-form .hy-input,
.hy-foot-form .hy-textarea {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid rgba(216, 213, 204, 0.6);
  border-radius: 4px;
  padding: 12px 14px;
  line-height: 1.6;
  color: rgba(247, 245, 240, 1);
}

.hy-foot-form .hy-input::placeholder,
.hy-foot-form .hy-textarea::placeholder {
  color: rgba(176, 181, 179, 1);
}

.hy-foot-form .hy-textarea {
  min-height: 92px;
  resize: vertical;
}

.hy-foot-form .hy-foot-submit {
  width: 100%;
  background: rgba(190, 167, 122, 1);
  color: rgba(255, 255, 255, 1);
  border: 0;
  border-radius: 4px;
  padding: 13px 0;
  font-family: "Noto Sans TC-Medium", "Noto Sans TC", sans-serif;
  font-size: 15px;
  letter-spacing: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.hy-foot-form .hy-foot-submit:hover {
  background: rgba(176, 151, 102, 1);
}

/* 其他聯繫方式圖標（竖排，置於頁尾中部空白區） */
.hy-foot-icons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0 auto;
  align-self: flex-start;
  min-height: 0;
}

.hy-foot-icons-title {
  margin: 0 0 2px;
  font-family: "Noto Sans TC-Medium", "Noto Sans TC", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(176, 181, 179, 1);
}

.hy-foot-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(247, 245, 240, 1);
  text-decoration: none;
  transition: color 0.15s ease;
}

.hy-foot-icon svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.hy-foot-icon:hover {
  color: rgba(190, 167, 122, 1);
}

/* 頁尾表單區拓寬並往頁面中間靠攏（原訂閱條 300px 貼右緣） */
.hanyuan-frame-1_1191 {
  width: 360px !important;
  margin-left: -60px;
}

/* 手機端重置左移與固定寬（頁尾改為單列布局，滿寬顯示不裁切） */
@media (max-width: 820px) {
  .hanyuan-frame-1_1191 {
    width: 100% !important;
    margin-left: 0 !important;
  }
}

/* ---------- 頂欄 / 頁尾 LOGO（全站統一） ---------- */
/* 兩處共用同一張圖（白字 + 金色橋），不加反白濾鏡，保留橋的金色 */
.hanyuan-frame-1_417,
.hanyuan-frame-1_1175 {
  background-image: url(../image/8170449e698ead4cdc61e3dce966762f674cccd0.png) !important;
  background-color: transparent !important;
  opacity: 1;
}

/* 頁尾深色底上「聯繫方式」文字用米白保證可讀 */
.hanyuan-paragraph-1_1192 {
  color: rgba(247, 245, 240, 1) !important;
}

/* ---------- 團隊頁成員頭像（圓形，等比縮放裁切） ---------- */
.hy-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(190, 167, 122, 0.55);
  box-sizing: border-box;
}

.hy-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .hy-avatar {
    width: 52px;
    height: 52px;
  }
}

/* ---------- 洞察頁篩選 tab ---------- */
.hy-filter-active {
  color: rgba(190, 167, 122, 1) !important;
}

.hy-hidden {
  display: none !important;
}

/* ---------- 彈窗正文插圖（長圖文 [img:圖片地址]） ---------- */
.hy-modal-figure {
  margin: 6px 0 16px;
}

.hy-modal-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  cursor: zoom-in;
}

/* ---------- 圖片放大檢視（點擊彈窗圖片後） ---------- */
.hy-zoom {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(13, 23, 31, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}
.hy-zoom img {
  max-width: 94vw;
  max-height: 90vh;
  object-fit: contain;
  transform-origin: center center;
  will-change: transform;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}
.hy-zoom.is-zoomed img { cursor: grab; }
.hy-zoom.is-dragging img { cursor: grabbing; }
.hy-zoom-close {
  position: absolute;
  top: 14px;
  right: 20px;
  z-index: 2;
  background: none;
  border: 0;
  font-size: 30px;
  line-height: 1;
  color: rgba(247, 245, 240, 0.85);
  cursor: pointer;
}
.hy-zoom-close:hover { color: rgba(255, 255, 255, 1); }
.hy-zoom-tip {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(196, 201, 200, 0.75);
  pointer-events: none;
  white-space: nowrap;
}

/* ---------- 彈窗底部「合集」卡片（小紅書式） ---------- */
.hy-modal-collection {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 22px;
  padding: 12px 14px;
  background: rgba(190, 167, 122, 0.08);
  border: 1px solid rgba(190, 167, 122, 0.35);
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 0.15s ease;
}

.hy-modal-collection:hover {
  background: rgba(190, 167, 122, 0.16);
}

.hy-coll-thumb {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(232, 229, 222, 1);
}

.hy-coll-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hy-coll-bar-main {
  flex: 1;
  min-width: 0;
}

.hy-coll-bar-title {
  display: block;
  font-family: "Noto Sans TC-Medium", "Noto Sans TC", sans-serif;
  font-size: 15px;
  color: rgba(39, 50, 57, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hy-coll-bar-sub {
  display: block;
  margin-top: 3px;
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(105, 113, 111, 1);
}

.hy-coll-bar-arrow {
  color: rgba(190, 167, 122, 1);
  font-size: 20px;
  line-height: 1;
}

/* ---------- 慕遠專欄視頻位 ---------- */
.hy-column-video {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 390px;
  background: #000;
  border-radius: 2px;
  overflow: hidden;
}

.hy-column-video video,
.hy-column-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: contain;
}

@media (max-width: 820px) {
  .hy-column-video {
    max-height: none;
  }
}

/* ---------- 彈窗內文章視頻 ---------- */
.hy-modal-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: -10px 0 18px;
  background: #000;
  border-radius: 2px;
  overflow: hidden;
}

.hy-modal-video video,
.hy-modal-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: contain;
}

/* 視頻中央播放按鈕（播放/暫停時自動隱藏/顯示） */
.hy-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(216, 197, 158, 0.75);
  border-radius: 50%;
  background: rgba(13, 23, 31, 0.55);
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.hy-video-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}

.hy-video-play:hover {
  background: rgba(13, 23, 31, 0.78);
  transform: translate(-50%, -50%) scale(1.06);
}

.hy-video-play.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ---------- 合集詳情彈窗 ---------- */
.hy-coll-page {
  max-width: 860px;
}

.hy-coll-page-cover {
  margin: -10px 0 18px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(232, 229, 222, 1);
}

.hy-coll-page-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
}

.hy-coll-page-kicker {
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(190, 167, 122, 1);
  margin-bottom: 10px;
}

.hy-coll-page-title {
  font-family: "Noto Sans TC-Medium", "Noto Sans TC", sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(17, 28, 36, 1);
  margin: 0 40px 10px 0;
}

.hy-coll-page-desc {
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(85, 95, 101, 1);
  margin: 0 0 12px;
}

.hy-coll-page-meta {
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(154, 123, 57, 1);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(232, 229, 222, 1);
}

.hy-coll-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 16px;
  margin-top: 20px;
}

.hy-coll-note {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.hy-coll-note-cover {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(232, 229, 222, 1);
}

.hy-coll-note-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.hy-coll-note:hover .hy-coll-note-cover img {
  transform: scale(1.03);
}

.hy-coll-note-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(39, 50, 57, 1);
}

.hy-coll-note-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(105, 113, 111, 1);
}

@media (max-width: 640px) {
  .hy-coll-page-title {
    font-size: 20px;
    margin-right: 24px;
  }
  .hy-coll-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }
  .hy-coll-thumb {
    width: 40px;
    height: 40px;
  }
}

/* ---------- 研究列表頁（research.html）：板塊 tabs（版式框架複用洞察頁段落樣式） ---------- */
/* 原段落框架 min-height:1714px（洞察頁三大塊的高度），列表頁內容少會撐出大片空白，改為內容自適應 */
#hy-rp-sec {
  min-height: 0 !important;
}

/* 首屏適度收緊：hero 600→480（右側 K 線圖/羅盤裝飾保留完整比例，不被壓扁裁切），
   段落頂部留白 96→48，內容整體上移（研究列表頁 + 洞察頁共用） */
.hy-rp-page .hanyuan-frame-1_572,
.hy-rp-page .frame-content-1_572,
.hy-rp-page [id="1_575"],
.hy-rp-page .frame-content-1_575,
.hy-insights-page .hanyuan-frame-1_572,
.hy-insights-page .frame-content-1_572,
.hy-insights-page [id="1_575"],
.hy-insights-page .frame-content-1_575 {
  height: 480px !important;
  min-height: 0 !important;
}

.hy-rp-page #hy-rp-sec .frame-content-1_605 {
  padding-top: 48px !important;
}

#hy-rp-sec .hanyuan-frame-1_607 {
  width: auto;           /* 原框架 217px 固定寬，放寬容納較長英文小標 */
  min-width: 217px;
}

/* 段落框架為 align-items:flex-start，子塊需像原版元素一樣顯式拉滿寬度 */
#hy-rp-sec .hy-rp-tabs,
#hy-rp-sec .hy-rp-count,
#hy-rp-sec .hy-coll-grid {
  width: 100%;
}

.hy-rp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 4px 0 18px;
  border-bottom: 1px solid rgba(216, 213, 204, 1);
}

.hy-rp-tab {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: rgba(105, 113, 111, 1);
  cursor: pointer;
  transition: color 0.15s ease;
}

.hy-rp-tab:hover {
  color: rgba(17, 28, 36, 1);
}

.hy-rp-tab.is-active {
  color: rgba(190, 167, 122, 1);
}

.hy-rp-count {
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(105, 113, 111, 1);
  margin: 0;
}

@media (max-width: 820px) {
  .hy-rp-tabs {
    gap: 20px;
  }
}

/* ---------- 板塊合輯彈窗（小紅書合集式封面網格） ---------- */
.hy-coll-meta {
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(105, 113, 111, 1);
  margin: -8px 0 18px;
}

.hy-coll-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hy-coll-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(232, 229, 222, 1);
  border-radius: 2px;
  padding: 0 0 12px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.hy-coll-card:hover {
  box-shadow: 0 6px 20px rgba(13, 23, 31, 0.14);
}

.hy-coll-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: rgba(13, 26, 36, 1);
  margin-bottom: 10px;
}

.hy-coll-cover.is-empty {
  background-image: linear-gradient(135deg, rgba(13, 26, 36, 1), rgba(58, 71, 80, 1));
}

.hy-coll-body {
  padding: 2px 18px 18px;
  min-width: 0;
  box-sizing: border-box;
}

.hy-coll-title {
  font-family: "Noto Sans TC-Medium", "Noto Sans TC", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(17, 28, 36, 1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hy-coll-desc {
  font-family: "Noto Sans TC-Regular", "Noto Sans TC", sans-serif;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(105, 113, 111, 1);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 640px) {
  .hy-coll-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hy-modal-collection {
    padding: 12px 14px;
  }
}
