@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600&family=Noto+Sans+TC:wght@400;500;600&display=swap');


:root{
  --navy:#0562AF;
  --navy2:#1D2C50;
  --blue:#1f6fe0;
  --blue2:#4A90CD;
  --sky:#d9e6f7;
  --pale:#eef3fb;
  --yellow:#FFD12B;
  --yellow-d:#ffdb5e;
  --ink:#333333;
  --gray:#5b6b85;
  --gray2:#999999;
  --line:#ACAEB0;
  --hero1:#141d2e;
  --hero2:#263756;
  --govbar:#0562af;
  --footer:#1d2c50;
  --white:#fff;
  --hc:#000000;
  --grayblue:#90B5FD;
  --muted:#666666;
  --gold:#ffe98a;
  --purple:#9344D0;
  --orange:#E18F00;
  --green:#009E1D;
  --arr-svg:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 12'%3E%3Cpath d='M1 6h11M8.5 1.5L14 6l-5.5 4.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}
html{
  scroll-behavior:smooth;
  scroll-padding-top:140px;
  overflow-x:hidden;
}
body{
  font-family: 'Roboto',sans-serif;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  font-size:18px;
}
/* ===== Unified font-weight definitions (2026-10-31) ===== */
/* Headings: define thickness here once — edit these two lines to retune all headings */
h1,h2,.page-title{font-weight:600;}
h3,h4,h5,h6,.ul-cap{font-weight:600;}
/* English pages keep their original lighter heading weight (500) — only Chinese versions use the heavier unified weights */
html[lang="en"] h1,html[lang="en"] h2,html[lang="en"] h3,html[lang="en"] h4,html[lang="en"] h5,html[lang="en"] h6,html[lang="en"] .page-title,html[lang="en"] .about-lead,html[lang="en"] .ul-cap,html[lang="en"] .vb-title{font-weight:600;}
/* UI elements keep a medium (500) weight — consolidated here instead of scattered */
.gov-bar a,.menu a,.menu .has-dd,.dropdown a,.lang-btn,.breadcrumb a,.detail-crumb a,.detail-back,.sitemap-list .sm-sec li a,.menu .menu-gov a{font-weight:500;}
.btn,.btn-explore,.btn-ghost,.card .go-btn,.tabs button,.news-tabs button{font-weight:500;}
.card .foot .date,.ev-date .d2,.ni-date,.ni-tag,.date-badge .d2,.detail-date .d2,.news-card .ph .tag2,.news-card .ph .tag3{font-weight:500;}
.hero .kicker,.sec-head .eyebrow,.sec-head .more,.wrap .more,.feature-event .fe-head .eyebrow,.ind-block .eyebrow,.cta .eyebrow{font-weight:500;}

