/* ===============================================================
   MASTERSKILLS · CORPORATE COURSE YEARBOOK PREMIUM — BATCH 01–10
   Scope: only #main-content.msy-page
   Does not modify topbar, site-header, footer, or floating support.
   =============================================================== */
#main-content.msy-page{
  --msy-navy:#0b2e49;
  --msy-blue:#103d61;
  --msy-gold:#d39a34;
  --msy-ink:#19364e;
  --msy-muted:#50697c;
  --msy-line:#dfe7ed;
  color:var(--msy-ink);
  background:#fff;
  padding-bottom:0;
  overflow:hidden;
}
/* Corporate Premium hero aligned to our_customers.htm: bright blue,
   shallow banner, photographic subject on right with a natural transition. */
#main-content.msy-page .msy-hero{
  padding:0!important;
  margin:0!important;
  background:#0468b1!important;
}
#main-content.msy-page .msy-hero .home-hero__viewport{
  background:#0468b1!important;
  min-height:438px!important;
  height:438px!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:hidden;
  isolation:isolate;
}
#main-content.msy-page .msy-hero .home-hero__track{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  transform:none!important;
}
#main-content.msy-page .msy-hero .home-hero__slide{
  position:relative!important;
  min-width:100%!important;
  background:#0468b1!important;
  margin:0!important;
}
#main-content.msy-page .msy-hero .home-hero__slide img{
  position:absolute!important;
  top:0!important;
  left:auto!important;
  right:0!important;
  bottom:0!important;
  width:60%!important;
  height:100%!important;
  max-width:none!important;
  opacity:1!important;
  object-fit:cover!important;
  object-position:55% 32%!important;
  transform:none!important;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.35) 15%,#000 34%);
  mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.35) 15%,#000 34%);
}
#main-content.msy-page .msy-hero .home-hero__viewport::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:linear-gradient(90deg,rgba(4,104,177,0) 0%,rgba(4,104,177,0) 51%,rgba(4,104,177,.04) 80%,rgba(4,104,177,.08) 100%)!important;
  pointer-events:none;
}
#main-content.msy-page .msy-hero .home-hero__content{
  position:relative!important;
  z-index:2!important;
  min-height:438px!important;
  height:438px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  padding-block:34px!important;
  transform:none!important;
}
#main-content.msy-page .msy-hero .home-hero__copy{
  width:min(820px,62%)!important;
  max-width:820px!important;
  padding:0!important;
  margin:0!important;
  transform:none!important;
}
#main-content.msy-page .msy-hero h1{
  color:#fff!important;
  font-family:Tahoma,Arial,sans-serif!important;
  font-size:clamp(34px,3.12vw,52px)!important;
  font-weight:800!important;
  line-height:1.17!important;
  letter-spacing:-.85px!important;
  margin:0 0 22px!important;
  max-width:810px!important;
  text-wrap:balance;
}
#main-content.msy-page .msy-hero .home-hero__lead{
  color:#fff!important;
  font-size:clamp(16px,1.2vw,19px)!important;
  line-height:1.55!important;
  max-width:760px!important;
  font-weight:600!important;
  margin:0!important;
  text-wrap:pretty;
}
#main-content.msy-page .msy-hero .eyebrow{
  color:#f1c46c!important;
  letter-spacing:2px!important;
  font-size:14px!important;
  font-weight:900!important;
  margin:0 0 35px!important;
}
#main-content.msy-page .msy-hero .eyebrow::before{display:none!important}

