/* ==========================================================================
   CU Medicine Subpage: Learning & Education (learning.css)
   ========================================================================== */
:root {
  --edu-blue-dark: #0b4a84;
  --edu-blue-mid: #1478c8;
  --edu-blue-light: #4db8ff;
}

.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: 45%;
  display: flex;
  align-items: center;
  padding-left: 16%;
  background: transparent;
  pointer-events: none;
}

.sub-hero__title {
  font-family: var(--font-primary1);
  padding-top: 50px;
  font-size: 48px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 45, 95, 0.25);
  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);
  }
}

@media (max-width: 1024px) {
  .sub-hero__overlay-box {
    padding-left: 8%;
  }
  .sub-hero__title {
    font-size: 32px;
  }
}

/* --- 2. 導言文字與 6 宮格核心數據 --- */
.section-edu-intro {
  padding: 36px 0 56px;
}

.edu-intro-text {
  margin: 0 auto 48px;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  font-weight: 100;
}

.edu-intro-text p {
  margin-bottom: 16px;
}

.edu-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  margin: 0 auto;
  text-align: center;
}

.edu-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.edu-stat-icon {
  margin-bottom: 10px;
  height: 44px;
  width: auto;
  object-fit: contain;
}

.edu-hkd-badge {
  width: 45px;
  display: inline-block;
  margin: 0;
  vertical-align: bottom;
}

.edu-stat-sublabel {
  font-size: 13px;
  font-weight: 600;
  color: var(--edu-blue-dark);
  margin-bottom: -4px;
}

.edu-stat-num {
  font-size: 77px;
  font-weight: 700;
  font-style: italic;
  color: var(--edu-blue-dark);
  line-height: 0.9;
  margin-bottom: 6px;
}

.edu-stat-desc {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: #4a4a4a;
}

.edu-footnote {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: right;
  font-size: 11.5px;
  color: #000;
}

/* --- 3. Global Partnerships & World Map --- */
.section-global-map {
  padding: 20px 0 20px;
  text-align: center;
}

.blue-pill-header {
  margin: 0 auto 65px;
  padding: 11px 32px;
  font-size: 36px;
  font-weight: 600;
  font-style: italic;
  color: #ffffff;
  background: linear-gradient(
    90deg,
    rgba(11, 74, 132, 0) 0%,
    rgba(11, 74, 132, 0.95) 25%,    
    rgba(11, 74, 132, 0.95) 75%,
    rgba(11, 74, 132, 0) 100%
  );
}

.map-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  margin-bottom: 32px;
}

.map-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.map-stat-icon-offset {
  margin-top: 15px;
}

.map-stat-label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #000;
}

.map-stat-num {
  font-size: 88px;
  font-weight: 900;
  font-style: italic;
  color: var(--edu-blue-dark);
  line-height: 1;
}

.map-stat-divider {
  width: 1px;
  height: 44px;
  background-color: #d6b665;
}

/* ==========================================================================
   Global Map 雙層疊加 + 縮入式深藍背景色帶
   ========================================================================== */
.world-map-banner {
  position: relative;
  padding: 28px 0 36px; 
  margin-top: 10px;
}

.world-map-banner::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  bottom: 48px;
  background-color: #0b3c6d;
  z-index: 0;
}

.world-map-banner .container {
	max-width:none;
}

.map-stack-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.map-layer-bg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

.map-layer-pop {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  transition-delay: 0.25s; 
}

/* 已修復 <a> 可點擊按鈕定位 */
.map-layer-btn {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 0;
  width: 92px;
  display: block;
  pointer-events: auto;
  cursor: pointer;
  transition-delay: 0.25s; 
}

.map-layer-btn img {
  width: 100%;
  height: auto;
  display: block;
      margin-top: 15px;
}

/* --- 4. 專題故事區塊 (01 - 04 共用樣式) --- */
.story-section {
  padding: 46px 0 64px;
}

.story-section.paddingBtmDown {
  padding-bottom: 350px;
}

/* Section 03: 全闊淺灰背景精準定位 */
.section-03-ai {
  position: relative;
  padding-top: 24px;
  padding-bottom: 64px;
  background: none !important;
}

.section-03-ai::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 300px;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  background: #d1d6da;
}

.section-03-ai .story-container {
  position: relative;
  z-index: 1;
}

.story-title-des {
  font-size: 17px;
  font-weight: 600;
  font-style: italic;
  color: var(--edu-blue-dark);
  margin-top: 6px;
}

.section-03-ai .reveal-on-scroll img {
  margin: 24px 0;
}

.story-section--gray-bg {
  background: #d1d6da;
}

.story-container {
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.story-header {
  text-align: center;
  margin-bottom: 32px;
}

.story-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 0 36px;
  margin-bottom: 32px;
  font-size: 38px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  color: #ffffff;
  border-radius: 0;
  background: linear-gradient(
    90deg,
    rgba(45, 165, 225, 0) 0%,
    rgba(45, 165, 225, 0.9) 25%,
    rgba(45, 165, 225, 1) 50%,
    rgba(45, 165, 225, 0.9) 75%,
    rgba(45, 165, 225, 0) 100%
  );
}