a{
  text-decoration:none;
  color:inherit;
}
button{
  font-family:inherit;
  cursor:pointer;
  border:none;
  background:none;
}
img{
  display:block;
  max-width:100%;
}
.wrap{
  max-width:1320px;
  margin:0 auto;
  padding:0px;
}
/* ===== Top government toolbar ===== */
.gov-bar{
  background:var(--govbar);
  color:#fff;
  font-size:12px;
}
.gov-bar .wrap{
  display:flex;
  align-items:center;
  gap:22px;
  padding: 10px 0px;
  flex-wrap:wrap;
}
.gov-bar a{
  color:#fff;
}
.gov-bar a:hover{
  color:#fff;
  text-decoration:underline;
}
.gov-bar .right{
  margin-left:auto;
  display:flex;
  gap:18px;
  align-items:center;
}
.gov-bar .info-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  border-radius:50%;
  border:1.5px solid #fff;
  font-size:12px;
  font-weight:600;
  font-style:italic;
  line-height:1;
  margin-right:7px;
  vertical-align:-2px;
}
.gov-bar .right a{
  color:#fff;
  opacity:.85;
}
.gov-bar .right a:hover{
  opacity:1;
}
.gov-i {
	margin-right:5px;
}
/* ===== Main navigation ===== */
/* Home page: gov-bar + main-nav stick together as one block */
.head-sticky{
  position:sticky;
  top:0;
  z-index:985;
}
.main-nav{
  position:relative;
  background:#fff;
  border-bottom:none;
  box-shadow:0 1px 8px rgba(0,0,0,.1);
  position:sticky;
  top:0;
  z-index:100;
}
.main-nav .wrap{
  display:flex;
  align-items:stretch;
  gap:20px;
  padding:0px;
  min-height:65px;
  flex-wrap:nowrap;
}
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  flex:none;
}
.logo .titles{
  line-height:1.22;
}
.header-logo img{
	width:237px;
	height:auto;
}
.logo .en{
  font-size:12px;
  letter-spacing:1.8px;
  color:var(--govbar);
  font-weight:600;
}
.menu{
  display:flex;
  align-items:stretch;
  gap:4px;
  margin-left:auto;
  flex-wrap:nowrap;
  overflow-x:auto;
  flex:1;
  justify-content:flex-end;
  scrollbar-width:none;
}
.menu::-webkit-scrollbar{
  display:none;
}
/* Desktop: give every top-level menu item an equal share of the menu width */
.menu > a,.menu > .has-dd{
  flex:1 1 0%;
  justify-content:center;
}
.menu a,.menu .has-dd{
  position:relative;
  display:flex;
  align-items:center;
  padding:0 10px;
  font-size:16px;
  color:var(--muted);
  white-space:normal;
  flex-shrink:1;
  line-height:1.4;
  text-align:center;
}
.menu a::after,.menu .has-dd::after{
  content:'';
  position:absolute;
  left:11px;
  right:11px;
  bottom:0px;
  height:6px;
  background:var(--navy2);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .25s ease;
}
.menu a:hover::after,.menu .has-dd:hover::after,.menu .has-dd.open::after,.menu a.active::after,.menu .has-dd.active::after{
  transform:scaleX(1);
}
/* About submenu items: no underline effect on hover */
.menu .dropdown a::after{
  display:none;
}
.menu a:hover,.menu .has-dd:hover{
  color:var(--govbar);
}
.dropdown{
  display:none;
  min-width:230px;
  background: linear-gradient(198.48deg, #FFFFFF 57.24%, #C0D5FF 105.93%), #FFFFFF;
  padding:8px;
  z-index:300;
}
.dropdown a{
  display:block;
  padding:15px;
  font-size:18px;
  border-radius:6px;
  white-space:nowrap;
  text-align: left;
}
.dropdown a:hover{
  color:var(--navy);
}
/* About submenu hover: subtle – colour only, no background */
.menu .has-dd .dropdown a:hover{
  background:none;
  color:var(--navy);
}
.nav-utils{
  display:flex;
  align-items:center;
  gap:14px;
  margin-left:0;
  flex:none;
  align-self:center;
  position:relative;
}
.nav-utils:before{
	content:" ";
	display:block;
	width:1px;
	height: 30px;
	left:-20px;
	top:15px;
	position:absolute;
	background-color:#CCC;
}
.main-nav .wrap>.logo{
  align-self:center;
  padding:15px 0px;
}
.lang-btn{
  font-size:16px;
  color:var(--muted);
  border:none;
  padding:8px 4px;
  line-height:1;
  background:none;
}
.lang-btn:hover{
  color:#0562af;
  background:none;
}
/* Language selector (EN): divider from the main menu + dropdown */
.lang-dd{
  position:relative;
  display:flex;
  align-items:center;
  gap:4px;
  cursor:pointer;
  margin-left:6px;
  padding-left:16px;
}
/* Gov link block inside .menu: only visible in the mobile drawer */
.menu-gov{
  display:none;
}
.lang-dropdown{
  min-width:64px;
}
/* Language dropdown keeps a floating card look on every breakpoint (incl. mobile,
   where the generic .dropdown rule flattens to an inline list) */
.lang-dd .dropdown{
  background:#fff;
  border-radius:10px;
  box-shadow:0 5px 15px rgba(11,60,140,.16);
  padding:8px;
}
.lang-dd .dropdown a{
  padding:10px 12px;
  white-space:nowrap;
}
.lang-dd .dropdown a:hover{
  background:var(--pale);
  color:var(--navy);
}
.search-btn{
  color:var(--gray);
  display:grid;
  place-items:center;
  display:none;
}
/* Hamburger button (mobile only) */
.nav-toggle{
  display:none;
  flex-direction:column;
  gap:4px;
  background:none;
  border:none;
  padding:8px 2px;
  margin-left:2px;
  cursor:pointer;
  color:var(--ink);
}
/* Drawer close (X) button: invisible on desktop, mobile shows it when the drawer opens */
.menu-close{
  display:none;
}
.nav-toggle .bar{
  width:20px;
  height:2px;
  background:currentColor;
  border-radius:2px;
  transition:transform .2s,opacity .2s;
}
.nav-toggle.open .bar:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2){ opacity:0; }
.nav-toggle.open .bar:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }
.btn-explore{
  background:var(--yellow);
  color:var(--ink);
  font-size:16px;
  line-height:20px;
  border-radius:999px;
  padding:20px 30px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.btn-explore:hover{
  background:var(--yellow-d);
  transform:translateY(-1px);
}
.btn-explore .ar{
  font-size:12px;
}
/* ===== Shared page elements ===== */
.page-head{
  padding:36px 0 6px;
}
.page-banner{
  position:relative;
  overflow:hidden;
  padding:80px 0px 20px 0px;
  min-height:450px;
  background:url('/themes/mynewtheme/images/banner_bg.jpg') center/cover no-repeat;
}
/* White corner on page banners (bottom-right, coner.svg) – sits just above the
   white sheet that slides up, matching the course-card corner */
.page-banner::after{
  content:"";
  position:absolute;
  right:-1px;
  bottom:49px; /* above the 50px white sheet that slides up over the banner */
  width:50px;
  height:50px;
  background:url('/themes/mynewtheme/images/coner.svg') no-repeat center/contain;
  z-index:2;
  pointer-events:none;
  border-bottom: 1px solid #FFF;
  border-right: 1px solid #FFF;
}
.page-banner .wrap{
  position:relative;
  z-index:1;
}
.page-banner .breadcrumb{
  max-width:100%;
}
.page-banner .page-title{
  margin:50px 0px 20px 0px;
  max-width:70%;
}
/* Pages with a full banner: the white content sheet is full-page width and
   slides up over the banner bottom with rounded top corners (like course cards).
   Two layouts exist: content directly in the wrap after the banner, or in the
   wrap inside the first section after the banner. */
.page-banner + .grad-bg::before{
  content:'';
  position:absolute;
  top:-50px;
  left:50%;
  transform:translateX(-50%);
  width:100%;
  height:51px;
  background:#fff;
  border-radius:50px 0 0 0;
  pointer-events:none;
  z-index:2;
}
.detail-grid .breadcrumb{
  color:var(--gray);
}
.detail-grid .page-title{
  margin:0;
  max-width:none;
}
.detail-grid .tabs{
  margin-top:20px;
  position:sticky;
  top:129px; /* desktop sticky header (gov-bar + nav) is ~105px tall; stick below it */
  z-index:5;
  background:#fff;
  padding-top:4px;
}
/* Divider under tabs: left edge reaches the browser's left edge, right edge meets the info column's left border line */
.detail-grid .tabs::after{
  content:"";
  position:absolute;
  top:100%;
  left:calc(-1 * ((100vw - 1320px) / 2 + 32px));
  width:calc(100% + 40px + ((100vw - 1320px) / 2 + 32px));
  height:1px;
  background:var(--line);
  pointer-events:none;
}
@media (max-width:1384px){
  .detail-grid .tabs::after{
    left:-32px;
    width:calc(100% + 72px);
  }
}
.page-banner .page-desc{
  color:#4a6589;
  font-size:18px;
  line-height:1.4;
  max-width:50%;
  margin-top:14px;
}
.breadcrumb{
  font-size:14px;
  color:var(--gray2);
  letter-spacing:.4px;
  display:flex;
  gap:5px 15px;
  flex-wrap:wrap;
}
.breadcrumb a{
  color:var(--gray2);
  text-decoration:none;
}
.breadcrumb a:hover{
  text-decoration:underline;
}
.breadcrumb span{
  color:var(--gray2);
}
.breadcrumb span:last-child{
  color:var(--ink);
}
.page-title{
  font-size:48px;
  color:var(--navy2);
  margin:16px 0 10px;
  line-height:1.2;
}
.page-desc{
  color:var(--gray);
  font-size:16px;
  line-height:1.9;
  max-width:760px;
}
/* ===== Hero (home, 3-slide carousel background) ===== */
.hero{
  color:var(--hc);
  position:relative;
  overflow:hidden;
  margin:22px 24px 0;
  border-radius:28px;
  box-shadow:0 18px 44px rgba(20,32,60,.10);
}
/* Black gradient layer between the hero background and the text:
   left 15% black -> right fully transparent (readability on the text side) */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 60%);
  pointer-events:none;
  z-index:1;
}
.hero-bg{
  position:absolute;
  inset:0;
  background-color:#2f3644;
  background-position: top;
  background-size:cover;
  background-repeat:no-repeat;
  opacity:0;
  transform:scale(1.04);
  transition:opacity .7s ease, transform .7s ease;
  z-index:0;
}
.hero-bg.active{
  opacity:1;
  transform:scale(1);
}
.hero .wrap{
  position:relative;
  z-index:2;
  min-height:650px;
  padding-top:130px;
}
.hero .kicker{
	font-style: normal;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #90B5FD;
	margin-bottom:20px;
	/*
	display:flex;
	align-items:center;
	gap:12px;
	*/
}
.hero h1{
	font-style: normal;
	font-size: 48px;
	line-height: 120%;
	color: #FFFFFF;
}
.hero h1 .block{
  display:block;
}
.hero .sub{
  color:#fff;
  font-size:20px;
  line-height:1.6;
  margin:24px 0 38px;
  max-width:640px;
}
/* Text layer per carousel background: switches along with the background */
.hero-slide{
  display:none;
  max-width:680px;
}
.hero-slide.active{
  display:block;
  animation:heroFade .6s ease;
}
@keyframes heroFade{from{opacity:0}to{opacity:1}}
.hero-actions{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  align-items:center;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:20px 40px;
  border-radius:999px;
  font-size:16px;
  transition:background .3s ease, color .3s ease, border-color .3s ease, transform .25s ease, box-shadow .3s ease;
}
.btn-yellow{
  background:var(--yellow);
  color:var(--hc);
}
.btn-outline{
  border:1px solid var(--hc);
  color:var(--hc);
  background:transparent;
}
.btn-outline:hover{
  background:var(--hc);
  color:#fff;
}
.btn-blue{
  background:var(--navy);
  color:#fff;
}
.btn-blue:hover{
  background:var(--navy2);
}
.btn-yellow:hover{
  background:var(--yellow-d);
}
/* Black outline, black text, transparent background (used for About Learn More) */
.btn-outline-dark{
  border:1.5px solid var(--ink);
  color:var(--ink);
  background:transparent;
}
.btn-outline-dark:hover{
  background:var(--ink);
  color:#fff;
}
/* Banner buttons: yellow bg + black text on the left, white border + white text on the right (per Figma) */
.hero .btn-outline{
  border:1px solid var(--white);
  color:#fff;
}
.hero .btn-outline:hover{
  background:#fff;
  color:#000;
}
/* Hero CTA buttons (yellow + white outline): subtle lift with a soft shadow */
.hero .btn{
  box-shadow:0 2px 6px rgba(0,0,0,.05);
  will-change:transform;
}
.hero .btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,.16);
}
.hero .btn:active{
  transform:translateY(0);
  box-shadow:0 4px 10px rgba(0,0,0,.10);
}
/* Search zone: white container, centered above the hero bottom (~24px gap) (per Figma) */
.search-zone{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  top:auto;
  bottom:24px;
  width:100%;
  max-width:760px;
  background:#fff;
  border-radius:24px;
  padding:24px 0;
  z-index:5;
  box-shadow:0 18px 44px rgba(20,32,60,.18);
  display:none;
}
/* Override global .wrap padding so the search zone does not inherit hero whitespace */
.search-zone .wrap{
  padding-top:0;
  padding-bottom:0;
}
.search-row{
  display:flex;
  flex-direction:column;
  gap:16px;
  align-items:stretch;
  max-width:680px;
  margin:0 auto;
}
.search-input{
  flex:1;
  min-width:260px;
  border:none;
  border-radius:999px;
  padding:16px 24px;
  font-size:15px;
  color:var(--ink);
  background:#f4f6f9;
  outline:none;
  box-shadow:0 4px 14px rgba(20,32,60,.08);
}
.search-input:focus{
  box-shadow:0 6px 18px rgba(20,32,60,.12);
}
.search-input::placeholder{
  color:#5b6b82;
}
.tag-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}
.tag{
  font-size:13px;
  font-weight:600;
  letter-spacing:.5px;
  color:#39445a;
  background:#eef1f6;
  border:1px solid #dfe4ec;
  border-radius:999px;
  padding:8px 18px;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.tag .ar{
  color:#6b7890;
  font-size:12px;
}
.tag:hover{
  background:#e4e9f1;
}
/* Hero carousel dots (bottom-left of hero, click to switch) */
.hero-dots{
  position:absolute;
  left:50px;
  bottom:50px;
  z-index:6;
  display:flex;
  gap:9px;
  align-items:center;
}
.dot{
  width:20px;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  transition:.25s;
  border:none;
  padding:0;
  cursor:pointer;
  display:inline-block;
}
.dot.on{
  width:60px;
  border-radius:999px;
  background:#a9c8ff;
}
/* Section heading */
.sec{
  padding:0px;
}
.sec-tp80{
  padding-top:80px !important;
}
.sec-bp80{
  padding-bottom:80px !important;
}
.sec-b0{ padding:80px 0 0; overflow:hidden; } /* bottom flush; clip full-bleed bleed */
/* ===== Section spacing modifiers (ex-inline values, one class per exact value) ===== */
.sec-p0b{ position: relative; min-height: 300px; }     /* news-events featured event */
.sec-p16{ padding:16px 0; }       /* news-events events / industry intro */
.sec-p20{ padding:20px 0; }       /* vision-mission mission */
.sec-p30{ padding:80px 0; }       /* resources main / about body */
.sec-p30b10{ padding:30px 0 10px; } /* vision-mission vision */
.sec-p34b10{ padding:34px 0 10px; } /* resources featured */
.sec-p56{ padding:56px 0; }       /* vision-mission values */
.sec-p60{ padding:60px 0; }       /* industry engagement */
.sec-p60b70{ padding:60px 0 70px; } /* industry bottom */
.sec-p30b70{ padding:30px 0 70px; } /* news-events latest news */
.sec-p10b70{ padding:10px 0 70px; } /* resources useful links */
.sec.pale{
}
.sec.grad{
  background:linear-gradient(135deg,#123c7e,#1f6fe0);
  color:#fff;
}
.sec-head{
  display:flex;
  align-items:flex-end;
  gap:20px;
  margin-bottom:30px;
  flex-wrap:wrap;
}
.sec-head .eyebrow{
  font-size:14px;
  letter-spacing:0.28em;
  color:var(--grayblue);
  display:block;
  margin-bottom:10px;
}
.sec.grad .sec-head .eyebrow{
  color:var(--gold);
}
.sec-head h2{
  font-size:36px;
  color:var(--navy);
  line-height:1.2;
}
.sec.grad .sec-head h2{
  color:#fff;
}
/* "More" link under section headings (right of sec-head or centered below the block) */
.sec-head .more,.wrap .more{
  font-size:16px;
  color:var(--navy2);
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.sec-head .more{
  margin-left:auto;
}
.sec.grad .sec-head .more{
  color:#fff;
}
.sec-head .more:hover,.wrap .more:hover{
  text-decoration:none;
}
/* ===== Section heading variants ===== */
.sec-head.center{
  justify-content:center;
  text-align:center;
  flex-direction:column;
  align-items:center;
}
.sec-head.center .more{
  margin-left:0;
}
.sec-head.tight{
  margin-bottom:8px;
}
.sec-head.roomy{
  margin-bottom:26px;
}
/* About intro lead (home page) */
.about-lead{
  font-size:36px;
  color:var(--navy);
  line-height:1.2;
  max-width:520px;
}
.about-copy{
  line-height:2;
  color:var(--gray);
  margin:18px 0 26px;
  max-width:560px;
}
/* Cards */
.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  transition:.25s;
  display:block;
}
.card:hover,.ev-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 32px rgba(11,60,140,.15);
}
.card .ph{
  height:150px;
  position:relative;
  background-size:cover;
  background-position:center;
}
.card .ph img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:0;
}
.card .body{
  padding:16px 18px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.card h4{
  font-size:24px;
  line-height:1.2;
  margin-bottom:20px;
  color:var(--navy2);
}
.card .meta{
  font-size:13px;
  color:var(--gray);
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}
/* Course card: tag row below the image (per Figma) */
.card .meta-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom:15px;
}
.card .meta-row .plabel,.card .meta-row .dur,.card .meta-row .phys,.card .meta-row .hyb,.card .meta-row .onl{
  padding: 4px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 400;
}
.card .meta-row .plabel{
  background:#1D2C50;
  color:#fff;
  letter-spacing:1px;
}
.card .meta-row .dur{
  background:var(--white);
  color:var(--ink);
  border:1px solid var(--line);
}
.card .meta-row .phys{
  color:var(--blue2);
  border:1px solid var(--blue2);
}
.card .meta-row .hyb{
  color:var(--green);
  border:1px solid var(--green);
}
.card .meta-row .onl{
  color:var(--orange);
  border:1px solid var(--orange);
}
/* Card footer: date at bottom-left + circular outlined button at bottom-right */
.card .foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:auto;
  padding-top:12px;
  border-top:1px solid var(--line);
}
.card .foot .date{
  font-size:18px;
  color:var(--blue2);
}
/* ===== Shared rounded arrow (SVG mask) =====
   Hides the legacy glyph (kept as fallback text) and draws a
   rounded-corner arrow that follows the element's currentColor. */