#main-content.msy-page .msy-section{padding:62px 0 66px!important;background:#fff}
#main-content.msy-page .msy-section--soft{background:#f7f9fb}
#main-content.msy-page .msy-section--survey{background:#f5f8fa}
#main-content.msy-page .msy-section--gallery{padding-bottom:70px!important}
#main-content.msy-page .msy-heading{
  display:flex;align-items:flex-start;gap:22px;margin:0 0 30px;
}
#main-content.msy-page .msy-heading-num{
  flex:0 0 60px;width:60px;height:60px;
  display:grid;place-items:center;
  border:1px solid #b5cbdb;border-radius:50%;
  color:var(--msy-blue);background:#fff;font-size:23px;font-weight:800;
  line-height:1;font-variant-numeric:tabular-nums;
}
#main-content.msy-page .msy-eyebrow{
  color:#b87921;letter-spacing:1.6px;font-size:11px;font-weight:800;
  margin:2px 0 8px;text-transform:uppercase;
}
#main-content.msy-page .msy-heading h2{
  font-size:clamp(24px,2.32vw,33px);line-height:1.27;
  font-weight:800;margin:0;color:#0c3553;letter-spacing:-.55px;
}
#main-content.msy-page .msy-heading-desc{
  font-size:15px;line-height:1.75;color:var(--msy-muted);
  margin:10px 0 0;max-width:950px;
}
#main-content.msy-page .msy-overview-layout{
  display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:40px;align-items:start;
}
#main-content.msy-page .msy-overview-copy{padding:26px 24px 20px 0}
#main-content.msy-page .msy-overview-copy h3{font-size:24px;line-height:1.36;margin:0 0 20px;color:#0c3553}
#main-content.msy-page .msy-overview-copy p{
  font-size:15px;line-height:1.86;margin:0 0 16px;color:#455d70;
}
#main-content.msy-page .msy-overview-copy strong{color:#153c5a}
#main-content.msy-page .msy-inline-emphasis{
  border-left:3px solid var(--msy-gold);padding:10px 0 10px 18px;
  color:#254b68;font-size:14px;font-weight:700;line-height:1.65;margin-top:24px;
}
#main-content.msy-page .msy-facts{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;
}
#main-content.msy-page .msy-facts article{
  border:1px solid var(--msy-line);border-radius:12px;
  background:#fff;box-shadow:0 12px 26px rgba(11,46,73,.04);
  padding:25px 24px;min-height:138px;
}
#main-content.msy-page .msy-facts article span{
  display:block;color:#aa771f;font-size:11px;letter-spacing:1.15px;
  font-weight:800;margin:0 0 16px;
}
#main-content.msy-page .msy-facts article strong{
  display:block;color:#0c3553;font-size:16px;line-height:1.5;font-weight:800;
}
#main-content.msy-page .msy-quad{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;
}
#main-content.msy-page .msy-quad-card{
  border:1px solid var(--msy-line);border-radius:12px;background:#fff;
  padding:28px 24px 30px;box-shadow:0 10px 25px rgba(11,46,73,.035);
}
#main-content.msy-page .msy-card-index{
  display:grid;place-items:center;width:54px;height:54px;
  border:1px solid #c8d8e2;border-radius:50%;color:#0c3553;
  font-size:22px;font-weight:800;margin-bottom:26px;
}
#main-content.msy-page .msy-quad-card h3{
  margin:0 0 13px;color:#0e395a;font-size:16px;line-height:1.45;
  text-transform:uppercase;font-weight:800;
}
#main-content.msy-page .msy-quad-card p,
#main-content.msy-page .msy-context-card p,
#main-content.msy-page .msy-value-grid p{
  margin:0;color:var(--msy-muted);font-size:14px;line-height:1.8;
}
#main-content.msy-page .msy-context-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;
}
#main-content.msy-page .msy-context-card{
  background:#fff;border:1px solid var(--msy-line);border-radius:12px;
  padding:28px 26px 30px;position:relative;
}
#main-content.msy-page .msy-context-number{
  display:inline-grid;place-items:center;width:44px;height:44px;
  background:#103d61;color:#f4c975;border-radius:50%;
  font-size:16px;font-weight:800;margin-bottom:20px;
}
#main-content.msy-page .msy-context-card h3{
  color:#0e395a;font-weight:800;font-size:17px;line-height:1.45;
  margin:0 0 11px;
}
#main-content.msy-page .msy-program-wrap{
  border:1px solid #cedde6;border-radius:12px;overflow:hidden;
  background:#fff;box-shadow:0 16px 36px rgba(11,46,73,.06);
}
#main-content.msy-page .msy-program-table{
  width:100%;border-collapse:collapse;table-layout:fixed;text-align:left;
  font-size:15px;line-height:1.7;
}
#main-content.msy-page .msy-program-table thead th{
  background:#e8f2f8;color:#123e5c;padding:20px 22px;
  font-size:12px;letter-spacing:.3px;font-weight:800;
  border-right:1px solid #cbdfe9;
}
#main-content.msy-page .msy-program-table thead th:last-child{border-right:0}
#main-content.msy-page .msy-program-table tbody th,
#main-content.msy-page .msy-program-table tbody td{
  border-top:1px solid var(--msy-line);border-right:1px solid var(--msy-line);
  padding:24px 21px;vertical-align:top;color:#3a586c;
  overflow-wrap:anywhere;
}
#main-content.msy-page .msy-program-table tbody td:last-child{border-right:0}
#main-content.msy-page .msy-program-table tbody th{
  background:#f0f6fa;color:#153d5b;font-weight:800;line-height:1.45;
  border-left:3px solid #d7ac60;
}
#main-content.msy-page .msy-program-table tbody th strong{display:block;font-size:15px}
#main-content.msy-page .msy-module-no{
  display:block;font-size:31px;line-height:1;color:#ad7728;
  margin-bottom:14px;font-weight:800;
}
#main-content.msy-page .msy-program-table tbody ul{
  list-style:none;margin:0;padding:0;display:grid;gap:12px;
}
#main-content.msy-page .msy-program-table tbody li{
  position:relative;padding-left:15px;color:#284c66;
}
#main-content.msy-page .msy-program-table tbody li:before{
  position:absolute;content:"";width:5px;height:5px;
  background:var(--msy-gold);border-radius:50%;left:0;top:.7em;
}
#main-content.msy-page .msy-value-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;
}
#main-content.msy-page .msy-value-grid article{
  border:1px solid var(--msy-line);border-radius:12px;background:#fff;
  padding:26px 24px 30px;
}
#main-content.msy-page .msy-value-icon{
  display:inline-block;color:#ba7e22;font-size:14px;letter-spacing:1px;
  font-weight:800;margin-bottom:25px;
}
#main-content.msy-page .msy-value-grid h3{
  margin:0 0 12px;font-size:17px;line-height:1.43;color:#103d61;font-weight:800;
}
#main-content.msy-page .msy-survey-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;
}
#main-content.msy-page .msy-survey-card{
  border:1px solid #21496b;border-radius:12px;
  padding:28px 28px 30px;
  background:linear-gradient(135deg,#0b2e49,#123f60);
  min-height:164px;
}
#main-content.msy-page .msy-survey-card-top{
  display:flex;gap:16px;align-items:center;min-height:72px;
}
#main-content.msy-page .msy-survey-card strong{
  color:#f3c86b;font-size:37px;line-height:1;font-weight:800;
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
#main-content.msy-page .msy-survey-card strong span{font-size:25px}
#main-content.msy-page .msy-survey-card h3{
  font-size:13px;color:#f4f8fc;line-height:1.55;
  font-weight:800;margin:0;
}
#main-content.msy-page .msy-meter{
  background:rgba(255,255,255,.18);height:7px;border-radius:30px;
  overflow:hidden;margin-top:20px;
}
#main-content.msy-page .msy-meter span{
  display:block;height:100%;background:#edc775;border-radius:inherit;
}
#main-content.msy-page .msy-gallery-grid{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px 16px;
}
#main-content.msy-page .msy-gallery-item{
  min-width:0;margin:0;border:1px solid #dae5ec;
  border-radius:11px;overflow:hidden;background:#fff;
  box-shadow:0 10px 24px rgba(11,46,73,.045);
  transition:box-shadow .2s ease,border-color .2s ease;
}
#main-content.msy-page .msy-gallery-item:hover,
#main-content.msy-page .msy-gallery-item:focus-within{
  border-color:#b4d0e2;
  box-shadow:0 13px 28px rgba(11,46,73,.10);
}
#main-content.msy-page .msy-gallery-item a:focus-visible{
  outline:3px solid #d59b32;
  outline-offset:-4px;
}
#main-content.msy-page .msy-gallery-item a{
  display:block;position:relative;overflow:hidden;background:#eaf0f4;
}
#main-content.msy-page .msy-gallery-item img{
  display:block;width:100%;height:auto;aspect-ratio:4 / 3;
  object-fit:cover;object-position:center 28%;
  transition:transform .28s ease;
}
#main-content.msy-page .msy-gallery-item a:hover img{transform:scale(1.035)}
#main-content.msy-page .msy-zoom{
  position:absolute;right:9px;bottom:9px;display:grid;place-items:center;
  width:30px;height:30px;border-radius:50%;background:rgba(8,46,74,.8);
  color:#fff;font-weight:800;font-size:17px;
}
/* Five editorial thumbnails per desktop row; adaptive tablet and phone grids. */
@media (max-width:1250px) and (min-width:1101px){
  #main-content.msy-page .msy-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  #main-content.msy-page .msy-gallery-item:nth-last-child(2){grid-column:2}
}
@media (max-width:1100px){
  #main-content.msy-page .msy-quad,
  #main-content.msy-page .msy-value-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #main-content.msy-page .msy-overview-layout{gap:26px}
  #main-content.msy-page .msy-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  #main-content.msy-page .msy-gallery-item:nth-last-child(1){grid-column:2}
  #main-content.msy-page .msy-program-table thead th{padding:16px 13px}
  #main-content.msy-page .msy-program-table tbody th,
  #main-content.msy-page .msy-program-table tbody td{padding:21px 15px}
}
@media (max-width:900px){
  #main-content.msy-page .msy-hero .home-hero__copy{width:min(670px,73%)!important}
  #main-content.msy-page .msy-hero .home-hero__slide img{width:73%!important;object-position:53% 35%!important}
  #main-content.msy-page .msy-hero .home-hero__viewport::before{
    background:linear-gradient(90deg,rgba(4,104,177,.30),rgba(4,104,177,0) 80%)!important;
  }
  #main-content.msy-page .msy-overview-layout{grid-template-columns:1fr}
  #main-content.msy-page .msy-overview-copy{padding:0}
  #main-content.msy-page .msy-context-grid{grid-template-columns:1fr}
  #main-content.msy-page .msy-context-card{padding:23px 24px}
  #main-content.msy-page .msy-survey-grid{grid-template-columns:repeat(2,minmax(0,1fr))}


  #main-content.msy-page .msy-section{padding:50px 0 54px!important}
}
@media (max-width:760px){
  #main-content.msy-page .msy-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 13px}
  #main-content.msy-page .msy-gallery-item:last-child{grid-column:auto}

  #main-content.msy-page .msy-program-wrap{overflow:visible;border:0;box-shadow:none;background:transparent}
  #main-content.msy-page .msy-program-table,
  #main-content.msy-page .msy-program-table tbody,
  #main-content.msy-page .msy-program-table tr,
  #main-content.msy-page .msy-program-table tbody td,
  #main-content.msy-page .msy-program-table tbody th{display:block;width:100%}
  #main-content.msy-page .msy-program-table thead{display:none}
  #main-content.msy-page .msy-program-table tr{
    border:1px solid var(--msy-line);border-radius:12px;
    overflow:hidden;margin-bottom:18px;background:#fff;
  }
  #main-content.msy-page .msy-program-table tbody th{border:0;padding:23px 24px}
  #main-content.msy-page .msy-program-table tbody th .msy-module-no{display:inline-block;margin:0 14px 0 0;vertical-align:middle}
  #main-content.msy-page .msy-program-table tbody th strong{display:inline;font-size:16px}
  #main-content.msy-page .msy-program-table tbody td{padding:20px 23px;border-right:0;border-top:1px solid var(--msy-line)}
  #main-content.msy-page .msy-program-table tbody td::before{
    content:attr(data-label);display:block;font-size:12px;letter-spacing:.8px;
    color:#a3711e;text-transform:uppercase;font-weight:800;margin-bottom:11px;
  }
}
@media (max-width:620px){
  #main-content.msy-page .msy-hero .home-hero__viewport,
  #main-content.msy-page .msy-hero .home-hero__content{
    min-height:445px!important;
    height:auto!important;
  }
  #main-content.msy-page .msy-hero .home-hero__slide img{
    inset:0!important;
    width:100%!important;
    height:100%!important;
    object-position:57% 28%!important;
    opacity:.70!important;
    -webkit-mask-image:none;
    mask-image:none;
  }
  #main-content.msy-page .msy-hero .home-hero__viewport::before{
    background:linear-gradient(90deg,rgba(4,104,177,.89),rgba(4,104,177,.64)),
               linear-gradient(180deg,rgba(4,104,177,.22),rgba(4,104,177,.73))!important;
  }
  #main-content.msy-page .msy-hero .home-hero__content{
    align-items:center!important;
    padding-block:55px!important;
  }
  #main-content.msy-page .msy-hero .home-hero__copy{width:100%!important;max-width:100%!important}
  #main-content.msy-page .msy-hero .eyebrow{font-size:11px!important;margin-bottom:23px!important;letter-spacing:1.4px!important}
  #main-content.msy-page .msy-hero h1{font-size:clamp(30px,7.3vw,38px)!important;line-height:1.23!important;margin-bottom:18px!important}
  #main-content.msy-page .msy-hero .home-hero__lead{font-size:15px!important;line-height:1.55!important}
  #main-content.msy-page .msy-section{padding:41px 0 48px!important}
  #main-content.msy-page .msy-heading{gap:13px;margin-bottom:26px}
  #main-content.msy-page .msy-heading-num{width:43px;height:43px;flex-basis:43px;font-size:16px}
  #main-content.msy-page .msy-heading h2{font-size:24px}
  #main-content.msy-page .msy-overview-copy h3{font-size:22px}
  #main-content.msy-page .msy-facts{grid-template-columns:1fr;gap:12px}
  #main-content.msy-page .msy-facts article{min-height:0;padding:20px 22px}
  #main-content.msy-page .msy-quad,
  #main-content.msy-page .msy-value-grid,
  #main-content.msy-page .msy-survey-grid,
  #main-content.msy-page .msy-gallery-grid{grid-template-columns:1fr}
  #main-content.msy-page .msy-quad-card,
  #main-content.msy-page .msy-value-grid article{padding:23px}
  #main-content.msy-page .msy-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 11px}

}
@media(prefers-reduced-motion:reduce){
  #main-content.msy-page .msy-gallery-item img{transition:none}
  #main-content.msy-page .msy-gallery-item a:hover img{transform:none}
}

