/* ==========================================================================
   CU Medicine Subpage: Empowering the Future (future.css)
   沿用全站統一字體比例、斜線標題對齊與防抖捲動動畫系統
   ========================================================================== */
:root {
  --fut-purple-dark: #6c1d5f;
  --fut-purple-mid: #7d256e;
  --fut-purple-tint: #f3eaf1;
  --fut-gray-band: #eaedf0;
}


.desktopHide {
	display:none !important;
}

/* --- 1. Subpage Hero Banner --- */
.hero-banner {
  position: relative;
}

.sub-hero__visual {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.sub-hero__overlay-box {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 52%;
  display: flex;
  align-items: center;
  padding-left: 16%;
  background: transparent;
  pointer-events: none;
}

.sub-hero__title {
  font-family: var(--font-primary1);
  padding-top: 40px;
  font-size: 42px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 12px rgba(74, 15, 65, 0.35);
  animation: heroTitleFadeIn 1.25s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

@keyframes heroTitleFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* --- 2. 導言文字 --- */
.section-fut-intro {
  padding: 44px 0 48px;
}

.fut-intro-text {
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  font-weight: 100;
}

.fut-intro-text p {
  margin-bottom: 16px;
}

.fut-container {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* --- 3. 單斜線 + 斜體標題系統 (對應設計稿 Section 02-04 無編號純斜線風格) --- */
.story-header--slash-only {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  gap: 14px;
  margin-bottom: 24px;
}

.story-slash {
  display: inline-block;
  width: 18px;
  height: 54px;
  background-image: url("../images/Title_bullet1.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
  flex-shrink: 0;
  margin-top: -20px;
}

.story-title--purple,
.story-title--charcoal {
  font-family: var(--font-primary1);
  font-size: 30px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
  color: #4b4358;
  text-align: left;
  margin: 0;
}

.story-body {
  font-size: 15.5px;
  line-height: 1.6;
  font-weight: 100;
  color: #000;
  margin-bottom: 32px;
}

/* --- 4. Section 01: Constructing a World-Class Teaching-Research Complex --- */
.fut-complex-section {
  position: relative;
  margin-bottom: 64px;
}

/* 左上角橫跨藍天頂邊的中大紫漸變裝飾橫帶（還原原稿設計） */
.fut-complex-section::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 34%;
  height: 45px;
  background: linear-gradient(90deg, #6c1d5f 0%, rgba(108, 29, 95, 0.65) 65%, rgba(108, 29, 95, 0) 100%);
  z-index: 4;
  pointer-events: none;
}

/* 全幅貼邊建築大圖 */
.fut-complex-hero {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.fut-complex-bg {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  height: auto;
  object-fit: cover;
  object-position: center 75%;
  display: block;
  transform: scale(1.16);
  will-change: transform;  
}

/* 建築大圖頂部文字容器 */
.fut-complex-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 46px;
  padding-bottom: 64px;
  background: linear-gradient(
    to bottom,
    rgba(218, 234, 250, 0.78) 0%,
    rgba(195, 220, 245, 0.42) 55%,
    rgba(195, 220, 245, 0) 100%
  );
}

.fut-complex-title {
  font-family: var(--font-primary1);
  font-size: 48px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.22;
  color: #4b4358;
  text-align: center;
  margin: 35px 0 16px;
}

.fut-complex-title span {
  font-size: 42px;
}

/* 導言段落：左對齊 */
.fut-complex-lead {
  margin: 25px auto 28px;
  text-align: left;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  color: #2b2733;
}

.fut-highlight-purple {
  color: var(--fut-purple-dark);
  font-weight: 700;
  font-size: inherit;
}

/* 藍天中央白色引言 + 左右兩端羽化嘅藍色橫幅漸變底帶 (Ribbon Tag) */
.fut-complex-quote {
  position: relative;
  margin: 0 auto;
  padding: 20px 25px;
  text-align: center;
  color: #ffffff;
  font-family: var(--font-primary1);
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.4;
  background: linear-gradient(
    90deg,
    rgba(96, 146, 200, 0) 0%,
    rgba(96, 146, 200, 0.52) 18%,
    rgba(88, 140, 196, 0.62) 50%,
    rgba(96, 146, 200, 0.52) 82%,
    rgba(96, 146, 200, 0) 100%
  );
}

.fut-complex-quote p {
  margin: 0 0 8px;
}

.fut-complex-quote cite {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  color: #ffffff;
}

/* 跨界向上騎住建築大圖底邊的深紫色方塊 + 三聯內景相片 */
.fut-complex-card {
  position: relative;
  margin: -118px auto 0;
  z-index: 3;
}

.fut-purple-panel {
  background-color: var(--fut-purple-dark);
  color: #ffffff;
  padding: 34px 48px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 100;
}

.fut-purple-panel p {
  margin: 0 0 16px;
}

.fut-purple-panel p:last-child {
  margin-bottom: 0;
}

.fut-complex-triptych img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- 5. Section 02: 左側漸變淺灰導言橫帶 + 純白底紫色策略卡片 --- */
.fut-sec2 {
  position: relative;
  padding: 28px 0 48px;
}

.fut-intro-gray-band {
  position: relative;
  padding: 24px 0 300px;
  margin-bottom: 36px;
  background: linear-gradient(
    90deg,
    #d5dae0 0%,
    #e5e8ec 45%,
    rgba(234, 237, 240, 0.25) 82%,
    rgba(255, 255, 255, 0) 100%
  );
}

.fut-intro-gray-band .story-body {
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 100;
  color: #000;
}

.fut-intro-gray-band .story-body p {
  margin: 0;
}

/* 純白底上的紫色方塊 + 三聯相片組合 */
.fut-strategy-card {
  max-width: 780px;
  margin: -300px auto 36px;
}

.fut-purple-list-box {
  background-color: var(--fut-purple-dark);
  color: #ffffff;
  padding: 34px 48px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 100;
}

.fut-purple-list-intro {
  margin: 0 0 12px;
  font-weight: 400;
}

.fut-purple-list-box ul {
  margin: 0;
  padding-left: 16px;
}

.fut-purple-list-box li {
  margin-bottom: 10px;
}

.fut-purple-list-box li:last-child {
  margin-bottom: 0;
}

.fut-band-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* 下方白底文字 + 雙並排相片 */
.fut-sec2-subblock {
  max-width: 780px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 100;
  color: #000;
}

.fut-sec2-subblock p {
  margin: 0 0 22px;
}

.fut-photo-pair {
  display: grid;
  gap: 16px;
}

.fut-photo-pair img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* --- 6. Section 03: Strengthening Cross-Border Healthcare Collaboration --- */
.fut-sec3 {
  position: relative;
  padding: 44px 0 48px;
}

.fut-sec2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 48%;
  height: 150px;
  background: linear-gradient(90deg, rgba(234, 237, 240, 0) 6%, rgba(234, 237, 240, 1) 45%, rgba(234, 237, 240, 1) 100%);
  z-index: 0;
}

.fut-overlap-feature {
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
}

.fut-purple-callout {
  background-color: var(--fut-purple-dark);
  color: #ffffff;
  padding: 24px 32px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 100;
  max-width: 800px;
  position: relative;
  z-index: 2;
  margin-bottom: -55px;
}

.fut-purple-callout p {
  margin: 0;
}

.fut-overlap-feature__img {
  width: 100%;
  align-self: flex-end;
}

.fut-overlap-feature__img img {
  width: 100%;
  height: auto;
  display: block;
}

.fut-sec3-bottom {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 100;
  color: #000;
}

.fut-sec3-bottom p {
  margin: 0 0 28px;
}

.fut-center-photo {
  max-width: 640px;
  margin: 0 auto;
}

.fut-center-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- 7. Section 04: Shaping the Future of Health Innovation (全幅地圖資訊圖表) --- */
.fut-sec4 {
  padding: 28px 0 0;
}

.fut-map-band {
  background-color: #e1e6ea;
  margin: 12px 0 0;
}

.fut-map-stage {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.fut-map-img {
  width: 100%;
  height: auto;
  display: block;
}

.fut-map-on {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
}

.fut-sec4-outro {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 100;
  color: #000;
  padding: 30px 0 60px;
}

.fut-outro-subhead {
  font-size: 16px;
  font-weight: 700;
  color: var(--fut-purple-dark);
  margin: 0 0 8px;
}

.fut-sec4-outro p {
  margin: 0;
}

/* --- 8. 平板斷點 (<= 1024px) --- */
@media (max-width: 1024px) {
  .sub-hero__overlay-box {
    padding-left: 8%;
  }
  .sub-hero__title {
    font-size: 32px;
  }
  .fut-complex-top {
    padding-top: 24px;
  }
  .fut-complex-title {
    font-size: 28px;
    margin-top: 12px;
  }
  .fut-complex-title span {
    font-size: 24px;
  }
  .fut-complex-card {
    margin-top: -60px;
  }
}

/* ==========================================================================
   手機版斷點 (Mobile RWD <= 767px - 精準還原 CUMED_FI25_web_mobile-5.jpg)
   ========================================================================== */
@media (max-width: 767px) {
	.mobileHide	 {
		display:none !important;
	}
	.desktopHide {
		display:block !important;
	}	
	
  /* 1. Subpage Hero Banner */
  .sub-hero__overlay-box {
    width: 68%;
    padding-left: 20px;
	display:none;
  }
  .sub-hero__title {
    font-size: 21px;
    padding-top: 16px;
    line-height: 1.22;
  }

  /* 2. 導言文字 */
  .section-fut-intro {
    padding: 24px 0 32px;
  }
  .fut-intro-text {
    
  }

  /* 3. 單斜線標題列 */
  .story-header--slash-only {
    gap: 8px;
    margin-bottom: 16px;
  }
  .story-slash {
    width: 12px;
    height: 36px;
    margin-top: -4px;
  }
  .story-title--purple,
  .story-title--charcoal {
    font-size: 20px;
    line-height: 1.28;
  }
  .story-title--purple br,
  .story-title--charcoal br {
    display: none;
  }

  /* 4. Section 01: Teaching-Research Complex (藍天文字疊建築大圖 + 紫底面板) */
  .fut-complex-section {
    margin-bottom: 36px;
  }
  .fut-complex-section::before {
    top: -10px;
    width: 52%;
    height: 22px;
  }
  .fut-complex-bg {
    min-height: 455px;
    object-position: center bottom;
  }
  .fut-complex-top {
position: relative;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
      to bottom,
      rgba(165, 204, 240, 0.85) 0%,
      rgba(182, 215, 245, 0.55) 62%,
      rgba(195, 220, 245, 0) 100%
    );
    padding: 20px 0 0px;
  }
  .fut-complex-title {
    font-size: 20px;
    line-height: 1.25;
    margin: 4px 0 12px;
  }
  .fut-complex-title span {
    font-size: 18px;
  }
  .fut-complex-lead {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.4;
  }
  .fut-complex-quote {
    padding: 12px 14px;
    font-size: 16px;
    line-height: 1.4;
  }
  .fut-complex-quote p {
    margin-bottom: 5px;
  }
  .fut-complex-quote cite {
    font-size: 16px;
  }
  
  .fut-complex-bg-m {
	  margin-top:-100px;
  }
  
  .fut-complex-card {
    margin: 0 -15px;
  }
  .fut-purple-panel {
    padding: 20px 18px;
    font-size: 14.5px;
    line-height: 1.48;
  }
  .fut-purple-panel p {
    margin-bottom: 14px;
  }

  /* 5. Section 02: 灰色漸變導言帶 + 紫色策略列表卡 + 雙並排相片 */
  .fut-sec2 {
    padding: 16px 0 32px;
  }
  .fut-sec2::after {
    display: none;
  }
  .fut-intro-gray-band {
    padding: 18px 0 130px;
    margin-bottom: 0;
  }
  .fut-intro-gray-band .story-body {
    font-size: 14.5px;
    line-height: 1.48;
  }
  .fut-strategy-card {
    margin: -115px -4px 24px;
  }
  .fut-purple-list-box {
    padding: 20px 18px;
    font-size: 13.5px;
    line-height: 1.45;
  }
  .fut-purple-list-box ul {
    padding-left: 16px;
  }
  .fut-purple-list-box li {
    margin-bottom: 8px;
  }
  .fut-sec2-subblock {

  }
  .fut-sec2-subblock p {
    margin-bottom: 16px;
  }
  .fut-photo-pair {
    margin: 0 -15px;
  }
  .fut-photo-pair img {
    height: auto;
  }

  /* 6. Section 03: Strengthening Cross-Border Healthcare Collaboration */
  .fut-sec3 {
    padding: 20px 0 32px;
  }
  .fut-overlap-feature {
    margin-bottom: 22px;
  }
  .fut-purple-callout {
    margin-left: -15px;
    margin-right: 12px;
    margin-bottom: -24px;
    max-width: none;
    padding: 16px 18px;
    
  }
  .fut-overlap-feature__img {
    margin: 0 -15px;
    width: auto;
    align-self: stretch;
  }
  .fut-sec3-bottom {
    
  }
  .fut-sec3-bottom p {
    margin-bottom: 20px;
  }
  .fut-center-photo {
    max-width: 340px;
  }

  /* 7. Section 04: 全幅地圖資訊圖表 (4 層圖層滿版出血且精準對齊) */
  .fut-sec4 {
    padding: 16px 0 0;
  }
  .fut-map-stage {
    margin: 0 -15px;
    max-width: none;
  }
  .fut-sec4-outro {
    padding: 22px 0 40px;
    
  }
  .fut-outro-subhead {
    
  }
}

/* ==========================================================================
   地圖資訊圖表：逐個項目交錯浮現動畫 (Staggered Reveal)
   ========================================================================== */
.fut-map-band .fut-map-stage img:nth-child(1) {
  transition-delay: 0s;
}
.fut-map-band .fut-map-stage img:nth-child(2) {
  transition-delay: 0.3s;
}
.fut-map-band .fut-map-stage img:nth-child(3) {
  transition-delay: 0.6s;
}