.go-btn,.ar,.btn-explore .ar,.tag .ar,.more span,
.btn-yellow span,.btn-outline-dark span{
  font-size:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.go-btn::before,.ar::before,.more span::before,
.btn-yellow span::before,.btn-outline-dark span::before{
  content:"";
  width:12px;
  height:12px;
  flex:0 0 auto;
  background-color:currentColor;
  -webkit-mask:var(--arr-svg) center/contain no-repeat;
  mask:var(--arr-svg) center/contain no-repeat;
}
.go-btn::before{
  width:16px;
  height:16px;
}
.card .go-btn{
  width:40px;
  height:40px;
  border-radius:50%;
  border:1.5px solid var(--ink);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--ink);
  font-size:0;
  background:transparent;
  transition:.2s;
}
.card:hover .go-btn{
  background:var(--ink);
  color:#fff;
}
/* Pagination prev/next arrows */
.pager button:first-child,.pager button:last-child{
  font-size:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.pager button:first-child::before,.pager button:last-child::before{
  content:"";
  width:12px;
  height:10px;
  background-color:currentColor;
  -webkit-mask:var(--arr-svg) center/contain no-repeat;
  mask:var(--arr-svg) center/contain no-repeat;
}
.pager button:first-child::before{
  transform:scaleX(-1);
}
/* Carousel prev/next arrows */
.carousel-arrow{
  font-size:0;
}
.carousel-arrow::before{
  content:"";
  width:14px;
  height:14px;
  background-color:currentColor;
  -webkit-mask:var(--arr-svg) center/contain no-repeat;
  mask:var(--arr-svg) center/contain no-repeat;
}
.carousel-arrow.prev::before{
  transform:scaleX(-1);
}
/* ===== Course listing page ===== */
.course-layout{
  display:grid;
  /* Phase 1: filter panel hidden — single column.
     When the filter panel is shown again, change this back to
     grid-template-columns:280px 1fr; */
  grid-template-columns:1fr;
  gap:40px;
  padding-bottom:80px;
}
.filter-panel{
  position:sticky;
  top:120px;
  align-self:start;
  background:#fff;
  border:none;
  border-radius:14px;
  padding:20px 20px 12px;
  display:none;
}
.f-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:6px;
}
.f-head h3{
  font-size:15px;
  color:var(--navy);
}
.f-head button{
  font-size:13px;
  color:var(--gray);
}
.f-head button:hover{
  color:var(--navy);
}
.f-sub{
  font-size:13px;
  color:var(--grayblue);
  margin-bottom:12px;
}
.f-group{
  margin:16px 0;
}
.f-group .g-title{
  font-size:12px;
  font-weight:600;
  letter-spacing:1.5px;
  color:var(--navy);
  margin-bottom:6px;
}
.f-group label{
  display:flex;
  gap:10px;
  padding:7px 0;
  font-size:14px;
  cursor:pointer;
  color:var(--ink);
  border-bottom:1px dashed var(--line);
}
.f-group label:hover{
  color:var(--navy);
}
.f-group label input{
  accent-color:var(--navy);
  width:15px;
  height:15px;
}
/* Result toolbar bar (full-width blue strip under the page banner) */
.result-bar{
  width:100%;
  background:var(--navy);
  padding:16px 0;
  display:none;
}
.result-bar .result-head{
  margin-bottom:0;
  color:#fff;
}
.result-bar .seg button{
  border-color:rgba(255,255,255,.45);
  color:#fff;
  background:transparent;
}
.result-bar .seg button.on{
  background:#fff;
  border-color:#fff;
  color:var(--navy);
}
.result-bar .r-search{
  border-color:rgba(255,255,255,.45);
  background:rgba(255,255,255,.12);
}
.result-bar .r-search input{
  color:#fff;
}
.result-bar .r-search input::placeholder{
  color:rgba(255,255,255,.75);
}
.result-bar .r-search svg{
  stroke:#fff;
}
.result-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:20px;
  flex-wrap:wrap;
}
.seg{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.seg button{
  padding:9px 18px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  border:1.5px solid var(--line);
  color:var(--gray);
  background:#fff;
}
.seg button.on,.news-tabs button.on,.pager button.on{
  background:var(--navy2);
  border-color:var(--navy2);
  color:#fff;
}
.r-search{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:auto;
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 14px;
  background:var(--pale);
}
.r-search input{
  border:none;
  background:none;
  outline:none;
  font-size:13px;
  color:var(--ink);
  width:130px;
}
/* Shared 3-column card grid (course / event / news listings) */
.card-grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}
.course-card{
  display:flex;
  flex-direction:column;
  border:none;
  overflow:visible;
  font-size:16px;
}
.course-card .ph{
  height:280px;
  border-radius:16px;
}
/* White corner overlay on every course-card photo (right edge, coner.svg),
   via pseudo-element so no HTML changes are needed on any page */
.course-card .ph::after{
  content:"";
  position:absolute;
  right:-1px;
  top:201px;
  width:40px;
  height:40px;
  background:url('/themes/mynewtheme/images/coner.svg') no-repeat center/contain;
  z-index:3;
  pointer-events:none;
  border-bottom:1px solid #FFF;
  border-right:1px solid #FFF;
}
.course-card .body{
  position:relative;
  background:#fff;
  margin:-40px 0 0;
  padding:30px 25px;
  border-radius:40px 0 40px 40px;
}
.res-grid .course-card .body{
  padding:30px;
}
.course-card .foot{
  border-top:none;
}
/* Completed courses: grey date + grey arrow (button stays visible) */
.course-card.done .foot .date{
  color:var(--gray2);
}
.course-card.done .go-btn{
  border-color:var(--gray2);
  color:var(--gray2);
}
.course-card.done:hover .go-btn{
  background:var(--gray2);
  color:#fff;
}
.course-card .meta2{
  font-size:12px;
  color:var(--gray);
  margin-top:6px;
}
.pager{
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:center;
  margin-top:34px;
  display:none;
}
.pager button{
  width:38px;
  height:38px;
  border-radius:10px;
  border:1.5px solid var(--line);
  font-size:14px;
  font-weight:600;
  color:var(--gray);
  background:#fff;
  transition:.2s;
}
.pager button:hover{
  border-color:var(--navy);
  color:var(--navy);
  box-shadow:0 10px 26px rgba(11,60,140,.10);
}
.pager .gap{
  color:var(--grayblue);
}
/* Pagination transition animation */
.grid-page{
  animation:pageIn .45s ease both;
}
@keyframes pageIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
/* ===== Course detail page ===== */
.detail-head{
  display:flex;
  align-items:baseline;
  gap:16px;
  flex-wrap:wrap;
  margin:10px 0 4px;
}
.detail-head h1{
  font-size:30px;
  color:var(--navy);
  font-weight:600;
}
.detail-head .code{
  margin-left:auto;
  font-size:13px;
  color:var(--gray);
}
.detail-head .code b{
  color:var(--navy);
}
.back-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  font-weight:600;
  color:var(--navy);
  margin-bottom:10px;
}
.back-link:hover{
  text-decoration:underline;
}
.back-row{
  display:flex;
  align-items:center;
  gap:30px;
  margin-bottom:30px;
}
.back-row .back-link{
  margin-bottom:0;
}
.back-row .detail-back{
  margin-bottom:0;
}
.back-row .code{
  font-size:14px;
  color:var(--ink);
}
.back-row .code b{
  display:inline-block;
  padding:8px 15px;
  border-radius:999px;
  background:var(--grayblue);
  color:var(--ink);
  margin-left:4px;
}
.back-row .vsep{
  width:1px;
  height:14px;
  background:rgba(0,0,0,.16);
  flex:0 0 auto;
}
.detail-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 540px;
  grid-template-areas:"hero info" "main info";
  gap:0 40px;
  padding:0px;
}
.course-bg{
  background-image: url('/themes/mynewtheme/images/gd_bg.jpg');
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: bottom left;
}
.detail-grid .course-hero{ grid-area:hero; }
.detail-grid > div:nth-child(2){ grid-area:main; }
.detail-grid .info-col{ grid-area:info; border-left:1px solid var(--line); }
.info-col .course-photo{
  width:540px;
  height:350px;
  border-radius:0 0 14px 0;
  background-size:cover;
  background-position:center;
  margin-bottom:20px;
}
.course-hero{
  min-height:400px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  z-index:0;
}
/* Background layer behind the course hero:
   stretches from the browser's left edge to the hero's right edge
   (which is the info column's left border, i.e. the left of the photo),
   and ends at the bottom of the hero (just above the sticky tabs). */
.course-hero::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:calc(-1 * (100vw - min(100vw,1320px)) / 2);
  right:-40px; /* cross the 40px column gap so the bg hugs the photo's left edge */
  background-position:center;
  background-size:cover;
  z-index:-1;
}
/* White content sheet (tabs + panes) rises over the hero bg's bottom edge,
   with a rounded corner on the far left, like the resources page */