.story-title {
  font-family: var(--font-primary1);
  font-size: 38px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.28;
  color: var(--edu-blue-dark);
  margin: 0;
}

.story-subtitle-des {
  font-family: var(--font-primary1);
  font-size: 21px;	
  font-style: italic;
}

.story-hero-photo--full {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto 36px;
  overflow: hidden;
}

.story-hero-photo--full img {
  width: 100%;
  height: auto;
  display: block;
}

.story-hero-photo {
  margin: 0 auto 36px;
}

.story-inline-photo img {
  width: 90%;
  margin: 0 auto;
}

.story-hero-photo img,
.story-medium-photo img,
.story-photo-item img {
  width: 100%;
  height: auto;
  display: block;
}

.story-body {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 100;
  color: #000;
  margin-bottom: 28px;
}

.story-body p {
  margin-bottom: 16px;
}

.story-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: var(--edu-blue-dark);
  margin: 24px 0 8px;
}

/* 雙圖並排 */
.story-two-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}

.story-two-photos-des {
  display: grid;
  grid-template-columns: 1.48fr 1fr;
  gap: 20px;
  max-width: 880px;
  margin-top: 10px;
}

.story-photo-item {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}

.story-medium-photo {
  max-width: 680px;
  margin: 28px auto;
  text-align: left;
  line-height: 1.2; 
}

.photoOutBox {
  max-width: 1135px;
  margin: 0 auto;
}

.photo-caption {
  font-size: 14px;
  color: #000;
  margin-top: 8px;
}

/* --- Section 02: 課程特色對照表 --- */
.plus-showcase-wrapper {
  max-width: 1110px;
  margin: -250px auto 0;
  padding: 0 20px;
}

.plus-group-photo {
  margin: 0;
}

.plus-group-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.plus-phase-table {
  width: 75%;
  margin: -25px auto 0;
  background-color: #ffffff;
  border-bottom: 1px solid #d8e0e8;
  position: relative;
  z-index: 2;
}

.plus-table-head,
.plus-table-row {
  display: grid;
  grid-template-columns: 18% 30% 52%;
  align-items: center;
}

.plus-table-head {
  background-color: #0b4a84;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  padding: 12px 20px;
}

.plus-table-head .col-phase {
  text-align: center;
}

.plus-table-row {
  padding: 18px 20px;
  border-top: 1px solid #e2e8f0;
  background-color: #ffffff;
}

.plus-table-row--alt {
  background-color: #f6f8fb;
}

.plus-table-row .col-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #0b4a84;
}

.phase-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
}

.phase-num {
  font-size: 26px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.15;
}

.col-focus {
  padding-right: 16px;
}

.focus-title {
  font-size: 16px;
  font-weight: 700;
  color: #0b4a84;
  margin-bottom: 2px;
}

.focus-sub {
  font-size: 16px;
  font-style: italic;
  font-weight: 100;
  line-height: 1.3;
  color: #4a5568;
}

.col-opp {
  font-size: 16px;
  line-height: 1.4;
  color: #000;
}

/* --- Section 03: AI 重點斜體引言 --- */
.blue-highlight-quote {
  position: relative;
  max-width: 660px;
  margin: 32px auto;
  padding: 12px 44px;
  font-size: 19px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  color: var(--edu-blue-dark);
  text-align: center;
}

.blue-highlight-quote::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 10px;
  width: 29px;
  height: 19px;
  background-image: url("../images/icon_openQ3.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top left;
}