/* Multi-company editorial refinements: confined to page body only */
#main-content.msy-page .msy-hero .msy-hero-client{display:block;font-size:.68em;line-height:1.29;letter-spacing:-.25px;margin-top:7px;font-weight:750;text-wrap:pretty}
#main-content.msy-page .msy-hero .home-hero__copy{max-width:850px!important}
#main-content.msy-page .msy-hero .home-hero__lead{font-size:clamp(14px,1.1vw,17px)!important;line-height:1.55!important;max-width:720px!important}
#main-content.msy-page .msy-hero .eyebrow{margin-bottom:22px!important}
#main-content.msy-page .msy-hero h1{font-size:clamp(29px,2.65vw,45px)!important;line-height:1.14!important;margin-bottom:16px!important}
#main-content.msy-page .msy-hero .home-hero__copy{width:min(870px,64%)!important}
#main-content.msy-page .msy-hero .home-hero__viewport,#main-content.msy-page .msy-hero .home-hero__content{min-height:450px!important;height:450px!important}
#main-content.msy-page .msy-overview-copy p{overflow-wrap:break-word}
#main-content.msy-page .msy-facts article strong{overflow-wrap:anywhere}
#main-content.msy-page .msy-quad-card p,#main-content.msy-page .msy-context-card p,#main-content.msy-page .msy-value-grid p{overflow-wrap:break-word}
#main-content.msy-page .msy-gallery-grid[data-count="2"]{grid-template-columns:repeat(2,minmax(0,280px));justify-content:center}
#main-content.msy-page .msy-gallery-grid[data-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
#main-content.msy-page .msy-gallery-grid[data-count="7"] .msy-gallery-item:nth-last-child(2){grid-column:2}
#main-content.msy-page .msy-gallery-grid[data-count="9"] .msy-gallery-item:last-child{grid-column:4}
#main-content.msy-page .msy-gallery-grid[data-count="12"] .msy-gallery-item:nth-last-child(2){grid-column:2}
@media(max-width:900px){
#main-content.msy-page .msy-hero .home-hero__copy{width:min(700px,78%)!important}
#main-content.msy-page .msy-gallery-grid[data-count="2"],#main-content.msy-page .msy-gallery-grid[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch}
#main-content.msy-page .msy-gallery-grid[data-count="7"] .msy-gallery-item:nth-last-child(2),#main-content.msy-page .msy-gallery-grid[data-count="9"] .msy-gallery-item:last-child,#main-content.msy-page .msy-gallery-grid[data-count="12"] .msy-gallery-item:nth-last-child(2){grid-column:auto}
}
@media(max-width:620px){
#main-content.msy-page .msy-hero .home-hero__viewport,#main-content.msy-page .msy-hero .home-hero__content{min-height:460px!important;height:auto!important}
#main-content.msy-page .msy-hero .home-hero__copy{width:100%!important}
#main-content.msy-page .msy-hero h1{font-size:clamp(25px,7vw,35px)!important;overflow-wrap:anywhere}
#main-content.msy-page .msy-hero .msy-hero-client{font-size:.72em}
#main-content.msy-page .msy-gallery-grid[data-count="2"],#main-content.msy-page .msy-gallery-grid[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Preserve Ajinomoto approved white typography for the entire hero title. */
#main-content.msy-page .msy-hero h1 .msy-hero-client{color:#ffffff!important;text-shadow:none!important;}