.detail-grid > div:nth-child(2){
  position:relative;
  z-index:2;
  margin-top:-50px;
}
.detail-grid > div:nth-child(2)::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:calc(-1 * (100vw - min(100vw,1320px)) / 2);
  right:-40px; /* cross the gap too, so the white sheet hugs the photo's left edge (no gap showing the hero bg) */
  background:#fff;
  border-radius:50px 0 0 0;
  z-index:-1;
  height:100px;
}
.tabs{
  display:block;
  margin:18px 0 4px;
}
.tabs-scroll{
  display:flex;
  gap:6px;
  flex-wrap:nowrap;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.tabs-scroll::-webkit-scrollbar{
  display:none;
}
.tabs button{
  padding:11px 22px;
  font-size:16px;
  color:var(--ink);
  position:relative;
  flex:none;
}
.tabs button.on{
  color:var(--navy);
  font-weight:600;
}
.tabs button.on::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0px;
  height:4px;
  background:var(--navy);
  border-radius:2px;
}
.pane{
  display:block;
  padding:26px 0;
}
.pane p{
  line-height:1.6;
  color:var(--ink);
  margin-bottom:20px;
  max-width:760px;
}
.pane h3{
  font-size:18px;
  color:var(--navy);
  margin:26px 0 12px;
}
.learn-list{
  margin:14px 0 6px;
  list-style:none;
}
.learn-list li{
  padding:7px 0 7px 26px;
  position:relative;
  font-size:15px;
  line-height:1.6;
  color:var(--ink);
}
.learn-list li::before{
  content:"";
  position:absolute;
  left:6px;
  top:16px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--yellow);
}
/* Course Contents: semantic HTML ready for CMS input (h3/h4/p/b/hr only, no inline styles) */
.pane-card h4{
  color:var(--ink);
  font-size:22px;
  font-weight:600;
  margin-bottom:20px;
}
.pane-card h5{
  color:var(--navy);
  font-size:18px;
  font-weight:600;
  margin-bottom:20px;
}
.pane-card > h4:first-of-type{
  margin-top:5px;
}
.pane-card h5{
  color: var(--navy);
  font-size:18px;
  font-weight:600;
  line-height:1.6;
}
.pane-card hr{
  border:none;
  border-top:1px dashed var(--ink);
  width: 100px;
  margin:30px 0;
}
.pane-card p b{
  color:var(--ink);
  font-weight:600;
}
.pane-card ul{
  list-style-position: outside;
  line-height: 1.2;
  margin: 0px 0px 20px 20px;
}
.pane-card ul li{
	margin-bottom:5px;
}
.pane-card ul li ul{
	margin: 5px 0px 0px 20px;
	list-style-type: "- ";
}
.info-card{
  background:#fff;
  border:none;
  border-radius:16px;
  padding:30px 40px 80px 40px;
  position:sticky;
  top:120px;
  /* When the browser viewport is too short, let the right column scroll
     internally instead of clipping its bottom content */
  max-height:calc(100vh - 140px);
  overflow-y:auto;
}
.info-row{
  display:flex;
  gap:10px;
  padding:15px 0;
}
.info-row .k{
  color:var(--ink);
  flex:none;
  width:150px;
  font-weight:600;
  line-height:1.6;
}
.info-row .v{
  color:var(--ink);
  line-height:1.6;
  margin-left:auto;
  text-align:right;
}
.info-row .v i{
  font-size: 14px;
  font-style: normal;
  display: block;
  color:var(--muted);
}
.info-row .v .hl{
  display:block;
  font-size:14px;
  color:var(--gray);
  margin-top:2px;
}
.info-cta{
  display:grid;
  gap:15px;
  margin-top:30px;
}
.info-cta .btn,.info-cta .btn-ghost{
  text-align:center;
}
/* ===== Auxiliary pages (Contact / Sitemap / Legal) ===== */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:50px;
  padding:40px 0 80px;
}
.contact-form .f-row{
  margin-bottom:18px;
}
.contact-form label{
  display:block;
  font-size:13px;
  font-weight:600;
  color:var(--navy);
  margin-bottom:6px;
}
.contact-form input,.contact-form textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:10px;
  padding:12px 14px;
  font-size:14px;
  color:var(--ink);
  background:#fff;
  outline:none;
  box-sizing:border-box;
  font-family:inherit;
}
.contact-form input:focus,.contact-form textarea:focus{
  border-color:var(--blue);
}
.contact-form .btn{
  margin-top:6px;
}
/* Contact details as a table: label left, value right */
.ci-table{
  border-collapse:collapse;
  margin-top:26px;
}
.ci-table th{
  font-size:14px;
  letter-spacing:0.2em;
  color:var(--muted);
  text-align:left;
  white-space:nowrap;
  padding:0 30px 30px 0;
  vertical-align:middle;
}
.ci-table td{
  font-size:20px;
  line-height:1.6;
  color:var(--ink);
  padding:0 0 30px 0;
  vertical-align:middle;
}
.contact-map{
  border-radius:16px;
  overflow:hidden;
}
.contact-map .ph{
  height:340px;
}
/* Enquiry form sits in the right column of an .about-grid.wide block */
.about-grid.form-wrap{
  padding:0 0 80px;
  display:none;
}
.contact-form{
  padding:0;
  max-width:none;
}
.sitemap-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
  padding:40px 0 80px;
}
.sitemap-list{
  padding-bottom:80px;
  max-width:680px;
}
.sitemap-list .sm-sec{
  margin-bottom:50px;
}
.sitemap-list .sm-sec h3{
  font-size:24px;
  color:var(--ink);
  margin-bottom:20px;
}
.sitemap-list .sm-sec li a{
  display:block;
  padding:7px 0;
  font-size:14px;
  color:var(--ink);
}
.sitemap-list .sm-sec a:hover{
  color:var(--blue);
  text-decoration:underline;
}
/* About: sub-menu as ul/li with grey bullets + underlined links */
.sitemap-list .sm-sec ul{
  list-style:disc;
  margin:0;
  padding-left:20px;
  color:var(--gray);
}
.sitemap-list .sm-sec ul li a{
  text-decoration:underline;
}
.sitemap-list .sm-sec h3 a:hover{
  color:var(--blue2);
}
/* Legal pages (Accessibility / Disclaimer / Privacy): body text 60% wide, centred */
.legal-body{
  max-width:60%;
  margin:0 auto;
  padding-bottom:80px;
}
.legal-body p{
  font-size:16px;
  line-height:1.6;
  color:var(--ink);
  margin-bottom:30px;
}
.legal-body h3{
  font-size:22px;
  color:var(--navy);
  margin:30px 0 10px;
}
.legal-body a{
  color:var(--blue);
  text-decoration:underline;
}
.btn-full,.btn-ghost{
  width:100%;
  justify-content:center;
  padding:18px;
}
.btn-ghost{
  border:1px solid var(--ink);
  color:var(--ink);
  background:#fff;
  border-radius:999px;
  font-size:16px;
}
.btn-ghost:hover{
  background:var(--ink);
  color:#fff;
}
.speaker-list{
  max-width:760px;
}
.spk{
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px 20px;
  margin:12px 0;
  background:#fff;
}
.spk .nm{
  font-weight:600;
  color:var(--ink);
  font-size:15px;
}
.spk .tt{
  font-size:13px;
  color:var(--blue);
  font-weight:600;
  letter-spacing:.5px;
  margin:3px 0 8px;
}
.spk .bio{
  font-size:13px;
  color:var(--gray);
  line-height:1.8;
  display:none;
}
.spk.open .bio{
  display:block;
}
.spk .tgl{
  font-size:12px;
  font-weight:600;
  color:var(--navy);
  cursor:pointer;
  background:none;
  padding:4px 0;
}
/* Embedded placeholder <img>: keep the surface size, crop overflow via cover */
.ph,.photo,.ev-ph,.ni-thumb,.course-photo,.detail-hero-img,.carousel-slide,.carousel-thumbs .thumb{
  overflow:hidden;
}
.ph img,.photo img,.ev-ph img,.ni-thumb img,.course-photo img,.detail-hero-img img,.carousel-slide img,.carousel-thumbs .thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
/* ===== About / Vision / Governance content pages ===== */
.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
  padding:0px 0px 80px 0px;
}
/* Governance: asymmetric split / gaps between blocks */
.about-grid.wide{
  grid-template-columns:1fr 1.3fr;
  align-items:start;
}
/* About: text column wide, photo narrow (photo ≈ 40% of the row) */
.about-grid.ph-sm{ grid-template-columns:1.5fr 1fr; }
.about-grid.ph-sm-r{ grid-template-columns:1fr 1.5fr; }
.about-grid.gap{
  margin:44px 0;
}
.about-grid.end{
  padding-bottom:80px;
}
.about-grid .g-title-lg{ font-size:36px; }
.about-grid .g-title-md{ font-size:36px; }
.about-grid p{
  line-height:1.6;
  color:var(--ink);
}
/* Small spacing utilities (ex-inline) */
.mt14{ margin-top:14px; }
.mt18{ margin-top:18px; }
.mt20,.feature-event .btn,.ind-block .btn{ margin-top:20px; }
.mb10{ margin-bottom:10px; }
.photo{
  height:340px;
  border-radius:16px;
  background-size:cover;
  background-position:center;
  position:relative;
  overflow:hidden;
}
.photo .vid-badge{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background:rgba(10,35,72,.18);
}
.photo .vid-badge span{
  width:64px;
  height:64px;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  display:grid;
  place-items:center;
  color:var(--navy);
  box-shadow:0 8px 22px rgba(0,0,0,.3);
}
.photo .hub-vert{
  position:absolute;
  left:22px;
  top:50%;
  transform:translateY(-50%);
  color:#fff;
  font-weight:600;
  letter-spacing:3px;
  font-size:19px;
  line-height:1.5;
  text-shadow:0 2px 14px rgba(0,0,0,.4);
}
.photo .hub-cap{
  position:absolute;
  left:22px;
  bottom:16px;
  color:#dfe8f4;
  font-size:12px;
  letter-spacing:1.5px;
  font-weight:600;
}
/* Trading Hub banner overlay (centered title + bottom-left caption) */
.photo .hub-title{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:600;
  font-size:clamp(22px,3.4vw,40px);
  letter-spacing:2px;
  text-align:center;
}
.photo .hub-tag{
  position:absolute;
  left:16px;
  bottom:14px;
  color:rgba(255,255,255,.75);
  font-size:12px;
  letter-spacing:2px;
}
.photo.hub-bg{
  background:#2f3644;
}
.vision-block{
  margin:0px 0px 30px 0px;
}
.vision-block .vb-title{
  font-size:14px;
  letter-spacing:0.28em;
  color:var(--grayblue);
  margin-bottom:10px;
}
.vision-block h3{
  font-size:36px;
  color:var(--navy);
  line-height:1.2;
}
.vision-block p{
  font-size:18px;
  line-height:1.6;
  color:var(--ink);
  margin-top:20px;
  max-width:680px;
}
.member-table{
  width:100%;
  border-collapse:collapse;
  margin-top:10px;
  color:var(--ink);
  line-height:1.6;
}
.member-table td{
  padding:20px 0px;
  font-size:20px;
  vertical-align:top;
}
.member-table .role{
  width:200px;
}
.member-table .name{
  font-weight:400;
  padding:20px;
}
.tor-list{
  list-style:decimal;
  list-style-position: outside;
  margin: 17px 0px 0px 20px;
}
.tor-list li{
  padding: 0px 0px 15px 0px;
  position:relative;
  line-height:1.6;
  color:var(--ink);
}
/* ===== Resources ===== */
.res-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.res-grid .course-card .ph{
  height: 210px;
}
.res-grid .course-card .ph::after{
  top: 151px;
  width: 30px;
  height: 30px;
}
.res-grid .course-card .body {
  margin: -30px 0 0;
  border-radius: 30px 0 30px 30px;
  padding: 30px 20px;
}
/* Useful Links two-column split + section captions */
.useful-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:start;
}
.useful-h2{
  font-size: 36px;
  color: var(--navy);
  line-height: 1.2;
  padding-bottom:30px;
}
.ul-cap{
  font-size:24px;
  color:var(--ink);
}
.res-card .ph{
  height:140px;
}
.res-card p{
  font-size:13px;
  color:var(--gray);
  line-height:1.8;
  margin-top:8px;
}
.res-2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
}
/* Research & Industry Insights: image left (240x180), text right */
.res-2 .res-card{
  display:flex;
  align-items:center;
  gap:22px;
}
.res-2 .res-card .ph{
  width:240px;
  height:180px;
  flex:0 0 240px;
  overflow:hidden;
}
/* Featured resource cards are external links: keep the standard card hover lift
   (same as course-cards on the home page). */