.blue-highlight-quote::after {
  content: "";
  position: absolute;
  bottom: 4px;
  right: 10px;
  width: 29px;
  height: 19px;
  background-image: url("../images/icon_openQ3.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  transform: rotate(180deg);
}

.blue-highlight-quote.quoteDark::after {
  background-image: url("../images/icon_openQ.png");
  right: 0px;	  
}

.blue-highlight-quote.quoteDark::before {
  background-image: url("../images/icon_openQ.png");	  
  left: 0px;
}

.edu-bullet-list {
  padding-left: 20px;
  margin: 12px 0 0;
}

.edu-bullet-list li {
  margin-bottom: 10px;
  line-height: 1.65;
}

/* --- Section 04: 哈佛醫學院專訪卡片 --- */
.harvard-feature-card {
  position: relative;
  margin-bottom: 28px;
}

.harvard-card-bg {
  width: 100%;
  height: auto;
  display: block;
}

.harvard-quote-overlay {
  padding: 36px;
  background: #103668;
  color: #ffffff;
}

.harvard-quote-overlay p {
  font-size: 16px;
  font-weight: 100;
  line-height: 1.35;
  margin: 0 0 12px;
}

.harvard-quote-overlay p:last-child {
  margin-bottom: 0;
}

.harvard-quote-author {
  font-size: 12.5px;
  font-weight: 600;
  color: #a8d8ff;
}

/* ==========================================================================
   響應式斷點 (Mobile RWD <= 767px - 精準還原 CUMED_FI25_web_mobile-2.jpg)
   ========================================================================== */
@media (max-width: 767px) {
	.mobileHide	 {
		display:none !important;
	}
	.desktopHide {
		display:block !important;
	}

.map-layer-btn img {
       margin-top: 8px;
}	
	
  /* 1. Subpage Hero Banner */
  .sub-hero__overlay-box {
    width: 62%;
    padding-left: 20px;
	display:none;
  }
  .sub-hero__title {
    font-size: 23px;
    padding-top: 22px;
    line-height: 1.22;
  }

  /* 2. 導言文字 + 6 宮格核心數據 (保持 3 欄 x 2 行網格比例) */
  .section-edu-intro {
    padding: 24px 0 36px;
  }
  .edu-intro-text {
    font-size: 14.5px;
    line-height: 1.48;
    margin-bottom: 32px;
  }
  .edu-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 8px;
  }
  .edu-stat-icon {
    height: 30px;
    margin-bottom: 6px;
  }
  .edu-hkd-badge {
    width: 24px;
  }
  .edu-stat-num {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 4px;
  }
  .edu-stat-desc {
    font-size: 10.5px;
    line-height: 1.25;
  }
  .edu-stat-desc br {
    display: none;
  }
  .edu-footnote {
    margin-top: 18px;
    font-size: 10.5px;
  }

  /* 3. Global Footprints & World Map */
  .section-global-map {
    padding: 12px 0 20px;
  }
  .blue-pill-header {
    font-size: 20px;
    padding: 8px 14px;
    margin-bottom: 24px;
  }
  .map-stats-row {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
  }
  .map-stat-item {
    gap: 10px;
  }
  .map-stat-item img {
    width: 34px;
  }
  .map-stat-icon-offset {
    margin-top: 0;
  }
  .map-stat-label {
    font-size: 12px;
    line-height: 1.25;
  }
  .map-stat-num {
    font-size: 36px;
  }
  .world-map-banner {
    padding: 14px 0 18px;
  }
  .world-map-banner::before {
    top: 22px;
    bottom: 24px;
  }
  .map-layer-btn {
    top: 6px;
    right: 0;
    width: 56px;
  }

  /* 4. 專題故事區塊 (01 - 04) */
  .story-section {
    padding: 28px 0 36px;
  }
  .story-header {
    margin-bottom: 20px;
  }
  .story-badge {
    min-width: 140px;
    font-size: 22px;
    padding: 2px 24px;
    margin-bottom: 16px;
  }
  .story-title {
    font-size: 21px;
    line-height: 1.25;
  }
  .story-subtitle-des {
    font-size: 13.5px;
    margin-top: 4px;
  }
  .story-hero-photo--full,
  .story-hero-photo {
    margin-bottom: 20px;
  }
  .story-inline-photo img {
    width: 100%;
  }
  .story-body {
    font-size: 14.5px;
    line-height: 1.48;
    margin-bottom: 20px;
  }
  .story-subtitle {
    font-size: 15.5px;
    margin: 18px 0 6px;
  }

  /* 5. Section 02: CU Medicine Plus 合照與三欄課程階段表 (保留三欄並排結構) */
  .plus-showcase-wrapper {
    margin-top: 12px;
    padding: 0 15px;
  }
  .plus-phase-table {
    width: 100%;
    margin-top: -8px;
  }
  .plus-table-head,
  .plus-table-row {
    grid-template-columns: 20% 30% 50%;
  }
  .plus-table-head {
    font-size: 11px;
    padding: 8px 10px;
  }
  .plus-table-row {
    padding: 12px 10px;
    gap: 0;
  }
  .phase-label {
    font-size: 10px;
  }
  .phase-num {
    font-size: 16px;
  }
  .col-focus {
    padding-right: 8px;
  }
  .focus-title {
    font-size: 11.5px;
  }
  .focus-sub {
    font-size: 10px;
    line-height: 1.25;
  }
  .focus-sub br {
    display: none;
  }
  .col-opp {
    font-size: 11px;
    line-height: 1.35;
  }
  
  figure img {
	  margin-bottom:8px;
  }



  /* 6. Section 03: 淺灰背景區塊 + 引言 */
  .section-03-ai {
    padding-top: 16px;
    padding-bottom: 40px;
  }
  .section-03-ai::before {
    top: 210px;
  }
  .blue-highlight-quote {
    
    padding: 10px;
    margin: 22px auto;
  }
  .blue-highlight-quote::before,
  .blue-highlight-quote::after {
    width: 22px;
    height: 15px;
  }

  /* 7. Section 04: 哈佛專訪卡片 + 底部雙圖說明 */
  .harvard-quote-overlay {
    padding: 20px 18px;
  }

  .story-medium-photo {
    margin: 20px auto;
  }

  .story-two-photos-des {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
  }

}