@media (max-width:1000px){
.res-grid-plain,.res-grid{
  grid-template-columns:1fr 1fr;
}
}
/* ===== Events + Latest News (two columns at the bottom of the home page) ===== */
.en-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  align-items:stretch;
  /* Full-bleed backgrounds edge-to-edge; inner padding returns content to .wrap alignment */
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding-left:calc(50vw - 50%);
  padding-right:calc(50vw - 50%);
}
.en-grid > div:first-child{
  padding:80px 60px 80px 0;
}
.en-grid > div:last-child{
  padding:80px 0 80px 60px;
}
.ev-card{
  position:relative;
  display:block;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  transition:.25s;
}
.ev-ph{
  height:400px;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
/* Centered action button row under a section */
.center-btn{
  text-align:center;
  margin-top:26px;
}
/* Blue date box + white title overlaid at the bottom of the image (per Figma) */
.ev-info{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  display:flex;
  gap:18px;
  align-items:center;
  padding:20px 24px;
  background:linear-gradient(180deg,transparent,rgba(10,20,40,.75));
}
.ev-date{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:60px;
  flex:0 0 auto;
  background:var(--navy2);
  padding:10px 0;
  text-align:center;
  border-radius: 4px;
}
.ev-date .d1{
  font-size:32px;
  font-weight:600;
  color:#fff;
  line-height:1;
}
.ev-date .d2{
  font-size:18px;
  color:#fff;
  line-height:1;
}
.ev-date .d3{
  font-size:12px;
  letter-spacing: 0.15em;
  color:#fff;
  line-height:1;
}
.ev-info h4{
  font-size:24px;
  color:#fff;
  line-height:1.2;
}
.news-list{
  display:flex;
  flex-direction:column;
}
.news-item{
  display:flex;
  gap:20px;
  align-items:center;
  padding:0px 0px 24px 0px;
  transition:.2s;
}
.news-item:last-child{
  border-bottom:none;
  padding-bottom:10px;
}
.ni-thumb{
  width:270px;
  height:180px;
  flex:0 0 auto;
  border-radius:8px;
  background-size:cover;
  background-position:center;
}
.ni-body{
  flex:1;
  min-width:0;
}
.news-item:hover h4{
  color:var(--blue);
}
.ni-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.ni-date{
  font-size:16px;
  color:var(--blue2);
}
.ni-tag{
  font-size:14px;
  color:var(--white);
  background:var(--purple);
  border-radius:20px;
  padding:5px 15px;
  white-space:nowrap;
}
.news-item h4{
  font-size:20px;
  color:var(--ink);
  line-height:1.2;
  max-width:660px;
}
.link-list{
  margin:0px 0px 30px 0px;
}
.link-row{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0px 0px 10px 30px;
  font-size: 18px;
  color: var(--muted);
  position: relative;
  text-decoration: none;
  line-height: 1.4;
}
.link-row:before{
	content:" ";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	display: block;
	position: absolute;
	left: 0px;
	top: 10px;
	background-color: #FFD12B;
}
.link-row:hover{
  color:var(--navy);
  text-decoration: underline;
}
.link-row .ar{
  margin-left:auto;
  color:var(--blue);
  font-weight:600;
}
/* Useful Links: replace the arrow glyph with the pop_icon.png icon */
.link-row .ar::before{
  background-color:transparent;
  background-image:url('/themes/mynewtheme/images/pop_icon.png');
  background-size:contain;
  background-repeat:no-repeat;
  -webkit-mask:none;
  mask:none;
  width:22px;
  height:22px;
}
/* ===== News & Events ===== */
.feature-event{
  display:block;
  border-radius:16px;
  border:1px solid #D9D9D9;
  background:#fff;
  padding:24px;
  margin:0 0 30px;
  box-shadow:0 5px 15px rgba(11,60,140,.16);
  position: absolute;
    margin-top: -130px;
    z-index: 10;
}
.feature-event .fe-head{
  margin-bottom:22px;
}
.feature-event .fe-head .eyebrow{
  font-size:14px;
  letter-spacing:0.28em;
  color:var(--grayblue);
  display:block;
  margin-bottom:10px;
}
.feature-event .fe-head h2{
  font-size:36px;
  color:var(--navy);
  line-height:1.2;
}
.feature-event .fe-main{
  display:grid;
  grid-template-columns:480px auto 1fr; /* featured image fixed 480px */
  gap:24px;
  align-items:start;
}
.feature-event .ph{
  height:250px;
  min-height:0;
  border-radius:14px;
}
.feature-event .fe-body{
  padding:0;
  align-self:start;
}
.date-badge{
  /* Same look as .detail-date on event-detail.html (ev-date scaled up 20%) */
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:72px;
  flex:0 0 auto;
  background:var(--navy2);
  padding:12px 0;
  text-align:center;
  border-radius:4px;
  line-height:1.3;
}
.date-badge .d1{
  font-size:38px;
  font-weight:600;
  color:#fff;
  line-height:1;
}
.date-badge .d2{
  font-size:22px;
  color:#fff;
  line-height:1;
}
.date-badge .d3{
  font-size:14px;
  letter-spacing:0.15em;
  color:#fff;
  line-height:1;
}
.feature-event h3{
  font-size:28px;
  color:var(--navy2);
  margin:0 0 15px;
}
.feature-event p{
  line-height:1.6;
  color:var(--ink);
}
.event-card .ev-date{
  /* Same look as .ev-date on index.html, scaled down 20% */
  position:absolute;
  top:14px;
  right:14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:48px;
  flex:0 0 auto;
  background:var(--navy2);
  padding:8px 0;
  text-align:center;
  border-radius:4px;
}
.event-card .ev-date .d1{
  font-size:26px;
  font-weight:600;
  color:#fff;
  line-height:1;
}
.event-card .ev-date .d2{
  font-size:14px;
  color:#fff;
  line-height:1;
}
.event-card .ev-date .d3{
  font-size:12px;
  letter-spacing:0.15em;
  color:#fff;
  line-height:1;
}
.event-card .body,.news-card .body{
  display:flex;
  flex-direction:column;
  min-height:0;
}
.event-card .foot,.news-card .foot{
  display:flex;
  justify-content:flex-end;
  margin-top:auto;
  border-top:none;
}
.event-card .foot{
  padding-top:14px;
}
.event-card .loc{
  font-size:14px;
  font-weight:400;
  color:var(--muted);
  margin-bottom:10px;
}
.event-card h4, .news-card h4{
  font-size:22px;
  color:var(--ink);
}
.news-card p{
  color:var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-tabs{
  display:flex;
  gap:10px;
  margin:30px 0px;
  flex-wrap:wrap;
}
.news-tabs button{
  padding:10px 20px;
  border-radius:999px;
  font-size:13px;
  color:var(--gray);
  background:#fff;
  transition: .25s;
}
.news-tabs button:hover{
  background: var(--navy2);
  color: #fff;
}
.news-card .ph{
  background:linear-gradient(135deg,#d7e5f8,#7fa9e4);
  display:grid;
  place-items:center;
  color:rgba(255,255,255,.9);
  font-weight:600;
  letter-spacing:1px;
  position:relative;
  overflow:hidden;
}
.news-card .ph .tag2,
.news-card .ph .tag3,
.news-card .ph .tag4{
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
  display:inline-block;
  width:auto;
  font-size:12px;
  color:var(--white);
  background:var(--purple);
  border-radius:10px;
  padding:5px 15px;
  line-height:1;
}
.news-card .ph .tag3{
  color:#000;
  background:#BED915;
}
.news-card .ph .tag4{
  background:var(--navy);
}
.news-card .body{
  display:flex;
  flex-direction:column;
  min-height:0;
}
.news-card .dt{
  font-size:18px;
  color:var(--blue2);
  margin:0 0 10px;
}
.news-card .foot{
  padding-top:12px;
}
.news-list-page .page-banner {
	padding-bottom: 180px;
}
.news-list-page .course-card {
	box-shadow:0 5px 15px rgba(11,60,140,.16);
}
/* ===== Industry ===== */
.ind-block{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
  padding-bottom:80px;
}
.ind-block .eyebrow{
  font-size:14px;
  letter-spacing:0.28em;
  color:var(--grayblue);
  margin-bottom:10px;
}
.ind-block h3{
  font-size:36px;
  color:var(--navy);
  line-height:1.2;
  margin-bottom:20px;
}
.ind-block p{
  line-height:1.6;
  color:var(--ink);
}
/* ===== CTA ===== */
.cta{
  background: url(/themes/mynewtheme/images/action_bg.jpg) center / cover no-repeat;
  color:#fff;
  text-align:center;
  padding:80px 15px;
  position:relative;
  overflow:hidden;
}
.cta .eyebrow{
  font-size:14px;
  letter-spacing:0.28em;
  color:var(--white);
  margin-bottom:30px;
}
.cta h2{
  font-size:48px;
  line-height:1.2;
  margin-bottom:30px;
}
.cta p{
  color:var(--white);
  max-width:660px;
  margin:0 auto 30px;
  line-height:1.6;
}
/* ===== Footer ===== */
footer{
  background:var(--footer);
  color:#fff;
  font-size:16px;
}
.foot-top{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:36px;
  padding:54px 0 40px;
}
.footer-logo-img{
	max-width: 328px;
	height:auto;
}
.foot-logo .en{
  font-size:12px;
  letter-spacing:1.8px;
  color:#8fb3e8;
  margin-top:4px;
}
.foot-logo .slogan{
  margin-top:10px;
  line-height:1.4;
  color:#fff;
  font-size:22px;
}
.foot-logo .contact{
  margin-top:16px;
}
.foot-logo .lbl{
  color:#fff;
  font-weight:600;
}
/* Footer contact details as a table: label left, value right */
.ct-table{
  margin-top:6px;
  border-collapse:collapse;
}
.ct-table th{
  text-align:left;
  padding:2px 10px 2px 0;
  vertical-align:top;
  white-space:nowrap;
}
.ct-table td{
  text-align:left;
  vertical-align:top;
  padding:2px 0;
}
.ct-table td a{
  color:#fff;
  text-decoration:underline;
}
.ct-table td a:hover{
  text-decoration:none;
}
.foot-col h5{
  font-size:14px;
  color:var(--grayblue);
  letter-spacing:0.28em;
  margin-bottom:20px;
}
.foot-col a{
  display:block;
  padding:10px 0;
  color:#fff;
  font-size:14px;
}
.foot-col a:hover{
  color:#fff;
  text-decoration:underline;
}
.socials{
  display:flex;
  gap:10px;
  margin-top:12px;
}
.socials a{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:600;
  font-size:12px;
  margin-right:10px;
}
.socials a:hover{
	opacity:0.8;
}
.socials img{
  width:30px;
  height:30px;
  display:block;
}
.foot-bottom{
  padding:18px 0;
  font-size:12px;
  color:#fff;
}
.foot-bottom .wrap{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:space-between;
}
.foot-bottom .links{
  display:flex;
  gap:16px;
}
.foot-bottom .links a:hover{
  color:#fff;
  text-decoration:underline;
}
/* ===== Responsive ===== */
@media (max-width:1000px){
.course-layout{
  grid-template-columns:1fr;
  padding-bottom:60px;
}
.filter-panel{
  position:static;
}
.card-grid-3,.res-grid{
  grid-template-columns:repeat(2,1fr);
}
.about-grid,.ind-block,.feature-event{
  grid-template-columns:1fr;
}
/* About: photo rows stack vertically on tablet/mobile – image, then text */
.about-grid.ph-sm,.about-grid.ph-sm-r{
  grid-template-columns:1fr;
}
/* About (first block): photo first, then text – the grid source has text first */
.about-grid.ph-sm .photo{
  order:-1;
}
/* Governance: vision block rows stack, title block on its own line */
.about-grid.wide{
  grid-template-columns:1fr;
}
/* Vision & Mission: every block shows image first, then text on mobile */
.vandm .about-grid .photo{
  order:2;
}
/* Industry: middle block's source order is image-then-text – flip it to
   text first, image second on mobile, matching the other two blocks */
section.pale .ind-block .photo{
  order:1;
}
.feature-event .fe-main{
  grid-template-columns:1fr;
}
.contact-top,.sitemap-grid{
  grid-template-columns:1fr;
}
.foot-top{
  grid-template-columns:1fr 1fr;
}
}
@media (max-width:1000px){
/* --- Header (mobile, per Figma mobile frame) --- */
.gov-bar .right{
  display:none;
}
.gov-bar .wrap{
  justify-content:flex-start;
  gap:0;
  text-align:left;
  padding: 10px 15px;
}
.main-nav{
  position:sticky;
  top:0;
  z-index:985;
}
.main-nav .wrap{
  padding:0 15px;
  min-height:60px;
  gap:8px;
  flex-wrap:wrap;
}
.logo{
  margin:0;
  order:1;
}
.header-logo img {
    width: 160px;
}
.nav-utils:before {
	display:none;
}
.nav-utils{
  position:absolute;
  right:15px;
  top:0px;
  height:60px;
  order:2;
  margin-left:0;
  gap:12px;
}
.btn-explore{
  display:none;
}
.nav-toggle{
  display:inline-flex;
  z-index:1005;
}
/* --- Mobile menu: right-side slide-in drawer + backdrop --- */
.menu{
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  width:min(330px,86vw);
  margin:0;
  padding:40px 0px;
  background:#fff;
  box-shadow:-14px 0 40px rgba(11,60,140,.22);
  transform:translateX(105%);
  transition:transform .38s cubic-bezier(.22,.8,.3,1);
  z-index:1000;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  gap:0;
  overflow-y:auto;
  border:none;
}
.menu.open{
  transform:translateX(0);
}
/* Close (X) button at the top-right of the drawer: hidden everywhere
   except when the drawer is open (mobile). Desktop keeps it invisible. */
.menu-close{
  display:none;
  position:fixed;
  top:14px;
  right:14px;
  z-index:1010;
  background:none;
  border:none;
  color:var(--ink);
  padding:6px;
  cursor:pointer;
}
.menu.open .menu-close{
  display:block;
}
/* Hide the burger (and its own X animation) while the drawer is open - applies on every page, not just the home page */
.menu.open ~ .nav-utils .nav-toggle{
  display:none;
}
.menu a,.menu .has-dd{
  flex:none;
  padding:16px 28px;
  border-bottom:1px solid var(--line);
  white-space:normal;
  flex-shrink:1;
  justify-content:flex-start;
  font-size:15px;
  font-weight:600;
  color:var(--ink);
}
.menu a:hover,.menu .has-dd:hover{
  color:var(--navy);
}
.menu a.active,.menu .has-dd.active{
  color:var(--navy);
  box-shadow:inset 4px 0 0 var(--blue);
}
.menu a::after,.menu .has-dd::after{
  display:none;
}
.menu a br{
  display:none;
}
.menu .has-dd{
  flex-wrap:wrap;
}
.dropdown{
  position:static !important;
  display:block !important;
  box-shadow:none;
  border:none;
  border-radius:0;
  padding:10px 0px 0px 0px;
  min-width:0;
  background:var(--pale);
  width:100%;
}
.dropdown a{
  padding:10px 20px 10px 20px;
  white-space:normal;
  text-align: left;
}
.dropdown a:hover{
  background:rgba(31,111,224,.08);
  color:var(--navy);
}
/* Language selector: never flatten inline on mobile – keep it hidden by default,
   and show it as a fixed floating card only while .open is set by JS */
.lang-dd .dropdown{
  display:none !important;
}
.lang-dd.open .dropdown{
  display:block !important;
  position:fixed !important;
}
/* About submenu in the drawer: no tint, no lines, left aligned with parent items */
.menu .dropdown{
  background:transparent;
}
.menu .dropdown a{
  background:none;
  border-bottom:none;
  padding-left:28px;
}
.menu .dropdown a:hover{
  background:none;
}
/* All pages: gov links as a blue bar below the logo (mobile only) */
.menu-gov{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:6px 15px;
  padding:8px 16px;
  background:var(--govbar);
  color:#fff;
  width:100%;
}
.menu-gov a{
  color:#fff;
  font-size:12px;
  padding:0px;
}
.menu-gov a:hover{
  text-decoration:underline;
}
.menu-backdrop{
  position:fixed;
  inset:0;
  background:rgba(13,30,60,.45);
  opacity:0;
  visibility:hidden;
  transition:opacity .3s ease,visibility .3s;
  z-index:970;
}
.menu-backdrop.show{
  opacity:1;
  visibility:visible;
}
/* Upcoming / Latest news split block: stack vertically on mobile */
.en-grid{
  grid-template-columns:1fr;
}
.en-grid > div:first-child{
  padding:40px 15px;
}
.en-grid > div:last-child{
  padding:40px 15px;
}
}
/* --- Course detail for tablet --- */
@media (max-width:1200px){
.detail-grid {
    grid-template-columns: minmax(0, 1fr) 440px;
}
.info-col .course-photo {
    width: 440px;
}
.tabs button {
    padding: 11px 10px;
}
}
@media (max-width:1000px){
/* --- Course detail / event detail: stack columns below tablet --- */
.detail-grid{
  grid-template-columns:minmax(0,1fr);
  grid-template-areas:"hero" "info" "main";
}
.detail-grid .tabs{
  top:108px; /* mobile sticky header is ~141px tall; stick below it, not under it */
}
.course-hero::before{
  left:0; /* mobile: hero is full width, no need to stretch */
  right:0;
  display:block;
}
.detail-grid > div:nth-child(2){
  margin-top:0; /* no overlay on mobile */
}
.detail-grid > div:nth-child(2)::before{
  display:none; /* no rounded sheet on mobile */
}
.detail-grid .info-col{
  border-left:none;
}
.info-card{
  position:static;
}
.info-col .course-photo{
  width:100%;
  height:200px;
}
/* --- Layout (single column, per Figma mobile frame) --- */
.card-grid-3,.res-grid,.res-2,.en-grid{
  grid-template-columns:1fr;
}
.hero{
  margin:15px 15px 0;
  border-radius:20px;
}
.hero .wrap{
  padding-top:56px;
  padding-bottom:70px;
  min-height:0;
}
.hero h1{
  font-size:32px;
  margin: 10px 0px;
}
/* Figma mobile: hero action buttons stack vertically */
.hero-actions{
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
}
.search-zone{
  margin:-44px 14px 0;
  border-radius:20px;
}
.page-title{
  font-size:28px;
}
.sec-b0{ padding:48px 0 0; overflow:hidden; }
.sec-head h2{
  font-size:24px;
}
.btn-explore{
  width:100%;
  justify-content:center;
}
.foot-top{
  grid-template-columns:1fr;
}
.foot-top,.foot-logo,.foot-col{
  text-align:left;
}
.foot-logo .contact{
  margin:10px 0 0;
}
.foot-col h5{
  margin-top:22px;
}
/* Mobile footer bottom: links row first, copyright last, both left aligned */
.foot-bottom .wrap{
  flex-direction:column-reverse;
  align-items:flex-start;
}
/* Figma mobile: course/event/news card dates are uppercase */
.course-card .foot .date,.ev-card .date,.news-card .date,.event-card .date{
  text-transform:uppercase;
}
.search-row{
  flex-direction:column;
  align-items:stretch;
}
/* Filter accordion: groups collapse by default, tap a title to expand */
.f-group label{
  display:none;
}
.f-group.open label{
  display:flex;
}
.f-group .g-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  margin:0;
  padding:10px 0;
  border-bottom:1px solid var(--line);
}
.f-group .g-title .chev{
  font-size:12px;
  color:var(--gray);
  transition:transform .2s;
}
.f-group.open .g-title .chev{
  transform:rotate(180deg);
}
}
/* ===== Accessibility ===== */
.skip-link{
  position:absolute;
  top:-48px;
  left:16px;
  z-index:1000;
  padding:10px 16px;
  background:var(--navy);
  color:#fff;
  font-weight:600;
  border-radius:0 0 6px 6px;
  transition:top .2s;
}
.skip-link:focus{
  top:0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible{
  outline:3px solid var(--blue);
  outline-offset:2px;
}

/* =========================================================
   Detail page (event-detail / news-detail)
   Shared styles for News & Events single-article pages.
   ========================================================= */

/* --- Blue breadcrumb strip --- */
.detail-crumb-bar{
  background-color:#4A90CD;
  color:#fff;
  padding:14px 0;
  font-size:13px;
}
.detail-crumb{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.detail-crumb a{
  color:rgba(255,255,255,.92);
  text-decoration:none;
}
.detail-crumb a:hover{ text-decoration:underline; }
.detail-crumb .sep{ color:rgba(255,255,255,.55); }
.detail-crumb .current{ color:#fff; font-weight:600; }

/* --- Hero banner (light blue gradient, bottom rounded) --- */
.detail-banner{
  position:relative;
  background:url('/themes/mynewtheme/images/ball_bg.jpg') center/cover no-repeat;
  padding:56px 0 72px;
  border-radius:0 0 32px 32px;
  overflow:hidden;
}
.detail-back{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:14px;
  letter-spacing:0.28em;
  text-decoration:none;
  margin-bottom:30px;
}
.detail-back .arrow{ font-size:18px; line-height:1; }
.detail-back:hover{ color:var(--navy); }

.detail-hero-main{
  display:grid;
  grid-template-columns:3fr 2fr; /* left 60% / right image 40% */
  gap:40px;
  align-items:center;
}
.detail-hero-left{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:0;
}
.dl-row{
  display:flex;
  align-items:flex-start;
  gap:50px;
}
.detail-date{
  /* Same look as .ev-date on index.html, scaled up ~20% */
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:72px;
  flex:0 0 auto;
  background:var(--navy2);
  padding:12px 0;
  text-align:center;
  border-radius:4px;
}
.detail-date .d1{
  font-size:40px;
  font-weight:600;
  color:#fff;
  line-height:1;
}
.detail-date .d2{
  font-size:22px;
  color:#fff;
  line-height:1;
}
.detail-date .d3{
  font-size:15px;
  letter-spacing:0.15em;
  color:#fff;
  line-height:1;
}
.detail-title{
  font-size:42px;
  font-weight:600;
  color:var(--navy2);
  line-height:1.18;
  margin:0;
}
.detail-hero-img{
  height:300px;
  background:#d5dbe5;
  border-radius:16px;
}

/* --- Article body --- */
.detail-body{
  background:#fff;
  padding:50px 0 90px;
}
.detail-wrap{
  max-width:760px;
}
.detail-lead{
  color:var(--blue);
  font-size:20px;
  font-weight:600;
  line-height:1.55;
  margin:0 0 24px;
}
.detail-body h2{
  color:var(--navy);
  font-size:24px;
  line-height:1.4;
  margin:0 0 30px;
}
.detail-body p{
  color:var(--ink);
  font-size:18px;
  line-height:1.6;
  margin:0 0 30px;
}
.detail-body p a{
	text-decoration:underline;
}
.detail-updated{
  color:var(--gray) !important;
  font-size:16px;
  margin:0 0 30px !important;
}

/* --- Inline image carousel --- */
.detail-carousel{
  margin:36px 0 10px;
}
.carousel-stage{
  position:relative;
  border-radius:16px 16px 0px 0px;
  overflow:hidden;
  background:#d5dbe5;
  height:420px;
}
.carousel-slide{
  position:absolute;
  inset:0;
  background:#d5dbe5;
  opacity:0;
  transition:opacity .3s;
}
.carousel-slide.active{ opacity:1; }
/* Carousel slide colour variants (ex-inline gradients) */
.carousel-slide.s1{ background:linear-gradient(135deg,#c9d6ee,#9fb8e0); }
.carousel-slide.s2{ background:linear-gradient(135deg,#d5e5d8,#a8c9b0); }
.carousel-slide.s3{ background:linear-gradient(135deg,#ead9c9,#d4b896); }
.carousel-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:60px;
  height:60px;
  border-radius:50%;
  border:1px solid #FFF;
  background:var(--line);
  color:var(--white);
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
}
.carousel-arrow.prev{ left:18px; }
.carousel-arrow.next{ right:18px; }
.carousel-arrow:hover{ background:var(--gray); }
.carousel-caption{
  font-size:14px;
  color:var(--gray);
  padding:15px;
  background-color:var(--white);
  border-radius:0px 0px 16px 16px;
}
.carousel-thumbs{
  position:absolute;
  bottom:14px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:3;
}
.carousel-thumbs .thumb{
  width:82px;
  height:55px;
  border:1px solid #fff;
  background:#d5dbe5;
  cursor:pointer;
  padding:0;
}
.carousel-thumbs .thumb.active{
  border:3px solid #fff;
}

.no-crop {
    height: auto !important;
	overflow: initial !important;
}

.no-crop img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
	border-radius:16px;
}

.grad-bg{
  background: linear-gradient(198.48deg, #FFFFFF 60%, #C0D5FF 100%), #FFFFFF;
  position:relative;
  padding-top:30px;
}

/* --- Mobile --- */
@media (max-width: 1000px){
  .detail-banner{ padding:24px 0 50px; border-radius:0 0 22px 22px; }
  .detail-hero-main{ grid-template-columns:1fr; gap:22px; }
  .detail-hero-left{ flex-direction:column; gap:14px; }
  .detail-title{ font-size:30px; }
  .detail-hero-img{ height:200px; }
  .detail-wrap{ max-width:100%; }
  .detail-lead{ font-size:17px; }
  .carousel-stage{ height:240px; }
  .grad-bg{ padding-top:10px; }
}

/* =========================================================
   Course detail: pane card + Day accordion
   ========================================================= */
.pane-card{
  background:#fff;
  border-radius:14px;
  padding:26px 28px;
  margin-top:18px;
}
/* Shared tint for all four course-detail content boxes – adjust this colour to restyle them */
.cd-box{
	border: 1px solid var(--grayblue);
}
.cc-box{
	background-color: #eef3fe;
}
.cw-box{
	background-color: var(--white);
}
.pane-card h3{
  margin:0 0 20px;
  font-size:24px;
  color:var(--navy);
}
.day-acc{
}
.day-acc:first-of-type{ border-top:none; }
.day-acc-head{
  width:100%;
  display:flex;
  justify-content:flex-start;
  align-items:center;
  gap:16px;
  background:none;
  border:none;
  padding:16px 0;
  cursor:pointer;
  font-size:20px;
  color:var(--ink);
  text-align:left;
}
.day-acc-head:hover{ color:var(--blue); }
.day-ph{
  flex:none;
}
.day-ph img{
  width:56px;
  height:56px;
  border-radius:50%;
  object-fit:cover;
  display:block;
}
.day-arrow{
  flex:none;
  margin-left:auto;
  color:var(--navy);
  font-size:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:color .2s;
}
.day-acc.open .day-arrow{
  color:var(--blue);
}
.day-acc-body{
  max-height:0;
  overflow:hidden;
  opacity:0;
  margin:0 0 0 50px;
  padding:0 0 0 20px;
  border-left:2px solid var(--navy);
  transition:max-height .45s ease, opacity .35s ease, margin .45s ease, padding .45s ease;
}
.day-acc.open .day-acc-body{
  max-height:900px;
  opacity:1;
  margin:15px 0 15px 50px;
  padding:0 0 0 20px;
}
.day-acc-body p{
  margin:0;
  font-size:14px;
  line-height:1.8;
  color:var(--ink);
}
.day-title{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.day-sub{
  font-size:14px;
  color:var(--navy);
}

/* ===== Below 1320px: content keeps 15px side padding; full-bleed banners stay edge-to-edge ===== */
@media (max-width:1420px){
  .wrap,
  .gov-bar .wrap,
  .main-nav .wrap,
  .foot-bottom .wrap{
    padding-left:15px;
    padding-right:15px;
  }
  /* Banners stay full-bleed with their original inner inset */
  .hero .wrap,
  .page-banner .wrap{
    padding-left:15px;
    padding-right:15px;
  }
  .hero {
    margin: 20px 15px 0;
  }
}


/* Mobile Version Addon */
@media (max-width:1000px){
body{
  font-size:16px;
}
.about-grid {
    padding-bottom: 60px;
}
.sec-tp80 {
    padding-top: 60px !important;
}
.sec-bp80 {
    padding-bottom: 60px !important;
}
.en-grid {
	background: none;
}
.en-grid > div:first-child,
.en-grid > div:last-child {
	padding: 40px 0px;
}
.news-item {
	flex-direction: column;
}
.ni-thumb {
	width:100%;
	height:auto;
}
.hero .kicker {
    font-size: 12px;
	margin-bottom: 5px;
}
.hero .sub {
    font-size: 16px;
    margin: 10px 0px;
}
.btn, .btn-ghost {
    font-size: 14px;
	padding: 15px 30px;
}
.hero-dots {
    left: 15px;
    bottom: 15px;
}
.hero .wrap {
	padding:0px 0px 50px 0px;
}
.hero-slide {
	width:100%;
}
.hero-bg {
	margin: 15px;
	width: calc(100% - 30px) !important;
	height: 280px !important;
	border-radius:16px;
	background-position: right;
}
.hero {
	margin: 0px;
	padding:310px 15px 15px 15px;
	border-radius: 0px;
	background-color: var(--govbar);
}
.sec-head .eyebrow {
    font-size: 12px;
    margin-bottom: 5px;
}
.about-lead {
    font-size: 28px;
}
.about-grid p {
    font-size: 16px;
}
.about-copy {
    margin: 10px 0px;
}
.sec-head .more, .wrap .more {
    font-size: 14px;
}
.card h4 {
    font-size: 18px;
    margin-bottom: 15px;
}
.card .foot .date {
    font-size: 12px;
}
.ni-date{
  font-size:12px;
}
.news-item h4 {
    font-size: 18px;
}
footer {
    font-size: 14px;
}
.footer-logo-img {
    max-width: 260px;
}
.foot-logo .slogan {
    font-size: 18px;
}
.foot-col h5 {
    font-size: 12px;
    margin-bottom: 10px;
}
.foot-top {
    gap: 20px;
    padding: 30px 0px;
}
.foot-bottom .wrap {
    gap: 20px;
}
.page-banner {
    padding: 40px 0px;
	min-height:400px;
}
.breadcrumb {
    font-size: 12px;
}
.hero .wrap, .page-banner .wrap {
	padding-left: 15px;
	padding-right: 15px;
}
.about-grid .g-title-lg,
.about-grid .g-title-md {
    font-size: 24px;
}
.about-grid {
    gap: 20px;
}
.vision-block {
    margin: 0px;
}
.member-table td {
	margin-top:0px;
}
.member-table td {
    padding: 10px 0px;
    font-size: 16px;
	display:block;
	width: 100%;
}
.member-table .name {
    width: 100%;
    padding: 10px 0px;
}
.member-table .role {
    width: 100%;
    padding: 10px 0px 0px 0px;
	font-weight:600;
}
.tor-list li {
    font-size: 16px;
}
.cta {
    padding: 60px 15px;
}
.cta .eyebrow {
    font-size: 12px;
    margin-bottom: 15px;
}
.cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
}
.cta p {
    font-size: 16px;
    margin: 0 auto 15px;
}
.page-banner .page-title {
    margin: 40px 0px 15px 0px;
    max-width: 100%;
}
.page-banner .page-desc {
    font-size: 16px;
    max-width: 100%;
    margin-top: 0px;
}
.res-2 .res-card {
	flex-direction: column;
}
.res-2 .res-card .ph {
    width: 100%;
    height: 180px;
	flex: 0 0 180px;
    border-radius: 16px 16px 0px 0px;
}
.useful-grid {
    grid-template-columns: 1fr;
    gap: 20px;
}
.useful-h2 {
    font-size: 18px;
    padding-bottom:20px;
}
.ul-cap {
    font-size: 18px;
}
.link-row {
    padding: 10px 6px 10px 20px;
    font-size: 16x;
}
.feature-event {
    position: static;
    margin-top: 0px;
}
.feature-event .fe-head .eyebrow {
    font-size: 12px;
    margin-bottom: 5px;
}
.feature-event .fe-head h2 {
    font-size: 28px;
}
.feature-event h3 {
    font-size: 18px;
}
.feature-event p {
    font-size: 16px;
}
.mt20, .feature-event .btn, .ind-block .btn {
    margin-top: 10px;
	width:100%;
	text-align:center;
	justify-content: center;
}
.event-card .loc {
    font-size: 12px;
    margin-bottom: 5px;
}
.news-card .dt {
    font-size: 12px;
}
.ind-block{
  padding-bottom:60px;
}
.ind-block .eyebrow {
    font-size: 12px;
    margin-bottom: 5px;
}
.ind-block h3 {
    font-size: 28px;
    margin-bottom: 10px;
}
.ind-block p {
    font-size: 16px;
}
.legal-body {
    max-width: 100%;
	padding-bottom:60px;
}
.vision-block .vb-title {
    font-size: 12px;
    margin-bottom: 5px;
}
.vision-block h3 {
    font-size: 24px;
}
.dl-row {
    gap: 10px;
}
.detail-body p {
    font-size: 14px;
    margin: 0 0 15px;
}
.detail-body h2 {
    font-size: 20px;
    margin: 0 0 15px;
}
.sitemap-list{
  padding-bottom:60px;
}
.sitemap-list .sm-sec h3 {
    font-size: 22px;
    margin-bottom: 10px;
}
.course-hero {
	min-height:350px;
    justify-content: flex-start;
    padding-top: 30px;
}
.detail-back {
    font-size: 12px;
    margin-bottom: 15px;
}
.info-col .course-photo {
	border-radius: 16px;
}
.info-card {
    padding: 15px 0px;
    position: sticky;
}
.info-row {
    font-size: 14px;
	border-bottom:1px solid #E4E8ED;
}
.info-card .no-border {
	border-bottom:none !important;
}
.pane p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}
.pane-card ul {
    font-size: 16px;
	margin-bottom:15px;
}
.pane-card h4 {
    font-size: 18px;
  margin-bottom:15px;
}
.pane-card h5 {
    font-size: 16px;
}
.day-acc-body p {
    font-size: 12px;
    line-height: 1.6;
}
.inside_pd {
	padding-left: 0px;
    padding-right: 0px;
}
.inside_pd {
	padding-left: 0px;
    padding-right: 0px;
}
.inside_pd .en-grid > div:first-child,
.inside_pd .en-grid > div:last-child,
.inside_pd .detail-grid .course-hero,
.inside_pd .detail-grid .info-col,
.inside_pd .detail-grid .pane
 {
	padding-left: 15px;
    padding-right: 15px;
}
.page-banner {
	background-position:right;
}

.ci-table th{
  padding:0 0px 5px 0;
  display: block;
  width:100%;
}
.ci-table td{
  display: block;
  width:100%;
}
}
/* ============================================================
   PER-PAGE BANNER BACKGROUND IMAGES
   Each page's banner carries its own class. bg-placeholder.jpg
   is a gray placeholder - swap each URL below with the real
   photo for that page. File paths are relative to assets/.
   ============================================================ */
.bg-about{ background-image:url('/themes/mynewtheme/images/banner_bg.jpg'); }
.bg-accessibility{ background-image:url('/themes/mynewtheme/images/round_bg.jpg'); }
.bg-contact{ background-image:url('/themes/mynewtheme/images/contact_bg.jpg'); }
.bg-courses{ background-image:url('/themes/mynewtheme/images/courses_bg.jpg'); }
.bg-disclaimer{ background-image:url('/themes/mynewtheme/images/round_bg.jpg'); }
.bg-governance{ background-image:url('/themes/mynewtheme/images/governance_bg-2.jpg'); }
.bg-industry{ background-image:url('/themes/mynewtheme/images/industry_bg.jpg'); }
.bg-news-events{ background-image:url('/themes/mynewtheme/images/news_bg.jpg'); }
.bg-privacy{ background-image:url('/themes/mynewtheme/images/round_bg.jpg'); }
.bg-resources{ background-image:url('/themes/mynewtheme/images/resources_bg.jpg'); }
.bg-sitemap{ background-image:url('/themes/mynewtheme/images/round_bg.jpg'); }
.bg-vision-mission{ background-image:url('/themes/mynewtheme/images/banner_bg.jpg'); }
.bg-event-detail{ background-image:url('/themes/mynewtheme/images/line2_bg.jpg'); }
/* Course detail: background behind the hero block (desktop only).
   Swap the URL below with the real photo for this spot. */
.bg-course-hero::before{ background-image:url('/themes/mynewtheme/images/ball_bg.jpg'); }

.bg-courses .breadcrumb span:last-child,
.bg-courses .page-title,
.bg-courses .page-desc,
.bg-resources .breadcrumb span:last-child,
.bg-resources .page-title,
.bg-resources .page-desc,
.bg-news-events .breadcrumb span:last-child,
.bg-news-events .page-title,
.bg-news-events .page-desc,
.bg-industry .breadcrumb span:last-child,
.bg-industry .page-title,
.bg-industry .page-desc,
.bg-contact .breadcrumb span:last-child,
.bg-contact .page-title,
.bg-contact .page-desc,
.bg-governance .breadcrumb span:last-child,
.bg-governance .page-title,
.bg-governance .page-desc {
	color: #FFF;
}	
/* ============================================================
   LIGHT SCROLL-REVEAL (see scripts/reveal.js)
   Sections fade in with a small rise as they enter the viewport.
   Only applies when JS is active (.js-reveal added by the script).
   ============================================================ */
.js-reveal main section,
.js-reveal main .wrap > .en-grid{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .55s ease, transform .55s ease;
}
.js-reveal main section.reveal-in,
.js-reveal main .wrap > .en-grid.reveal-in{
  opacity:1;
  transform:none;
}
@media (prefers-reduced-motion: reduce){
  .js-reveal main section,
  .js-reveal main .wrap > .en-grid{
    opacity:1;
    transform:none;
    transition:none;
  }
}
/* Home en-grid halves (Upcoming / Latest News) – swap each URL with the real photo.
   Desktop/tablet: both images are full-bleed, side by side (each 50% width).
   Mobile: each half stacks full-width (Upcoming top, Latest News bottom). */
@media (min-width:1001px){
  .en-grid{
    background-image:url('/themes/mynewtheme/images/line_bg.jpg'),url('/themes/mynewtheme/images/gd_bg.jpg');
    background-position:left center,right center;
    background-size:50% 100%,50% 100%;
    background-repeat:no-repeat;
  }
}
@media (max-width:1000px){
  .bg-events{ background-image:url('/themes/mynewtheme/images/line_bg.jpg'); background-size:cover; background-position:center; background-repeat:no-repeat; }
  .bg-news{ background-image:url('/themes/mynewtheme/images/gd_bg.jpg'); background-size:cover; background-position:center; background-repeat:no-repeat; }
}
/* Mobile: hide the hero black gradient overlay */
@media (max-width:1000px){
  .hero::after{ display:none; }
}

.home-main{
	background: url('/themes/mynewtheme/images/home_bg.jpg') center top no-repeat;
	background-size: auto;
}
/* ===== News detail banner ===== */
.bg-news-detail{ background-image:url('/themes/mynewtheme/images/round_bg.jpg'); }

/* ===== CTA overlay click fix =====
   .cta::before is an absolute full-bleed glow layer that paints above
   static-positioned children and swallows pointer events. Lift the direct
   children above it so the yellow CTA button stays clickable. */
.cta > *{
  position:relative;
  z-index:1;
}

/* Gov links inside the mobile drawer: small text, no blue bar
   (menu-gov was moved from the nav footer into .menu) */
@media (max-width:1000px){
  .menu .menu-gov{
    display:block;
    width:auto;
    margin:0;
    padding:0;
    background:none;
    text-align:left;
    justify-content:flex-start;
    gap:0;
  }
  .menu .menu-gov a{
    display:block;
    color:var(--ink);
    font-size:12px;
    line-height:1.5;
    padding:12px 28px;
	text-align: left;
  }
  .menu .menu-gov a:hover{
    text-decoration:none;
    color:var(--navy);
  }
}

/* ===== Language-specific Chinese font stacks (added per client request 2026-10-31) ===== */
/* Traditional Chinese: most common sans (hei) font on Windows is Microsoft JhengHei */
html[lang="zh-hant"] body,html[lang="tc"] body{
  font-family: 'Noto Sans TC','Roboto','Microsoft JhengHei','PingFang TC','Hiragino Sans CNS',sans-serif;
  font-weight:500;
}
/* Simplified Chinese: most common sans (hei) font on Windows is Microsoft YaHei */
html[lang="zh-hans"] body,html[lang="sc"] body{
  font-family: 'Noto Sans SC','Roboto','Microsoft YaHei','PingFang SC','Hiragino Sans GB',sans-serif;
  font-weight:500;
}

/* ===== Homepage video thumbnail + lightbox ===== */
.video-thumb{
  background:#0b1b33;
}
.video-thumb .vid-badge{
  border:0;
  padding:0;
  font:inherit;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
}
.video-lightbox{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(4,12,26,.86);
}
.video-lightbox[hidden]{
  display:none;
}
.video-lightbox__dialog{
  position:relative;
  width:min(1120px,100%);
  max-height:calc(100vh - 48px);
  background:#000;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 28px 80px rgba(0,0,0,.55);
}
.video-lightbox__dialog video{
  display:block;
  width:100%;
  max-height:calc(100vh - 48px);
  background:#000;
}
.video-lightbox__close{
  position:absolute;
  top:12px;
  right:12px;
  z-index:2;
  width:40px;
  height:40px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  color:var(--navy);
  font-size:22px;
  line-height:1;
  cursor:pointer;
  display:grid;
  place-items:center;
  box-shadow:0 4px 14px rgba(0,0,0,.3);
}
.video-lightbox__close:hover{
  background:#fff;
}
@media (max-width:640px){
  .video-lightbox{
    padding:12px;
  }
  .video-lightbox__dialog,
  .video-lightbox__dialog video{
    max-height:calc(100vh - 24px);
  }
  .video-lightbox__close{
    top:8px;
    right:8px;
    width:36px;
    height:36px;
  }
}
