/* MGTC brand overlay — loaded after style.css */

:root {
  --mgtc-dark-blue: #1c4792;
  --mgtc-navy: #0d1f45;
  --mgtc-blue: #007dc5;
  --mgtc-green: #8dc63f;
  --mgtc-grey: #464547;
  --mgtc-light: #f2f5f9;
  --mgtc-white: #ffffff;

  --primary: #007dc5;
  --primary-1: #1c4792;
  --primary-2: #8dc63f;
  --primary-rgb: 0, 125, 197;
  --headings-color: #1c4792;
  --body-color: #464547;
  --font-family-base: "Open Sans", sans-serif;
  --font-family-headings: "Open Sans", sans-serif;
  --font-family-btn: "Open Sans", sans-serif;
  --b-font: "Open Sans", sans-serif;
  --h-font: "Open Sans", sans-serif;
}

body.mgtc-home {
  font-family: "Open Sans", sans-serif;
  color: var(--mgtc-grey);
  background: var(--mgtc-white);
}

body.mgtc-home h1,
body.mgtc-home h2,
body.mgtc-home h3,
body.mgtc-home h4,
body.mgtc-home h5,
body.mgtc-home h6,
body.mgtc-home .sec-title,
body.mgtc-home .display-1,
body.mgtc-home .display-2,
body.mgtc-home .display-4,
body.mgtc-home .display-5 {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  color: var(--mgtc-dark-blue);
}

body.mgtc-home .text-primary,
body.mgtc-home .sec-meta,
body.mgtc-home .sec-intro .sec-meta {
  color: var(--mgtc-blue) !important;
}

body.mgtc-home .bg-primary,
body.mgtc-home .btn-primary {
  background-color: var(--mgtc-blue) !important;
  border-color: var(--mgtc-blue) !important;
  color: var(--mgtc-white) !important;
}

body.mgtc-home .btn-primary:hover,
body.mgtc-home .btn-primary:focus {
  background-color: var(--mgtc-dark-blue) !important;
  border-color: var(--mgtc-dark-blue) !important;
  color: var(--mgtc-white) !important;
}

body.mgtc-home .btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  background: transparent;
}

body.mgtc-home .btn-outline-light:hover {
  background: #fff;
  color: var(--mgtc-navy);
  border-color: #fff;
}

body.mgtc-home .bg-dark-alt {
  background-color: var(--mgtc-navy) !important;
}

body.mgtc-home .bg-shade {
  background-color: var(--mgtc-light) !important;
}

/* Header overlay */
body.mgtc-home .header.header-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 0 !important;
}

body.mgtc-home .header.header-3 .navbar-brand img,
body.mgtc-home .offcanvas-nav img,
body.mgtc-home .mgtc-footer-logo {
  height: 48px;
  width: auto;
  mix-blend-mode: screen;
}

body.mgtc-home .header.header-3 .navbar .navbar-nav > li > a.nav-link {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

body.mgtc-home .header.header-3 .navbar .navbar-nav > li > a.nav-link:hover,
body.mgtc-home .header.header-3 .navbar .navbar-nav > li > a.nav-link.active {
  color: var(--mgtc-green);
}

body.mgtc-home .header.header-3 .navbar-toggler {
  color: #fff;
}

body.mgtc-home .mgtc-lang {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-right: 18px;
  white-space: nowrap;
  text-decoration: none;
}

body.mgtc-home .mgtc-lang b {
  color: var(--mgtc-green);
}

body.mgtc-home .header .header-nav-wrapper.header-sticky.scroll-on {
  background: var(--mgtc-dark-blue);
  box-shadow: 0 8px 24px rgba(13, 31, 69, 0.28);
}

body.mgtc-home .header .header-nav-wrapper.header-sticky.scroll-on .navbar .navbar-nav > li > a.nav-link {
  color: #fff;
}

body.mgtc-home .header .header-nav-wrapper.header-sticky.scroll-on .navbar .navbar-nav > li > a.nav-link:hover,
body.mgtc-home .header .header-nav-wrapper.header-sticky.scroll-on .navbar .navbar-nav > li > a.nav-link.active,
body.mgtc-home .header .header-nav-wrapper.header-sticky.scroll-on .navbar .navbar-nav > li:hover > a.nav-link {
  color: var(--mgtc-green);
}

body.mgtc-home .navbar button.navbar-toggler.offcanvas-nav-btn {
  color: #fff;
}

body.mgtc-home .offcanvas-nav .nav-link {
  color: #fff;
}

body.mgtc-home .dropdown-menu {
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 25px 50px -5px rgba(13, 31, 69, 0.12);
  padding: 18px 16px;
  min-width: 240px;
}

body.mgtc-home .dropdown-menu .dropdown-item {
  position: relative;
  color: var(--mgtc-dark-blue);
  font-weight: 600;
  font-size: 15px;
  border-radius: 2px;
  border: 0;
  padding: 10px 16px;
  background: transparent;
  transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
}

body.mgtc-home .dropdown-menu .dropdown-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 5px;
  height: 5px;
  border-radius: 50px;
  background-color: var(--mgtc-green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) scale(0);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

body.mgtc-home .navbar .navbar-nav .dropdown-menu .dropdown-item:hover,
body.mgtc-home .navbar .navbar-nav .dropdown-menu .dropdown-item:focus,
body.mgtc-home .dropdown-menu .dropdown-item:hover,
body.mgtc-home .dropdown-menu .dropdown-item:focus,
body.mgtc-home .navbar .navbar-nav .dropdown-menu .dropdown-item.active,
body.mgtc-home .dropdown-menu .dropdown-item.active,
body.mgtc-home .navbar .navbar-nav .dropdown-menu .dropdown-item.active:hover,
body.mgtc-home .navbar .navbar-nav .dropdown-menu .dropdown-item.active:focus,
body.mgtc-home .dropdown-menu .dropdown-item.active:hover,
body.mgtc-home .dropdown-menu .dropdown-item.active:focus {
  background: #e8f0ea;
  color: var(--mgtc-dark-blue);
  padding-left: 32px;
  border: 0;
  font-weight: 600;
}

body.mgtc-home .navbar .navbar-nav .dropdown-menu .dropdown-item:hover::before,
body.mgtc-home .navbar .navbar-nav .dropdown-menu .dropdown-item:focus::before,
body.mgtc-home .dropdown-menu .dropdown-item:hover::before,
body.mgtc-home .dropdown-menu .dropdown-item:focus::before,
body.mgtc-home .navbar .navbar-nav .dropdown-menu .dropdown-item.active::before,
body.mgtc-home .dropdown-menu .dropdown-item.active::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

body.mgtc-home .dropdown-submenu:has(.dropdown-item.active) > .mgtc-submenu-toggle {
  background: #e8f0ea;
  color: var(--mgtc-dark-blue);
  padding-left: 32px;
}

body.mgtc-home .dropdown-submenu:has(.dropdown-item.active) > .mgtc-submenu-toggle::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

body.mgtc-home .dropdown-header {
  color: var(--mgtc-grey);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

@media (max-width: 1199.98px) {
  body.mgtc-home .offcanvas-nav {
    background: var(--mgtc-navy) !important;
  }

  body.mgtc-home .offcanvas-nav .dropdown-item,
  body.mgtc-home .offcanvas-nav .dropdown-menu .dropdown-item {
    color: #fff;
  }

  body.mgtc-home .offcanvas-nav .dropdown-item::before,
  body.mgtc-home .offcanvas-nav .dropdown-menu .dropdown-item::before {
    display: none;
  }

  body.mgtc-home .offcanvas-nav .nav-link:hover,
  body.mgtc-home .offcanvas-nav .nav-link.active,
  body.mgtc-home .offcanvas-nav .nav-item.dropdown.show > .nav-link,
  body.mgtc-home .offcanvas-nav .nav-item.dropdown > .nav-link[aria-expanded="true"] {
    color: var(--mgtc-green);
  }

  body.mgtc-home .offcanvas-nav .dropdown-item:hover,
  body.mgtc-home .offcanvas-nav .dropdown-menu .dropdown-item:hover,
  body.mgtc-home .offcanvas-nav .dropdown-item:focus,
  body.mgtc-home .offcanvas-nav .dropdown-menu .dropdown-item:focus,
  body.mgtc-home .offcanvas-nav .dropdown-submenu > .dropdown-menu .dropdown-item:hover,
  body.mgtc-home .offcanvas-nav .dropdown-submenu > .dropdown-menu .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.08);
    color: var(--mgtc-green);
    padding-left: 16px;
  }

  body.mgtc-home .offcanvas-nav .dropdown-item.active,
  body.mgtc-home .offcanvas-nav .dropdown-menu .dropdown-item.active,
  body.mgtc-home .offcanvas-nav .dropdown-submenu > .dropdown-menu .dropdown-item.active,
  body.mgtc-home .offcanvas-nav .dropdown-item.active:hover,
  body.mgtc-home .offcanvas-nav .dropdown-item.active:focus {
    background: rgba(141, 198, 63, 0.2);
    color: var(--mgtc-green);
    font-weight: 700;
    padding-left: 16px;
  }

  body.mgtc-home .offcanvas-nav .mgtc-submenu-toggle:hover,
  body.mgtc-home .offcanvas-nav .mgtc-submenu-toggle:focus,
  body.mgtc-home .offcanvas-nav .mgtc-submenu-toggle.active,
  body.mgtc-home .offcanvas-nav .dropdown-submenu:has(> .dropdown-menu.show) > .mgtc-submenu-toggle {
    background: transparent !important;
    color: var(--mgtc-green);
    padding-left: 20px;
  }

  body.mgtc-home .offcanvas-nav .dropdown-submenu:has(> .dropdown-menu.show) .mgtc-submenu-chevron {
    color: var(--mgtc-green);
    opacity: 1;
  }

  body.mgtc-home .offcanvas-nav .dropdown-header {
    color: rgba(255, 255, 255, 0.55);
  }
}


/* Full-screen hero */
.mgtc-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.mgtc-hero video,
.mgtc-hero .mgtc-hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.mgtc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13, 31, 69, 0.35) 0%, rgba(13, 31, 69, 0.2) 38%, rgba(13, 31, 69, 0.82) 100%),
    linear-gradient(90deg, rgba(28, 71, 146, 0.45) 0%, transparent 55%);
}

.mgtc-hero .container,
.mgtc-hero .container-fluid {
  position: relative;
  z-index: 2;
}

.mgtc-hero-content {
  padding: 140px 0 88px;
  max-width: 860px;
}

.mgtc-hero-content h1 {
  color: #fff !important;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.mgtc-hero-content h1 em {
  font-style: normal;
  color: var(--mgtc-green);
}

.mgtc-hero-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 32px;
}

.mgtc-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.mgtc-hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Impact stats */
.mgtc-stats {
  background: var(--mgtc-navy);
  padding: 0;
}

.mgtc-stats .stat-card {
  padding: 40px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.mgtc-stats .stat-card:first-child {
  border-left: 0;
}

.mgtc-stats h3,
.mgtc-stats .display-2 {
  color: var(--mgtc-green) !important;
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 58px) !important;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mgtc-stats .mgtc-stat-value {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.12em;
  white-space: nowrap;
}

.mgtc-stats .mgtc-stat-value span {
  font-size: 1em !important;
  font-weight: inherit;
  font-family: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.mgtc-stats p {
  color: rgba(255, 255, 255, 0.78);
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

/* About / story */
.mgtc-story .about-media,
.mgtc-story .about-thmb {
  position: relative;
}

.mgtc-story .about-media img,
.mgtc-story .about-thmb img {
  border-radius: 18px;
  width: 100%;
}

.mgtc-mandate-card {
  position: absolute;
  left: 20px;
  bottom: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(13, 31, 69, 0.2);
  padding: 22px 24px;
  max-width: 280px;
  z-index: 2;
}

.mgtc-mandate-card b {
  display: block;
  color: var(--mgtc-dark-blue);
  font-size: 15px;
  margin-bottom: 6px;
}

.mgtc-mandate-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--mgtc-grey);
}

.mgtc-story .sec-title em,
.mgtc-story h2 em {
  font-style: normal;
  color: var(--mgtc-green);
}

.mgtc-story .sec-title {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .mgtc-story.about-3 .about-media {
    display: block !important;
  }
}

@media (max-width: 1199.98px) {
  .about-3 .about-thmb {
    left: 0;
  }
}

/* Service pillars */
body.mgtc-home .services-3 .service-entry6 {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

body.mgtc-home .services-3 .service-entry6:hover {
  transform: translateY(-6px);
  border-color: rgba(141, 198, 63, 0.45);
}

body.mgtc-home .services-3 .service-entry6 h3,
body.mgtc-home .services-3 .service-entry6 h3 a,
body.mgtc-home .services-3 .sec-title {
  color: #fff !important;
}

body.mgtc-home .services-3 .icon-md {
  background: rgba(0, 125, 197, 0.18);
}

body.mgtc-home .services-3 .btn-2 {
  color: var(--mgtc-green);
}

body.mgtc-home .services-3 .service-entry6:hover .btn-2 span {
  background-color: var(--mgtc-green);
  color: var(--mgtc-navy);
}

body.mgtc-home .services-3 .footer-txt,
body.mgtc-home .services-3 .footer-txt a {
  color: rgba(255, 255, 255, 0.7);
}

/* Reports */
.mgtc-reports {
  background: var(--mgtc-light);
}

.mgtc-report-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 26px;
  height: 100%;
  box-shadow: 0 10px 28px rgba(13, 31, 69, 0.08);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.25s ease;
}

.mgtc-report-card:hover {
  transform: translateY(-4px);
}

.mgtc-report-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex: none;
  background: var(--mgtc-dark-blue);
}

.mgtc-report-icon.accent {
  background: var(--mgtc-blue);
}

.mgtc-report-icon.green {
  background: var(--mgtc-green);
  color: var(--mgtc-navy);
}

.mgtc-report-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.mgtc-report-card p {
  margin-bottom: 10px;
  font-size: 14px;
}

.mgtc-report-card a {
  font-weight: 700;
  font-size: 13px;
  color: var(--mgtc-blue);
  text-decoration: none;
}

/* LCC story band */
.mgtc-lcc {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.mgtc-lcc .jarallax-img,
.mgtc-lcc img.mgtc-lcc-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mgtc-lcc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(13, 31, 69, 0.88) 0%, rgba(28, 71, 146, 0.62) 48%, rgba(13, 31, 69, 0.35) 100%);
}

.mgtc-lcc .container {
  position: relative;
  z-index: 2;
}

.mgtc-lcc .sec-meta {
  color: var(--mgtc-green) !important;
}

.mgtc-lcc h2,
.mgtc-lcc .sec-title {
  color: #fff !important;
  max-width: 720px;
}

.mgtc-lcc p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
  font-size: 17px;
}

/* Events */
body.mgtc-home .project-sec2 .project-card2 .project-txt {
  background: rgba(13, 31, 69, 0.92);
  color: #fff;
  width: min(465px, 90%);
}

body.mgtc-home .project-sec2 .project-card2 .project-txt h3,
body.mgtc-home .project-sec2 .project-card2 .project-txt h3 a {
  color: #fff !important;
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

body.mgtc-home .project-sec2 .project-cat a {
  color: var(--mgtc-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

body.mgtc-home .project-sec2 .project-cta .icon {
  background: var(--mgtc-blue) !important;
  color: #fff;
}

/* News */
body.mgtc-home .blog-entry3 h3 a {
  color: var(--mgtc-dark-blue);
}

body.mgtc-home .blog-entry3 .blog-meta {
  color: var(--mgtc-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.mgtc-home .blog-entry3 .entry-media img {
  border-radius: 14px;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

/* Office */
.mgtc-office {
  background: var(--mgtc-navy);
  color: #fff;
}

.mgtc-office .sec-title,
.mgtc-office h3,
.mgtc-office h4 {
  color: #fff !important;
}

.mgtc-office .sec-intro p {
  color: rgba(255, 255, 255, 0.8);
}

.mgtc-office .contact-widget {
  margin-bottom: 28px;
}

.mgtc-office .contact-widget .icon-md {
  background: rgba(0, 125, 197, 0.2);
  color: var(--mgtc-green);
  margin-right: 16px;
}

.mgtc-office .cw-txt p,
.mgtc-office .cw-txt a {
  color: rgba(255, 255, 255, 0.78);
}

.mgtc-office .social-share a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.mgtc-office .social-share a:hover {
  background: var(--mgtc-blue);
  border-color: var(--mgtc-blue);
  color: #fff;
}

/* Footer */
body.mgtc-home .footer.footer-1 {
  background: var(--mgtc-navy);
}

body.mgtc-home .footer.footer-1::before {
  background-color: var(--mgtc-navy);
}

body.mgtc-home .footer .sec-title,
body.mgtc-home .footer .widget-title,
body.mgtc-home .footer h2,
body.mgtc-home .footer h3 {
  color: #fff !important;
}

body.mgtc-home .footer p,
body.mgtc-home .footer a,
body.mgtc-home .footer .text-info {
  color: rgba(255, 255, 255, 0.72) !important;
}

body.mgtc-home .footer .navbar-brand img,
body.mgtc-home .footer .mgtc-footer-logo {
  height: 52px;
  margin-bottom: 16px;
}

body.mgtc-home .footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  margin: 0;
}

body.mgtc-home #preloader {
  background-color: var(--mgtc-navy);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

body.mgtc-home #preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.mgtc-home .preloader span {
  background: var(--mgtc-blue);
}

body.mgtc-home .scroll-top {
  position: fixed !important;
  inset: auto 24px 28px auto !important;
  z-index: 9999;
  margin: 0;
  background: var(--mgtc-blue);
  color: #fff;
}

.mgtc-lcc.video2-sec {
  height: auto;
  min-height: 560px;
  padding: 120px 0;
}

.mgtc-lcc.video2-sec::before {
  opacity: 1;
  background:
    linear-gradient(100deg, rgba(13, 31, 69, 0.88) 0%, rgba(28, 71, 146, 0.62) 48%, rgba(13, 31, 69, 0.35) 100%);
}

.mgtc-office.contact-3.overly::before {
  display: none;
}

.mgtc-footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 16px;
}

body.mgtc-home section[id] {
  scroll-margin-top: 96px;
}

@media (max-width: 1199.98px) {
  .mgtc-hero-content {
    padding: 120px 0 64px;
  }

  body.mgtc-home .navbar .nav-cta {
    display: flex !important;
  }
}
@media (max-width: 991.98px) {
  .mgtc-stats .stat-card {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 16px;
  }

  .mgtc-mandate-card {
    position: relative;
    left: 0;
    bottom: 0;
    max-width: none;
    margin-top: 16px;
  }

  .mgtc-lcc {
    min-height: 460px;
  }
}

@media (max-width: 767.98px) {
  .mgtc-hero-ctas .btn {
    width: 100%;
    text-align: center;
  }

  body.mgtc-home .navbar .nav-cta {
    display: flex !important;
    margin-left: auto;
    margin-right: 8px;
  }

  body.mgtc-home .navbar .nav-cta .mgtc-lang {
    display: none;
  }

  body.mgtc-home .navbar .nav-cta .btn {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  body.mgtc-home .navbar button.navbar-toggler.offcanvas-nav-btn {
    font-size: 0;
    padding: 0;
  }

  body.mgtc-home .navbar button.navbar-toggler.offcanvas-nav-btn i,
  body.mgtc-home .navbar button.navbar-toggler.offcanvas-nav-btn .fa-solid {
    font-size: 18px;
  }
}

@media (max-width: 575.98px) {
  .mgtc-hero {
    min-height: 100vh;
  }

  .mgtc-hero-content {
    padding: 110px 0 56px;
  }

  .mgtc-hero-scroll {
    display: none;
  }

  body.mgtc-home .header.header-3 .navbar-brand img {
    height: 40px;
  }

  .mgtc-office .contact-widget {
    margin-bottom: 22px;
  }
}

/* Inner pages — About & Standard */
.mgtc-page-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  padding: 160px 0 88px;
}

.mgtc-page-hero .mgtc-page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: mgtc-kenburns 18s ease-in-out infinite alternate;
}

.mgtc-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13, 31, 69, 0.42) 0%, rgba(13, 31, 69, 0.82) 100%),
    linear-gradient(90deg, rgba(28, 71, 146, 0.4) 0%, transparent 60%);
}

.mgtc-page-hero.is-standard::before {
  background:
    linear-gradient(180deg, rgba(13, 31, 69, 0.28) 0%, rgba(20, 70, 40, 0.45) 42%, rgba(13, 31, 69, 0.84) 100%),
    linear-gradient(90deg, rgba(141, 198, 63, 0.18) 0%, transparent 55%);
}

.mgtc-page-hero.is-media::before,
.mgtc-page-hero.is-article::before {
  background:
    linear-gradient(180deg, rgba(13, 31, 69, 0.38) 0%, rgba(13, 31, 69, 0.86) 100%),
    linear-gradient(90deg, rgba(0, 125, 197, 0.28) 0%, transparent 58%);
}

.mgtc-page-hero.is-article h1 {
  font-size: clamp(28px, 4vw, 50px);
  /* max-width: 920px; */
}

#mgtcArticleTitle {
  font-size: clamp(24px, 3.2vw, 40px);
}

.mgtc-page-hero .container {
  position: relative;
  z-index: 2;
}

.mgtc-crumb {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.mgtc-crumb a {
  color: var(--mgtc-green);
  text-decoration: none;
}

.mgtc-page-hero h1 {
  color: #fff !important;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

.mgtc-page-hero h1 em {
  font-style: normal;
  color: var(--mgtc-green);
}

.mgtc-intro-box {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(13, 31, 69, 0.14);
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: -48px;
  position: relative;
  z-index: 3;
  border-left: 6px solid var(--mgtc-green);
}

.mgtc-intro-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--mgtc-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 26px;
  box-shadow: 0 10px 24px rgba(141, 198, 63, 0.38);
  animation: mgtc-icon-float 2.6s ease-in-out infinite;
}

.mgtc-intro-box p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--mgtc-grey);
}

/* Tighter section padding site-wide (theme default is 120px) */
.sec-padding {
  padding: 80px 0;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .sec-padding {
    padding: 68px 0;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .sec-padding {
    padding: 60px 0;
  }
}

@media (max-width: 767.98px) {
  .sec-padding {
    padding: 48px 0;
  }
}

.mgtc-page-copy {
  position: relative;
  overflow: hidden;
}

.mgtc-page-copy p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
}

/* CKEditor 5 images — figure carries resize width; img must not use original width/height attrs */
.mgtc-page-copy figure.image,
.mgtc-article figure.image {
  display: table;
  clear: both;
  margin: 1.25em 0;
  max-width: 100%;
}

.mgtc-page-copy figure.image img,
.mgtc-article figure.image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  border-radius: 12px;
}

.mgtc-page-copy figure.image.image-style-align-left,
.mgtc-article figure.image.image-style-align-left,
.mgtc-page-copy figure.image.image-style-block-align-left,
.mgtc-article figure.image.image-style-block-align-left {
  float: left;
  margin-right: 1.5em;
}

.mgtc-page-copy figure.image.image-style-align-right,
.mgtc-article figure.image.image-style-align-right,
.mgtc-page-copy figure.image.image-style-block-align-right,
.mgtc-article figure.image.image-style-block-align-right,
.mgtc-page-copy figure.image.image-style-side,
.mgtc-article figure.image.image-style-side {
  float: right;
  margin-left: 1.5em;
}

.mgtc-page-copy figure.image.image-style-align-center,
.mgtc-article figure.image.image-style-align-center,
.mgtc-page-copy figure.image.image-style-block-align-center,
.mgtc-article figure.image.image-style-block-align-center {
  margin-left: auto;
  margin-right: auto;
}


/* CKEditor 5 media embeds (YouTube, Vimeo) */
.mgtc-page-copy figure.media,
.mgtc-article figure.media {
  margin: 1.5em 0;
  max-width: 100%;
}

.mgtc-page-copy figure.media .mgtc-media-embed,
.mgtc-article figure.media .mgtc-media-embed,
.mgtc-page-copy .mgtc-media-embed,
.mgtc-article .mgtc-media-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #0d1f45;
}

.mgtc-page-copy figure.media .mgtc-media-embed iframe,
.mgtc-article figure.media .mgtc-media-embed iframe,
.mgtc-page-copy .mgtc-media-embed iframe,
.mgtc-article .mgtc-media-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.mgtc-page-copy figure.media.media-style-align-left,
.mgtc-article figure.media.media-style-align-left,
.mgtc-page-copy figure.media.media-style-block-align-left,
.mgtc-article figure.media.media-style-block-align-left {
  float: left;
  width: min(100%, 560px);
  margin-right: 1.5em;
}

.mgtc-page-copy figure.media.media-style-align-right,
.mgtc-article figure.media.media-style-align-right,
.mgtc-page-copy figure.media.media-style-block-align-right,
.mgtc-article figure.media.media-style-block-align-right {
  float: right;
  width: min(100%, 560px);
  margin-left: 1.5em;
}

.mgtc-page-copy figure.media.media-style-align-center,
.mgtc-article figure.media.media-style-align-center,
.mgtc-page-copy figure.media.media-style-block-align-center,
.mgtc-article figure.media.media-style-block-align-center {
  margin-left: auto;
  margin-right: auto;
}

.mgtc-page-copy figure.image figcaption,
.mgtc-article figure.image figcaption {
  display: table-caption;
  caption-side: bottom;
  font-size: 13px;
  color: var(--mgtc-grey);
  margin-top: 8px;
}

.mgtc-page-copy img.image,
.mgtc-article img.image {
  max-width: 100%;
  height: auto !important;
}

.mgtc-page-copy img.image.image_resized,
.mgtc-article img.image.image_resized {
  height: auto !important;
}

/* CKEditor inline images (insert type: inline) — alignment classes live on img, not figure */
.mgtc-page-copy img.image-style-align-left,
.mgtc-article img.image-style-align-left,
.mgtc-page-copy img.image-style-block-align-left,
.mgtc-article img.image-style-block-align-left {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 0.5em;
}

.mgtc-page-copy img.image-style-align-right,
.mgtc-article img.image-style-align-right,
.mgtc-page-copy img.image-style-block-align-right,
.mgtc-article img.image-style-block-align-right,
.mgtc-page-copy img.image-style-side,
.mgtc-article img.image-style-side {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 0.5em;
}

.mgtc-page-copy img.image-style-align-center,
.mgtc-article img.image-style-align-center,
.mgtc-page-copy img.image-style-block-align-center,
.mgtc-article img.image-style-block-align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767.98px) {
  .mgtc-page-copy figure.image.image-style-align-left,
  .mgtc-article figure.image.image-style-align-left,
  .mgtc-page-copy figure.image.image-style-align-right,
  .mgtc-article figure.image.image-style-align-right,
  .mgtc-page-copy figure.image.image-style-block-align-left,
  .mgtc-article figure.image.image-style-block-align-left,
  .mgtc-page-copy figure.image.image-style-block-align-right,
  .mgtc-article figure.image.image-style-block-align-right,
  .mgtc-page-copy figure.image.image-style-side,
  .mgtc-article figure.image.image-style-side,
  .mgtc-page-copy img.image-style-align-left,
  .mgtc-article img.image-style-align-left,
  .mgtc-page-copy img.image-style-align-right,
  .mgtc-article img.image-style-align-right,
  .mgtc-page-copy img.image-style-block-align-left,
  .mgtc-article img.image-style-block-align-left,
  .mgtc-page-copy img.image-style-block-align-right,
  .mgtc-article img.image-style-block-align-right,
  .mgtc-page-copy img.image-style-side,
  .mgtc-article img.image-style-side {
    float: none;
    display: block;
    /* width: 100% !important; */
    height: auto !important;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.25em;
  }
}

.mgtc-page-copy blockquote,
.mgtc-article blockquote {
  margin: 1.5em 0;
  padding: 1em 1.5em;
  border-left: 4px solid var(--mgtc-green);
  background: var(--mgtc-light);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--mgtc-dark-blue);
}

.mgtc-page-copy blockquote p,
.mgtc-article blockquote p {
  margin-bottom: 0;
}

.mgtc-page-copy blockquote p + p,
.mgtc-article blockquote p + p {
  margin-top: 0.75em;
}

.mgtc-page-copy .mgtc-arcs {
  position: absolute;
  left: -180px;
  top: 40px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(28, 71, 146, 0.08);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.mgtc-page-copy .mgtc-arcs::after {
  content: "";
  position: absolute;
  inset: 48px;
  border: 1px solid rgba(28, 71, 146, 0.08);
  border-radius: 50%;
}

.mgtc-page-copy .container {
  position: relative;
  z-index: 1;
}

.mgtc-ambition {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.mgtc-ambition-card {
  background: var(--mgtc-light);
  border-radius: 16px;
  padding: 24px 22px;
}

.mgtc-ambition-card strong {
  display: block;
  color: var(--mgtc-green);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

.mgtc-ambition-card span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mgtc-grey);
}

.mgtc-pillars {
  background: var(--mgtc-light);
}

.mgtc-pillar {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px 32px;
  height: 100%;
  text-align: center;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.06);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.mgtc-pillar:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(13, 31, 69, 0.12);
}

.mgtc-pillar-icon {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 3px solid var(--mgtc-green);
  color: var(--mgtc-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 34px;
  background: rgba(141, 198, 63, 0.08);
  transition: transform 0.45s ease;
}

.mgtc-pillar:hover .mgtc-pillar-icon {
  transform: scale(1.08) rotate(-6deg);
}

.mgtc-pillar-icon.is-blue {
  border-color: var(--mgtc-blue);
  color: var(--mgtc-blue);
  background: rgba(0, 125, 197, 0.08);
}

.mgtc-pillar-icon.is-navy {
  border-color: var(--mgtc-dark-blue);
  color: var(--mgtc-dark-blue);
  background: rgba(28, 71, 146, 0.08);
}

.mgtc-pillar-icon.is-earth {
  border-color: var(--mgtc-green);
  color: var(--mgtc-navy);
  background: rgba(13, 31, 69, 0.06);
}

.mgtc-pillar h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.mgtc-pillar p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

@media (min-width: 1200px) {
  .mgtc-pillars .row-cols-xl-4 .mgtc-pillar {
    padding: 32px 20px 28px;
  }

  .mgtc-pillars .row-cols-xl-4 .mgtc-pillar-icon {
    width: 88px;
    height: 88px;
    font-size: 28px;
  }

  .mgtc-pillars .row-cols-xl-4 .mgtc-pillar h3 {
    font-size: 18px;
  }
}

.mgtc-roadmap-wrap h3 {
  font-size: clamp(20px, 2.4vw, 28px);
  margin-bottom: 22px;
}

.mgtc-roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(13, 31, 69, 0.1);
}

.mgtc-roadmap-step {
  padding: 28px 18px;
  color: #fff;
  text-align: center;
}

.mgtc-roadmap-step:nth-child(1) { background: #4db6c6; }
.mgtc-roadmap-step:nth-child(2) { background: #0097a7; }
.mgtc-roadmap-step:nth-child(3) { background: #007dc5; }
.mgtc-roadmap-step:nth-child(4) { background: #3d8b37; }

.mgtc-roadmap-step b {
  display: block;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  margin-bottom: 6px;
}

.mgtc-roadmap-step span {
  display: block;
  font-size: 13px;
  opacity: 0.92;
  line-height: 1.45;
}

.mgtc-benefit {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.08);
}

.mgtc-benefit-head {
  padding: 16px 20px;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mgtc-benefit-head.is-teal { background: #0097a7; }
.mgtc-benefit-head.is-blue { background: var(--mgtc-blue); }
.mgtc-benefit-head.is-green { background: #3d8b37; }

.mgtc-benefit-body {
  padding: 22px 20px 26px;
}

.mgtc-benefit-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.mgtc-benefit-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

.mgtc-guide-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.08);
  display: flex;
  flex-direction: column;
}

.mgtc-guide-card img {
  width: 100%;
  max-width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.mgtc-guide-card .card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mgtc-guide-card h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.mgtc-guide-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.mgtc-app-band {
  background: var(--mgtc-light);
  border-radius: 20px;
  padding: 40px 36px;
}

/* App-band tail sections — match previous shaded block, keep card visible */
body.mgtc-home .bg-shade + .sec-padding.pt-0,
body.mgtc-home .bg-shade + .sec-padding:has(.mgtc-app-band) {
  background-color: var(--mgtc-light) !important;
  padding-top: 0;
}

body.mgtc-home .bg-shade + .sec-padding.pt-0 .mgtc-app-band,
body.mgtc-home .bg-shade + .sec-padding:has(.mgtc-app-band) .mgtc-app-band {
  background: #fff;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.08);
}

.mgtc-app-devices {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: flex-end;
  min-height: 180px;
}

.mgtc-device {
  background: var(--mgtc-navy);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(13, 31, 69, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mgtc-green);
}

.mgtc-device.is-laptop {
  width: 58%;
  height: 150px;
  font-size: 42px;
}

.mgtc-device.is-tablet {
  width: 22%;
  height: 170px;
  font-size: 28px;
}

.mgtc-device.is-phone {
  width: 14%;
  height: 190px;
  border-radius: 22px;
  font-size: 22px;
}

.mgtc-btn-green {
  background: var(--mgtc-green) !important;
  border-color: var(--mgtc-green) !important;
  color: var(--mgtc-navy) !important;
  font-weight: 700;
}

.mgtc-btn-green:hover {
  background: #7ab534 !important;
  border-color: #7ab534 !important;
  color: var(--mgtc-navy) !important;
}

@media (max-width: 991.98px) {
  .mgtc-ambition,
  .mgtc-roadmap {
    grid-template-columns: 1fr 1fr;
  }

  .mgtc-intro-box {
    margin-top: -28px;
    padding: 22px 20px;
  }
}

@media (max-width: 767.98px) {
  .mgtc-page-hero {
    min-height: 420px;
    padding: 130px 0 64px;
  }

  .mgtc-ambition,
  .mgtc-roadmap {
    grid-template-columns: 1fr;
  }

  .mgtc-intro-box {
    flex-direction: column;
  }

  .mgtc-app-band {
    padding: 28px 20px;
  }

  .mgtc-device.is-laptop {
    height: 110px;
    font-size: 28px;
  }
}

/* Homepage story — clean 2-column, no theme about-3 overlap */
.mgtc-story-visual {
  position: relative;
}

.mgtc-story-visual > img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.mgtc-story .mgtc-mandate-card {
  position: absolute;
  left: 20px;
  bottom: 24px;
}

.mgtc-story .ab-mission {
  margin-bottom: 22px;
}

.mgtc-story h4.ab-title {
  color: var(--mgtc-dark-blue);
  font-size: 18px;
  margin-bottom: 8px;
}

.mgtc-story .ab-mission p {
  margin-bottom: 0;
}

body.mgtc-home .project-card2 img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width: 991.98px) {
  .mgtc-story-visual > img {
    height: 320px;
  }

  .mgtc-story .mgtc-mandate-card {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: 16px;
  }
}

/* Clean footer */
.mgtc-footer {
  background: var(--mgtc-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
}

.mgtc-footer .container {
  max-width: 1200px;
}

.mgtc-footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  mix-blend-mode: screen;
}

.mgtc-footer-brand p {
  max-width: 280px;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.mgtc-footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 1.4fr;
  gap: 48px 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: start;
}

.mgtc-footer-visit {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr;
  gap: 28px;
}

.mgtc-footer-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.mgtc-footer-item i {
  color: var(--mgtc-green);
  font-size: 14px;
  margin-top: 5px;
  width: 16px;
  flex: none;
}

.mgtc-footer-item span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 6px;
}

.mgtc-footer-item p,
.mgtc-footer-item a {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.mgtc-footer-item a:hover {
  color: var(--mgtc-green);
}

.mgtc-footer-links {
  display: none;
}

.mgtc-footer-links.is-visible {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mgtc-footer-links h3 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.mgtc-footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  padding: 5px 0;
}

.mgtc-footer-links a:hover {
  color: var(--mgtc-green);
}

.mgtc-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
}

.mgtc-footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.mgtc-footer .social-share {
  display: flex;
  gap: 8px;
}

.mgtc-footer .social-share a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin: 0;
}

.mgtc-footer .social-share a:hover {
  background: var(--mgtc-blue);
  border-color: var(--mgtc-blue);
  color: #fff;
}

@media (max-width: 991.98px) {
  .mgtc-footer-top,
  .mgtc-footer-visit {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 767.98px) {
  .mgtc-footer {
    padding-top: 48px;
  }

  .mgtc-footer-links {
    grid-template-columns: 1fr 1fr;
    padding: 28px 0;
  }

  .mgtc-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* What we do */
.mgtc-do {
  background: var(--mgtc-light);
}

.mgtc-do-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.mgtc-do-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(13, 31, 69, 0.06);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.mgtc-do-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(13, 31, 69, 0.12);
}

.mgtc-do-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--mgtc-blue);
  margin-bottom: 12px;
}

.mgtc-do-card h3 {
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--mgtc-dark-blue);
}

.mgtc-do-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--mgtc-grey);
  flex: 1;
}

.mgtc-do-card a {
  font-size: 13px;
  font-weight: 700;
  color: var(--mgtc-blue);
  text-decoration: none;
}

.mgtc-do-card a:hover {
  color: var(--mgtc-green);
}

/* Events — 3 cards */
.mgtc-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mgtc-event-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  border-radius: 20px;
  padding: 28px 26px;
  text-decoration: none !important;
  color: #fff;
  background: var(--mgtc-navy);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.mgtc-event-card:hover {
  transform: translateY(-8px);
  color: #fff;
  box-shadow: 0 18px 36px rgba(13, 31, 69, 0.22);
}

.mgtc-event-card.is-igem {
  background: linear-gradient(160deg, #1c4792 0%, #0d1f45 100%);
}

.mgtc-event-card.is-klss {
  background: linear-gradient(160deg, #007dc5 0%, #1c4792 100%);
}

.mgtc-event-card.is-cop {
  background: linear-gradient(160deg, #3d8b37 0%, #0d1f45 100%);
}

.mgtc-event-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mgtc-green);
  margin-bottom: 16px;
}

.mgtc-event-card h3 {
  color: #fff !important;
  font-size: 26px;
  margin-bottom: 12px;
}

.mgtc-event-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.mgtc-event-card .mgtc-event-cta {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

/* Media */
.mgtc-media {
  background: var(--mgtc-light);
}

.mgtc-text-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--mgtc-blue);
  text-decoration: none;
  white-space: nowrap;
}

.mgtc-text-link:hover {
  color: var(--mgtc-green);
}

.mgtc-media-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.mgtc-media-feature {
  background: var(--mgtc-navy);
  color: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
}

.mgtc-media-feature h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.25;
  margin: 12px 0 14px;
}

.mgtc-media-feature h3 a {
  color: #fff;
  text-decoration: none;
}

.mgtc-media-feature h3 a:hover {
  color: var(--mgtc-green);
}

.mgtc-media-feature p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 520px;
}

.mgtc-media-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.mgtc-media-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mgtc-green);
}

.mgtc-media-list .mgtc-media-tag {
  color: var(--mgtc-blue);
}

.mgtc-media-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.mgtc-media-list {
  display: flex;
  flex-direction: column;
}

.mgtc-media-list article {
  padding: 22px 0;
  border-bottom: 1px solid rgba(13, 31, 69, 0.1);
}

.mgtc-media-list article:first-child {
  padding-top: 0;
}

.mgtc-media-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mgtc-media-list h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 8px 0 8px;
}

.mgtc-media-list h3 a {
  color: var(--mgtc-dark-blue);
  text-decoration: none;
}

.mgtc-media-list h3 a:hover {
  color: var(--mgtc-blue);
}

.mgtc-media-list .mgtc-media-meta {
  color: var(--mgtc-grey);
}

@media (max-width: 991.98px) {
  .mgtc-do-grid,
  .mgtc-events-grid,
  .mgtc-media-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  .mgtc-do-grid,
  .mgtc-events-grid,
  .mgtc-media-grid {
    grid-template-columns: 1fr;
  }

  .mgtc-media-feature {
    min-height: 240px;
    padding: 28px 24px;
  }
}

/* Section backgrounds */
.mgtc-story {
  background: #fff;
}

.mgtc-events {
  background: #fff;
}

/* Combined resources strip inside What we do */
.mgtc-do-resources {
  margin-top: 28px;
  background: #fff;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 10px 28px rgba(13, 31, 69, 0.05);
}

.mgtc-do-resources-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mgtc-blue);
  margin-bottom: 16px;
}

.mgtc-do-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mgtc-do-resources-grid a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--mgtc-dark-blue);
  transition: background 0.2s ease;
}

.mgtc-do-resources-grid a:hover {
  background: var(--mgtc-light);
}

.mgtc-do-resources-grid i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--mgtc-light);
  color: var(--mgtc-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.mgtc-do-resources-grid a:nth-child(2) i {
  color: var(--mgtc-dark-blue);
}

.mgtc-do-resources-grid a:nth-child(3) i {
  color: #3d8b37;
}

.mgtc-do-resources-grid b {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.mgtc-do-resources-grid span {
  display: block;
  font-size: 13px;
  color: var(--mgtc-grey);
  font-weight: 400;
}

@media (max-width: 991.98px) {
  .mgtc-do-resources-grid {
    grid-template-columns: 1fr;
  }
}




/* Keep .row negative margins inside .container */
body.mgtc-home .container,
body.mgtc-home .container-fluid {
  overflow-x: clip;
}

body.mgtc-home .container > .row,
body.mgtc-home .container-fluid > .row {
  --bs-gutter-x: 1.5rem;
}

/* Mobile-friendly */
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body.mgtc-home {
  overflow-x: clip;
}

body.mgtc-home img {
  max-width: 100%;
}

@media (pointer: coarse) {
  .tv-cursor,
  .cb-cursor {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  body.mgtc-home .sec-title {
    font-size: clamp(26px, 6vw, 36px) !important;
    line-height: 1.2;
  }

  .mgtc-stats h3,
  .mgtc-stats .display-2 {
    font-size: clamp(24px, 4.6vw, 42px) !important;
  }

  .mgtc-hero-content p {
    font-size: 16px;
  }

  .mgtc-lcc {
    min-height: 380px;
    padding: 72px 0;
  }

  .mgtc-footer-bottom p {
    max-width: 100%;
    line-height: 1.5;
  }
}

@media (max-width: 767.98px) {
  body.mgtc-home .sec-padding {
    padding: 56px 0;
  }

  body.mgtc-home .container,
  body.mgtc-home .container-fluid,
  body.mgtc-home .ct-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .mgtc-hero {
    min-height: 100svh;
    align-items: flex-end;
  }

  .mgtc-hero-content {
    padding: 104px 0 40px;
  }

  .mgtc-hero-content h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .mgtc-hero-ctas {
    flex-direction: column;
  }

  .mgtc-hero-ctas .btn {
    width: 100%;
  }

  .mgtc-stats .stat-card {
    padding: 18px 10px;
  }

  .mgtc-stats h3,
  .mgtc-stats .display-2 {
    font-size: 24px !important;
  }

  .mgtc-stats p {
    font-size: 11px;
    line-height: 1.35;
  }

  .mgtc-story-visual > img {
    height: 220px;
  }

  .mgtc-story .row.g-5 {
    --bs-gutter-y: 1.5rem;
  }

  .mgtc-do-card,
  .mgtc-event-card {
    min-height: 0;
    padding: 22px 20px;
  }

  .mgtc-event-card h3 {
    font-size: 22px;
  }

  .mgtc-do-resources {
    padding: 16px;
  }

  .mgtc-media-feature {
    min-height: 0;
  }

  .mgtc-page-hero {
    min-height: 360px;
    padding: 120px 0 48px;
  }

  .mgtc-page-hero h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .mgtc-intro-box {
    padding: 18px 16px;
  }

  .mgtc-app-devices {
    display: none;
  }

  .mgtc-footer {
    padding-top: 40px;
  }

  .mgtc-footer-item p,
  .mgtc-footer-item a {
    font-size: 13px;
  }

  .mgtc-footer-bottom {
    padding-bottom: 28px;
  }

  body.mgtc-home .header.header-3 .navbar {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (max-width: 575.98px) {


  .mgtc-stats .stat-card {
    min-height: 0;
  }
}







@media (max-width: 1199.98px) {
  body.mgtc-home .navbar > .container-fluid {
    flex-wrap: nowrap;
    align-items: center;
  }

  body.mgtc-home .navbar-brand {
    order: 1;
  }

  body.mgtc-home .navbar .nav-cta {
    order: 2;
    margin-left: auto;
    margin-right: 12px;
  }

  body.mgtc-home .navbar button.navbar-toggler.offcanvas-nav-btn {
    order: 3;
  }
}

@media (max-width: 575.98px) {
  body.mgtc-home .navbar .nav-cta {
    display: none !important;
  }

  body.mgtc-home .navbar button.navbar-toggler.offcanvas-nav-btn {
    margin-left: auto;
  }
}

@media (max-width: 1199.98px) {
  body.mgtc-home .offcanvas-nav .nav-item.dropdown > .nav-link {
    position: relative;
    display: flex;
    
    
    align-items: center;
    padding-right: 36px;
  }

  body.mgtc-home .offcanvas-nav .nav-item.dropdown > .nav-link.dropdown-toggle::after,
  body.mgtc-home .offcanvas-nav .nav-item.dropdown > .nav-link.dropdown-toggle:after {
    content: "" !important;
    font: inherit !important;
    float: none !important;
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: solid rgba(255, 255, 255, 0.85) !important;
    border-width: 0 2px 2px 0 !important;
    background: none !important;
    position: absolute;
    right: 8px;
    top: 50%;
    
    
    display: block !important;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.28s ease;
    /* vertical-align: middle; */
  }

  body.mgtc-home .offcanvas-nav .nav-item.dropdown > .nav-link.dropdown-toggle[aria-expanded="true"]::after,
  body.mgtc-home .offcanvas-nav .nav-item.dropdown > .nav-link.dropdown-toggle.show::after,
  body.mgtc-home .offcanvas-nav .nav-item.dropdown.show > .nav-link.dropdown-toggle::after {
    transform: translateY(-30%) rotate(-135deg);
  }

  body.mgtc-home .offcanvas-nav .nav-item.dropdown > .dropdown-menu {
    position: static !important;
    transform: none !important;
    inset: auto !important;
    float: none !important;
    display: block !important;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0 !important;
    transition: max-height 0.35s ease, opacity 0.28s ease, padding 0.28s ease;
  }

  body.mgtc-home .offcanvas-nav .nav-item.dropdown > .dropdown-menu.show {
    max-height: min(70vh, 900px);
    opacity: 1;
    visibility: visible;
    padding: 6px 0 10px 0 !important;
  }

  body.mgtc-home .offcanvas-nav .dropdown-menu .dropdown-item {
    padding: 8px 16px;
  }
}
body.mgtc-home .navbar .navbar-nav .nav-item > .dropdown-menu:first-of-type::before {
  display: none !important;
  content: none !important;
  border: 0 !important;
}

/* Hide theme magic cursor */
#magic-cursor,
#ball {
  display: none !important;
}

/* Motion: hero, scroll reveal, icon */
@keyframes mgtc-in-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mgtc-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes mgtc-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.mgtc-hero-content h1 {
  animation: mgtc-in-up 0.85s ease both;
}

.mgtc-hero-content p {
  animation: mgtc-in-up 0.85s 0.12s ease both;
}

.mgtc-hero-ctas {
  animation: mgtc-in-up 0.85s 0.24s ease both;
}

.mgtc-page-hero .mgtc-crumb {
  animation: mgtc-in-up 0.7s ease both;
}

.mgtc-page-hero h1 {
  animation: mgtc-in-up 0.85s 0.1s ease both;
}

.mgtc-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--mgtc-reveal-delay, 0s);
}

.mgtc-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.mgtc-do-card.mgtc-reveal.is-in:hover,
.mgtc-event-card.mgtc-reveal.is-in:hover,
.mgtc-pillar.mgtc-reveal.is-in:hover,
.mgtc-benefit.mgtc-reveal.is-in:hover,
.mgtc-guide-card.mgtc-reveal.is-in:hover,
.mgtc-ambition-card.mgtc-reveal.is-in:hover,
.mgtc-track.mgtc-reveal.is-in:hover,
.mgtc-cal-card.mgtc-reveal.is-in:hover,
.mgtc-director.mgtc-reveal.is-in:hover,
.mgtc-bod-card.mgtc-reveal.is-in:hover {
  transform: translateY(-8px);
}

.mgtc-benefit,
.mgtc-guide-card,
.mgtc-ambition-card,
.mgtc-roadmap-step,
.mgtc-track,
.mgtc-cal-card {
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.mgtc-benefit:hover,
.mgtc-guide-card:hover,
.mgtc-ambition-card:hover,
.mgtc-track:hover,
.mgtc-cal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(13, 31, 69, 0.1);
}

.mgtc-roadmap-step:hover {
  transform: translateY(-4px);
}

@media (max-width: 767.98px) {
  .mgtc-do-num {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mgtc-hero-content h1,
  .mgtc-hero-content p,
  .mgtc-hero-ctas,
  .mgtc-page-hero .mgtc-crumb,
  .mgtc-page-hero h1,
  .mgtc-intro-icon,
  .mgtc-page-hero .mgtc-page-hero-bg {
    animation: none !important;
  }

  .mgtc-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* Media listing + article detail */
.mgtc-media-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.mgtc-media-filters a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--mgtc-dark-blue);
  background: #fff;
  border: 1px solid rgba(13, 31, 69, 0.1);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mgtc-media-filters a:hover,
.mgtc-media-filters a.is-active {
  background: var(--mgtc-blue);
  border-color: var(--mgtc-blue);
  color: #fff;
}

.mgtc-media-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.mgtc-media-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.06);
  display: flex;
  flex-direction: column;
}

.mgtc-media-card-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mgtc-navy);
}

.mgtc-media-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.mgtc-media-card:hover .mgtc-media-card-thumb img {
  transform: scale(1.04);
}

.mgtc-media-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  background: rgba(13, 31, 69, 0.28);
}

.mgtc-media-play i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mgtc-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
}

.mgtc-media-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mgtc-media-card-body h2 {
  font-size: 20px;
  line-height: 1.35;
  margin: 10px 0 10px;
}

.mgtc-media-card-body h2 a {
  color: var(--mgtc-dark-blue);
  text-decoration: none;
}

.mgtc-media-card-body h2 a:hover {
  color: var(--mgtc-blue);
}

.mgtc-media-card-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mgtc-grey);
  margin-bottom: 14px;
}

.mgtc-article-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(13, 31, 69, 0.1);
}

.mgtc-article-meta-cats,
.mgtc-article-meta .mgtc-article-badges,
.mgtc-article-meta .mgtc-event-tags,
.mgtc-article-meta .mgtc-learn-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 12px;
  flex: 1;
  min-width: 0;
  margin: 0;
}

.mgtc-article-badges span {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(0, 125, 197, 0.1);
  border: 1px solid rgba(0, 125, 197, 0.18);
  color: var(--mgtc-dark-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  box-shadow: 0 2px 10px rgba(13, 31, 69, 0.06);
}

.mgtc-article-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px 10px 16px;
  border-radius: 999px;
  background: var(--mgtc-light);
  border: 1px solid rgba(13, 31, 69, 0.08);
  border-left: 4px solid var(--mgtc-green);
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--mgtc-dark-blue);
}

.mgtc-article-date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--mgtc-grey);
  line-height: 1.4;
  white-space: nowrap;
}

.mgtc-article-date i {
  color: var(--mgtc-blue);
  font-size: 17px;
}

@media (max-width: 767px) {
  .mgtc-article-meta {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
  }

  .mgtc-article-meta-cats {
    justify-content: center;
  }

  .mgtc-article-date {
    white-space: normal;
  }
}

.mgtc-article h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin: 36px 0 16px;
}

.mgtc-article-figure {
  margin: 28px 0;
}

.mgtc-article-figure img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

.mgtc-article-figure figcaption {
  font-size: 13px;
  color: var(--mgtc-grey);
  margin-top: 10px;
}

.mgtc-article-quote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 5px solid var(--mgtc-green);
  background: var(--mgtc-light);
  border-radius: 0 16px 16px 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--mgtc-dark-blue);
}

.mgtc-article-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 32px 0;
}

.mgtc-article-facts div {
  background: var(--mgtc-light);
  border-radius: 16px;
  padding: 18px 16px;
}

.mgtc-article-facts strong {
  display: block;
  font-size: 20px;
  color: var(--mgtc-dark-blue);
  margin-bottom: 4px;
}

.mgtc-article-facts span {
  font-size: 13px;
  color: var(--mgtc-grey);
}

.mgtc-article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(13, 31, 69, 0.1);
}

.mgtc-article-share span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mgtc-grey);
  margin-right: 6px;
}

.mgtc-article-share a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mgtc-light);
  color: var(--mgtc-dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.mgtc-article-share a:hover {
  background: var(--mgtc-blue);
  color: #fff;
}

.mgtc-article-side {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.06);
  margin-bottom: 20px;
}

.mgtc-article-side h3 {
  font-size: 18px;
  margin-bottom: 18px;
}

.mgtc-article-side > a {
  display: block;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(13, 31, 69, 0.08);
}

.mgtc-article-side b {
  display: block;
  color: var(--mgtc-dark-blue);
  font-size: 15px;
  line-height: 1.4;
  margin: 6px 0 4px;
}

.mgtc-article-side small {
  color: var(--mgtc-grey);
  font-size: 12px;
}

.mgtc-article-side > a:hover b {
  color: var(--mgtc-blue);
}

.mgtc-article-side .mgtc-text-link {
  display: inline-flex;
  margin-top: 8px;
  padding: 0;
  border: 0;
}

.mgtc-article-side.is-cta {
  background: var(--mgtc-navy);
  color: #fff;
  box-shadow: none;
}

.mgtc-article-side.is-cta h3 {
  color: #fff;
}

.mgtc-article-side.is-cta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  margin-bottom: 18px;
}

@media (max-width: 991.98px) {
  .mgtc-media-cards,
  .mgtc-article-facts {
    grid-template-columns: 1fr;
  }
}


.mgtc-media-card-body .mgtc-media-meta {
  color: var(--mgtc-grey);
}

.mgtc-media-card.is-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}

.mgtc-media-card.is-feature .mgtc-media-card-thumb {
  aspect-ratio: auto;
  min-height: 280px;
}

.mgtc-media-card.is-feature .mgtc-media-card-body {
  justify-content: center;
  padding: 32px;
}

.mgtc-media-card.is-feature h2 {
  font-size: clamp(22px, 2.4vw, 30px);
}

@media (max-width: 767.98px) {
  .mgtc-media-card.is-feature {
    grid-template-columns: 1fr;
  }

  .mgtc-media-card.is-feature .mgtc-media-card-thumb {
    min-height: 200px;
  }
}


.mgtc-media-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(13, 31, 69, 0.08);
}

.mgtc-media-subnav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--mgtc-dark-blue);
  background: #fff;
  border: 1px solid rgba(13, 31, 69, 0.1);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mgtc-media-subnav a:hover,
.mgtc-media-subnav a.is-active {
  background: var(--mgtc-blue);
  border-color: var(--mgtc-blue);
  color: #fff;
}

.mgtc-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.mgtc-pager a,
.mgtc-pager span {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--mgtc-dark-blue);
  background: #fff;
  border: 1px solid rgba(13, 31, 69, 0.1);
}

.mgtc-pager a:hover {
  background: var(--mgtc-light);
  color: var(--mgtc-blue);
}

.mgtc-pager .is-current {
  background: var(--mgtc-blue);
  border-color: var(--mgtc-blue);
  color: #fff;
}

.mgtc-pager .is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.mgtc-pager-prev,
.mgtc-pager-next {
  gap: 8px;
}

.mgtc-article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(13, 31, 69, 0.1);
}

.mgtc-article-nav a {
  display: block;
  text-decoration: none;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--mgtc-light);
}

.mgtc-article-nav a > span:first-child {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mgtc-blue);
  margin-bottom: 6px;
}

.mgtc-article-nav a b {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  color: var(--mgtc-dark-blue);
}

.mgtc-article-nav a:hover b {
  color: var(--mgtc-blue);
}


.mgtc-article-nav-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}

.mgtc-article-nav-copy {
  flex: 1;
  min-width: 0;
}

.mgtc-article-nav-media {
  flex-shrink: 0;
  width: 112px;
  border-radius: 10px;
  overflow: hidden;
}

.mgtc-article-nav-media img {
  width: 112px;
  height: 75px;
  object-fit: cover;
  display: block;
}

.mgtc-article-nav-copy b {
  display: block;
}

.mgtc-article-nav-cats {
  margin-bottom: 6px;
}

.mgtc-article-nav-cats .mgtc-media-tag {
  color: var(--mgtc-blue);
}

.mgtc-article-nav-prev .mgtc-article-nav-cats {
  justify-content: flex-start;
}

.mgtc-article-nav-next .mgtc-article-nav-cats {
  justify-content: flex-end;
}


.mgtc-article-nav-date {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--mgtc-grey);
  margin-top: 6px;
}

.mgtc-article-nav-next .mgtc-article-nav-body {
  flex-direction: row-reverse;
}

.mgtc-article-nav-next .mgtc-article-nav-copy {
  text-align: right;
}

.mgtc-article-nav a[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}

.mgtc-article-nav-prev {
  grid-column: 1;
}

.mgtc-article-nav-next {
  grid-column: 2;
  text-align: right;
}

@media (max-width: 767.98px) {
  .mgtc-article-nav {
    grid-template-columns: 1fr;
  }

  .mgtc-article-nav-prev,
  .mgtc-article-nav-next {
    grid-column: 1;
  }

  .mgtc-article-nav-next {
    text-align: left;
  }

  .mgtc-article-nav-next .mgtc-article-nav-body {
    flex-direction: row;
  }

  .mgtc-article-nav-next .mgtc-article-nav-copy {
    text-align: left;
  }

  .mgtc-article-nav-next .mgtc-article-nav-cats {
    justify-content: flex-start;
  }

}


/* In the News — editorial list layout */
.mgtc-news-layout {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mgtc-news-lead {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--mgtc-navy);
  box-shadow: 0 16px 40px rgba(13, 31, 69, 0.12);
}

.mgtc-news-lead-media {
  display: block;
  min-height: 280px;
  overflow: hidden;
}

.mgtc-news-lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mgtc-news-lead:hover .mgtc-news-lead-media img {
  transform: scale(1.04);
}

.mgtc-news-lead-copy {
  color: #fff;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mgtc-news-lead-copy h2 {
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.22;
  margin: 12px 0 14px;
}

.mgtc-news-lead-copy h2 a {
  color: #fff;
  text-decoration: none;
}

.mgtc-news-lead-copy h2 a:hover {
  color: var(--mgtc-green);
}

.mgtc-news-lead-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.mgtc-news-lead-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mgtc-news-lead-foot time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.mgtc-news-read {
  font-size: 14px;
  font-weight: 700;
  color: var(--mgtc-green);
  text-decoration: none;
}

.mgtc-news-read:hover {
  color: #fff;
}

.mgtc-news-rows {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  padding: 8px 28px;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.06);
}

.mgtc-news-row {
  display: grid;
  grid-template-columns: 168px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(13, 31, 69, 0.08);
}

.mgtc-news-row:last-child {
  border-bottom: 0;
}

.mgtc-news-row-media {
  display: block;
  height: 112px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--mgtc-navy);
}

.mgtc-news-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mgtc-news-row:hover .mgtc-news-row-media img {
  transform: scale(1.05);
}

.mgtc-news-row-copy h2 {
  font-size: 18px;
  line-height: 1.35;
  margin: 6px 0 8px;
}

.mgtc-news-row-copy h2 a {
  color: var(--mgtc-dark-blue);
  text-decoration: none;
}

.mgtc-news-row-copy h2 a:hover {
  color: var(--mgtc-blue);
}

.mgtc-news-row-copy p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--mgtc-grey);
  margin: 0 0 8px;
}

.mgtc-news-row-copy .mgtc-media-meta {
  color: var(--mgtc-grey);
}

.mgtc-news-row-go {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mgtc-light);
  color: var(--mgtc-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.mgtc-news-row:hover .mgtc-news-row-go {
  background: var(--mgtc-blue);
  color: #fff;
}

@media (max-width: 991.98px) {
  .mgtc-news-lead {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mgtc-news-lead-media {
    height: 240px;
  }

  .mgtc-news-lead-copy {
    padding: 28px 24px 32px;
  }
}

@media (max-width: 767.98px) {
  .mgtc-news-row {
    grid-template-columns: 96px 1fr;
    gap: 14px;
  }

  .mgtc-news-row-media {
    height: 80px;
    border-radius: 10px;
  }

  .mgtc-news-row-go {
    display: none;
  }

  .mgtc-news-rows {
    padding: 4px 16px;
  }


  .mgtc-news-lead-copy h2 {
    font-size: 20px;
    line-height: 1.25;
    margin: 10px 0 12px;
  }

  .mgtc-news-row-copy h2 {
    font-size: 16px;
    line-height: 1.3;
    margin: 4px 0 6px;
  }
  .mgtc-news-row-copy p {
    display: none;
  }
}


/* Uniform media image frames + placeholder */
.mgtc-media-frame {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: #0d1f45;
}

.mgtc-media-ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0d1f45;
}

.mgtc-media-frame img,
.mgtc-news-lead-media img,
.mgtc-news-row-media img,
.mgtc-media-card-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mgtc-media-frame img.is-fallback {
  z-index: 0;
}

.mgtc-news-lead-media {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d1f45;
}

.mgtc-news-lead {
  min-height: 0;
  align-items: stretch;
}

.mgtc-news-row-media {
  position: relative;
  display: block;
  width: 168px;
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: 14px;
  overflow: hidden;
  background: #0d1f45;
  flex: none;
}

.mgtc-media-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  height: auto;
  overflow: hidden;
  background: #0d1f45 url("../images/media-placeholder.svg") center / cover no-repeat;
}

.mgtc-media-card-thumb .mgtc-media-ph {
  z-index: 0;
}

.mgtc-media-play {
  z-index: 2;
}

.mgtc-media-play.is-sm i {
  width: 36px;
  height: 36px;
  font-size: 12px;
}

.mgtc-news-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 20px;
  padding: 48px 28px;
  color: var(--mgtc-grey);
  text-align: center;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.06);
}

.mgtc-news-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mgtc-light);
  color: var(--mgtc-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 4px;
}

.mgtc-news-empty-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--mgtc-dark-blue);
}

.mgtc-news-empty-text {
  margin: 0;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.6;
}

.mgtc-article-figure {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  background: #0d1f45 url("../images/media-placeholder.svg") center / cover no-repeat;
}

.mgtc-article-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

@media (max-width: 991.98px) {
  .mgtc-news-lead-media {
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 767.98px) {
  .mgtc-news-row-media {
    width: 96px;
  }
}


.mgtc-article-figure {
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
  height: auto;
}

.mgtc-article-figure img {
  position: relative;
  inset: auto;
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: #0d1f45 url("../images/media-placeholder.svg") center / cover no-repeat;
}

.mgtc-article-figure .mgtc-media-ph {
  display: none;
}

.mgtc-article-figure figcaption {
  position: relative;
}

/* Nested Services → Learning & Education */
body.mgtc-home .dropdown-submenu {
  position: relative;
}

body.mgtc-home .dropdown-submenu > .dropdown-item.dropdown-toggle.mgtc-submenu-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
}

/* Kill theme/Bootstrap pseudo chevrons on submenu toggle and child links */
body.mgtc-home .navbar .dropdown-menu .dropdown-submenu > .dropdown-item.dropdown-toggle::after,
body.mgtc-home .navbar .dropdown-menu .dropdown-submenu > .dropdown-item.dropdown-toggle:after,
body.mgtc-home .offcanvas-nav .dropdown-submenu > .dropdown-item.dropdown-toggle::after,
body.mgtc-home .offcanvas-nav .dropdown-submenu > .dropdown-item.dropdown-toggle:after,
body.mgtc-home .dropdown-submenu > .dropdown-menu .dropdown-item::after,
body.mgtc-home .dropdown-submenu > .dropdown-menu .dropdown-item:after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.mgtc-home .dropdown-submenu .mgtc-submenu-chevron {
  font-size: 11px;
  line-height: 1;
  opacity: 0.55;
  flex-shrink: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

body.mgtc-home .dropdown-submenu > .dropdown-item.dropdown-toggle:hover .mgtc-submenu-chevron,
body.mgtc-home .dropdown-submenu > .dropdown-item.dropdown-toggle:focus .mgtc-submenu-chevron {
  opacity: 0.85;
}

body.mgtc-home .dropdown-submenu:has(> .dropdown-menu.show) .mgtc-submenu-chevron {
  transform: rotate(90deg);
  opacity: 0.85;
}

@media (min-width: 1200px) {
  body.mgtc-home .navbar .navbar-nav .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }

  /* Flush to nav link — theme top:106% leaves a dead hover gap */
  body.mgtc-home .navbar .navbar-nav > .nav-item.dropdown > .dropdown-menu {
    top: 100%;
    margin-top: 0;
    transform: translateY(4px);
  }

  body.mgtc-home .navbar .navbar-nav > .nav-item.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Invisible bridge so the cursor can cross the gap without losing hover */
  body.mgtc-home .navbar .navbar-nav > .nav-item.dropdown > .dropdown-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
  }

  body.mgtc-home .navbar .navbar-nav .dropdown-submenu > .dropdown-menu {
    top: -8px;
    left: 100%;
    min-width: 240px;
    transform: none;
  }

  body.mgtc-home .navbar .navbar-nav .dropdown-submenu.dropend:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Bridge for nested flyout gap (was calc(100% + 8px)) */
  body.mgtc-home .navbar .navbar-nav .dropdown-submenu > .dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -12px;
    width: 12px;
  }

  body.mgtc-home .dropdown-submenu.dropend:hover .mgtc-submenu-chevron {
    transform: rotate(90deg);
    opacity: 0.85;
  }

  body.mgtc-home .navbar .navbar-nav .dropdown-menu > li.dropdown-submenu.dropend:hover > a.mgtc-submenu-toggle,
  body.mgtc-home .navbar .navbar-nav .dropdown-menu > li.dropdown-submenu.dropend:focus > a.mgtc-submenu-toggle {
    color: var(--mgtc-dark-blue);
    background: #e8f0ea;
    padding-left: 32px;
  }

  body.mgtc-home .navbar .navbar-nav .dropdown-menu > li.dropdown-submenu.dropend:hover > a.mgtc-submenu-toggle::before,
  body.mgtc-home .navbar .navbar-nav .dropdown-menu > li.dropdown-submenu.dropend:focus > a.mgtc-submenu-toggle::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
  }

  body.mgtc-home .dropdown-submenu:has(.dropdown-item.active) > .mgtc-submenu-toggle,
  body.mgtc-home .navbar .navbar-nav .dropdown-menu > li.dropdown-submenu.dropend:has(.dropdown-item.active) > a.mgtc-submenu-toggle {
    color: var(--mgtc-dark-blue);
    background: #e8f0ea;
    padding-left: 32px;
  }
}

body.mgtc-home .btn-outline-primary {
  border: 1.5px solid var(--mgtc-blue);
  color: var(--mgtc-blue);
  background: transparent;
}

body.mgtc-home .btn-outline-primary:hover,
body.mgtc-home .btn-outline-primary:focus {
  background: var(--mgtc-blue);
  border-color: var(--mgtc-blue);
  color: #fff;
}

@media (max-width: 1199.98px) {
  body.mgtc-home .navbar .navbar-nav .dropdown-menu .dropdown-item:hover,
  body.mgtc-home .navbar .navbar-nav .dropdown-menu .dropdown-item:focus {
    color: var(--mgtc-green) !important;
    padding-left: 16px;
  }

  body.mgtc-home .navbar .navbar-nav .dropdown-menu .dropdown-item.active,
  body.mgtc-home .navbar .navbar-nav .dropdown-menu .dropdown-item.active:hover,
  body.mgtc-home .navbar .navbar-nav .dropdown-menu .dropdown-item.active:focus {
    color: var(--mgtc-green) !important;
    background: rgba(141, 198, 63, 0.2) !important;
    font-weight: 700;
    padding-left: 16px;
  }

  body.mgtc-home .navbar .navbar-nav .dropdown-menu > li.dropdown-submenu.dropend:focus > a,
  body.mgtc-home .navbar .navbar-nav .dropdown-menu > li.dropdown-submenu.dropend:hover > a,
  body.mgtc-home .navbar .navbar-nav .dropdown-menu > li.dropdown-submenu.dropend:focus > a.mgtc-submenu-toggle,
  body.mgtc-home .navbar .navbar-nav .dropdown-menu > li.dropdown-submenu.dropend:hover > a.mgtc-submenu-toggle,
  body.mgtc-home .dropdown-submenu > .mgtc-submenu-toggle:hover,
  body.mgtc-home .dropdown-submenu > .mgtc-submenu-toggle:focus,
  body.mgtc-home .dropdown-submenu > .mgtc-submenu-toggle.active,
  body.mgtc-home .dropdown-submenu:has(> .dropdown-menu.show) > .mgtc-submenu-toggle {
    color: var(--mgtc-green) !important;
    background: transparent !important;
    background-color: transparent !important;
    padding-left: 20px;
  }

  body.mgtc-home .navbar .dropdown-menu .dropdown-submenu.dropend .dropdown-menu {
    margin-left: 20px;
  }

  body.mgtc-home .offcanvas-nav .dropdown-submenu > .dropdown-menu {
    position: static;
    left: 0;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0 !important;
    margin: 0 0 0 20px;
    min-width: 0;
    max-height: none;
    overflow: visible;
  }

  body.mgtc-home .offcanvas-nav .dropdown-submenu > .dropdown-menu.show {
    display: block;
  }

  body.mgtc-home .offcanvas-nav .dropdown-submenu > .dropdown-item.mgtc-submenu-toggle {
    padding: 8px 16px;
  }

  body.mgtc-home .offcanvas-nav .dropdown-submenu > .dropdown-menu .dropdown-item {
    padding: 8px 16px;
  }

  body.mgtc-home .offcanvas-nav .dropdown-submenu .mgtc-submenu-chevron {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
  }

}

/* Learning & Education pages */
.mgtc-page-hero.is-learn::before {
  background:
    linear-gradient(180deg, rgba(13, 31, 69, 0.3) 0%, rgba(20, 70, 40, 0.42) 44%, rgba(13, 31, 69, 0.86) 100%),
    linear-gradient(90deg, rgba(141, 198, 63, 0.2) 0%, transparent 58%);
}

.mgtc-pdf-section {
  padding-top: 28px;
}

.mgtc-pdf-lead {
  margin-bottom: 18px;
}

.mgtc-pdf-lead .sec-meta {
  text-decoration: none;
}

.mgtc-pdf-lead .sec-meta:hover {
  color: var(--mgtc-green) !important;
}

.mgtc-pdf-viewer {
  background: #d7dde6;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(13, 31, 69, 0.14);
}

.mgtc-pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: #323639;
  color: #fff;
}

.mgtc-pdf-toolbar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
}

.mgtc-pdf-toolbar-title i {
  color: #f4b183;
}

.mgtc-pdf-toolbar-actions {
  display: flex;
  gap: 8px;
}

.mgtc-pdf-toolbar-actions a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 6px 14px;
}

.mgtc-pdf-toolbar-actions a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--mgtc-green);
}

.mgtc-pdf-stage {
  background: #525659;
  min-height: 820px;
}

.mgtc-pdf-stage iframe {
  display: block;
  width: 100%;
  height: 1100px;
  border: 0;
  background: #525659;
}

.mgtc-pdf-fallback {
  display: none;
  margin: 0;
  padding: 28px 22px 32px;
  text-align: center;
  color: #fff;
}

.mgtc-pdf-fallback a {
  color: var(--mgtc-green);
}

.mgtc-learn-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 28px;
}

.mgtc-learn-badges span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--mgtc-light);
  color: var(--mgtc-dark-blue);
  font-size: 13px;
  font-weight: 700;
}

.mgtc-learn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mgtc-learn-note {
  color: var(--mgtc-grey);
  margin: 12px 0 0;
}

.mgtc-track {
  background: #fff;
  border-radius: 18px;
  padding: 28px 26px;
  height: 100%;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.08);
  border-top: 4px solid var(--mgtc-green);
}

.mgtc-track-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.mgtc-track-head span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(141, 198, 63, 0.14);
  color: var(--mgtc-dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: none;
}

.mgtc-track-head h3 {
  margin: 0;
  font-size: 20px;
}

.mgtc-track ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mgtc-track li {
  position: relative;
  padding: 8px 0 8px 18px;
  border-bottom: 1px solid rgba(13, 31, 69, 0.06);
  font-size: 15px;
  line-height: 1.5;
}

.mgtc-track li:last-child {
  border-bottom: 0;
}

.mgtc-track li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mgtc-green);
}

.mgtc-track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

.mgtc-learn-band {
  background: var(--mgtc-light);
  border-radius: 20px;
  padding: 40px 36px;
}

.mgtc-learn-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
}

.mgtc-learn-contacts a {
  color: var(--mgtc-dark-blue);
  font-weight: 700;
  text-decoration: none;
}

.mgtc-learn-contacts a i {
  color: var(--mgtc-blue);
  margin-right: 6px;
}

.mgtc-learn-contacts a:hover {
  color: var(--mgtc-blue);
}

.mgtc-learn-cta-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.08);
}

.mgtc-learn-cta-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.mgtc-learn-cta-card p {
  margin-bottom: 18px;
}

.mgtc-learn-cta-card .btn {
  display: inline-flex;
  margin: 0 8px 8px 0;
}

.mgtc-cal-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 28px 22px;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.08);
  margin-bottom: 18px;
}

.mgtc-cal-card-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.mgtc-cal-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mgtc-blue);
  margin-bottom: 8px;
}

.mgtc-cal-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.mgtc-cal-card p {
  margin: 0;
  color: var(--mgtc-grey);
}

.mgtc-cal-fee {
  text-align: right;
  min-width: 180px;
  flex: none;
}

.mgtc-cal-fee b {
  display: block;
  color: var(--mgtc-green);
  font-size: 28px;
  line-height: 1.1;
}

.mgtc-cal-fee span,
.mgtc-cal-fee small {
  display: block;
  color: var(--mgtc-grey);
}

.mgtc-cal-fee small {
  margin-top: 6px;
  line-height: 1.45;
}

.mgtc-cal-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(13, 31, 69, 0.08);
}

.mgtc-cal-dates span {
  background: var(--mgtc-light);
  color: var(--mgtc-dark-blue);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.mgtc-library-tools {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(160px, 0.7fr) minmax(140px, 0.55fr) auto;
  gap: 14px;
  align-items: end;
  background: #fff;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.08);
  margin-bottom: 22px;
}

.mgtc-library-search {
  position: relative;
  display: block;
}

.mgtc-library-search i {
  position: absolute;
  left: 16px;
  
  transform: translateY(-50%);
  color: var(--mgtc-blue);
}

.mgtc-library-search input,
.mgtc-library-tools select {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(13, 31, 69, 0.12);
  border-radius: 12px;
  background: var(--mgtc-light);
  color: var(--mgtc-dark-blue);
  font-weight: 600;
  padding: 0 16px;
}

.mgtc-library-search input {
  padding-left: 44px;
}

.mgtc-library-tools label span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mgtc-blue);
  margin-bottom: 6px;
}

.mgtc-library-tools .btn {
  height: 50px;
  padding: 0 22px;
}

.mgtc-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mgtc-doc-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 10px 28px rgba(13, 31, 69, 0.06);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mgtc-doc-card i {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--mgtc-light);
  color: var(--mgtc-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.mgtc-doc-card h3 {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--mgtc-dark-blue);
}

.mgtc-doc-card span {
  margin-top: auto;
  color: var(--mgtc-grey);
  font-size: 13px;
}

.mgtc-doc-card:hover {
  box-shadow: 0 14px 32px rgba(13, 31, 69, 0.1);
}

.mgtc-library-empty {
  text-align: center;
  margin: 28px 0 0;
  color: var(--mgtc-grey);
}

.mgtc-dl-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 18px;
  height: 100%;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mgtc-dl-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(13, 31, 69, 0.12);
}

.mgtc-dl-card > i {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 125, 197, 0.1);
  color: var(--mgtc-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.mgtc-dl-card h3 {
  font-size: 16px;
  margin: 0 0 4px;
  color: var(--mgtc-dark-blue);
}

.mgtc-dl-card span {
  color: var(--mgtc-grey);
  font-size: 13px;
}

.mgtc-dl-card > div {
  flex: 1;
  min-width: 0;
}

.mgtc-dl-card b {
  margin-left: auto;
  color: var(--mgtc-blue);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex: none;
}

#guidelines .mgtc-dl-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 991.98px) {
  .mgtc-track-grid,
  .mgtc-cal-card-top {
    grid-template-columns: 1fr;
    display: block;
  }

  .mgtc-cal-fee {
    text-align: left;
    margin-top: 16px;
  }

  .mgtc-learn-band {
    padding: 28px 20px;
  }

  .mgtc-library-tools {
    grid-template-columns: 1fr 1fr;
  }

  .mgtc-library-search {
    grid-column: 1 / -1;
  }

  .mgtc-doc-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  .mgtc-dl-card {
    align-items: flex-start;
  }

  .mgtc-dl-card b {
    display: none;
  }

  .mgtc-pdf-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .mgtc-pdf-stage iframe {
    height: 720px;
  }

  .mgtc-library-tools {
    grid-template-columns: 1fr;
  }

  .mgtc-doc-grid {
    grid-template-columns: 1fr;
  }

}

/* Board of Directors */
.mgtc-bod-group {
  margin: 0 0 40px;
  text-align: center;
}

.mgtc-bod-group img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(13, 31, 69, 0.08) 0%, rgba(13, 31, 69, 0.45) 100%),
    linear-gradient(135deg, #1c4792 0%, #0d1f45 100%);
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.06);
  border: 1px solid rgba(28, 71, 146, 0.08);
}

.mgtc-bod-group figcaption {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mgtc-blue);
}

.mgtc-bod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mgtc-bod-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.06);
  border: 1px solid rgba(28, 71, 146, 0.08);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.mgtc-bod-card.is-chair,
.mgtc-bod-card.is-lead {
  border-color: rgba(141, 198, 63, 0.55);
}

.mgtc-bod-card:hover {
  box-shadow: 0 18px 36px rgba(13, 31, 69, 0.12);
}

.mgtc-bod-card-photo {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(13, 31, 69, 0.08) 0%, rgba(13, 31, 69, 0.55) 100%),
    linear-gradient(135deg, #1c4792 0%, #0d1f45 100%);
}

.mgtc-bod-card.is-chair .mgtc-bod-card-photo,
.mgtc-bod-card.is-lead .mgtc-bod-card-photo {
  background:
    linear-gradient(180deg, rgba(13, 31, 69, 0.08) 0%, rgba(13, 31, 69, 0.5) 100%),
    linear-gradient(135deg, #1c4792 0%, #14532d 100%);
}

.mgtc-bod-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.45s ease;
}

.mgtc-bod-card-photo.has-photo {
  background: #1a1a1a;
}

.mgtc-bod-card:hover .mgtc-bod-card-photo img {
  transform: scale(1.04);
}

.mgtc-bod-card-body {
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.mgtc-bod-card-body h3 {
  font-size: 16px;
  line-height: 1.35;
  margin: 0 0 8px;
}

.mgtc-bod-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.mgtc-bod-card-body h3 a:hover {
  color: var(--mgtc-blue);
}

.mgtc-bod-card-body .mgtc-director-role {
  margin-bottom: 16px;
}

.mgtc-bod-card-body .btn {
  margin-top: auto;
}

.mgtc-bod-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--mgtc-blue);
  font-weight: 700;
  text-decoration: none;
}

.mgtc-bod-back:hover {
  color: var(--mgtc-dark-blue);
}

.mgtc-director {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.06);
  border: 1px solid rgba(28, 71, 146, 0.08);
  scroll-margin-top: 120px;
}

.mgtc-director.is-chair,
.mgtc-director.is-lead {
  border-color: rgba(141, 198, 63, 0.55);
  box-shadow: 0 16px 40px rgba(141, 198, 63, 0.12);
}

.mgtc-director-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 340px;
  background:
    linear-gradient(180deg, rgba(13, 31, 69, 0.08) 0%, rgba(13, 31, 69, 0.55) 100%),
    linear-gradient(135deg, #1c4792 0%, #0d1f45 100%);
}

.mgtc-director.is-chair .mgtc-director-visual,
.mgtc-director.is-lead .mgtc-director-visual {
  background:
    linear-gradient(180deg, rgba(13, 31, 69, 0.08) 0%, rgba(13, 31, 69, 0.5) 100%),
    linear-gradient(135deg, #1c4792 0%, #14532d 100%);
}

.mgtc-director-visual img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: top center;
  display: block;
  opacity: 0.92;
}

.mgtc-director-visual.has-photo {
  background: #1a1a1a;
}

.mgtc-director-visual.has-photo img {
  opacity: 1;
}

.mgtc-director-initials {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mgtc-green);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(13, 31, 69, 0.28);
}

.mgtc-bod-card-photo .mgtc-director-initials {
  width: 48px;
  height: 48px;
  font-size: 14px;
}

.mgtc-director-role {
  display: inline-block;
  color: var(--mgtc-blue);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.mgtc-bod-card.is-chair .mgtc-director-role,
.mgtc-director.is-chair .mgtc-director-role,
.mgtc-bod-card.is-lead .mgtc-director-role,
.mgtc-director.is-lead .mgtc-director-role {
  color: var(--mgtc-green);
}

.mgtc-director h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  margin-bottom: 12px;
}

.mgtc-director-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 22px;
  font-size: 14px;
}

.mgtc-director-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mgtc-grey);
}

.mgtc-director-meta i {
  color: var(--mgtc-blue);
}

.mgtc-director-block {
  margin-bottom: 18px;
}

.mgtc-director-block:last-child {
  margin-bottom: 0;
}

.mgtc-director-block h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mgtc-dark-blue);
  margin-bottom: 8px;
}

.mgtc-director-block p {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.7;
}

.mgtc-director-block p:last-child {
  margin-bottom: 0;
}

.mgtc-director-block ul {
  margin: 0;
  padding-left: 18px;
}

.mgtc-director-block li {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.6;
}

.mgtc-director-post {
  background: var(--mgtc-light);
  border-left: 4px solid var(--mgtc-green);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mgtc-dark-blue);
}

.mgtc-director-post ul {
  margin: 0;
  padding-left: 18px;
  font-weight: 400;
}

.mgtc-director-post li {
  margin-bottom: 4px;
}

@media (max-width: 1199.98px) {
  .mgtc-bod-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991.98px) {
  .mgtc-director {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
  }

  .mgtc-director-visual,
  .mgtc-director-visual img {
    min-height: 280px;
    max-height: 360px;
  }
}

@media (max-width: 575.98px) {
  .mgtc-bod-grid {
    grid-template-columns: 1fr;
  }

  .mgtc-bod-group img {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
  }

  .mgtc-director-visual,
  .mgtc-director-visual img {
    min-height: 240px;
  }
}

/* Organisation Structure */
.mgtc-org-chart {
  margin: 0 auto;
  max-width: 980px;
  text-align: center;
}

.mgtc-org-chart a {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid rgba(28, 71, 146, 0.08);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.06);
  overflow: hidden;
}

.mgtc-org-chart img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.mgtc-org-chart-hint {
  /* position: absolute;
  right: 28px;
  bottom: 28px; */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 31, 69, 0.88);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.mgtc-org-chart a:hover {
  box-shadow: 0 18px 36px rgba(13, 31, 69, 0.12);
}

.mgtc-org-chart figcaption {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mgtc-blue);
}

@media (max-width: 575.98px) {
  .mgtc-org-chart a {
    padding: 10px;
  }

  .mgtc-org-chart-hint {
    right: 16px;
    bottom: 16px;
    font-size: 11px;
    padding: 6px 10px;
  }
}


/* Media detail — photo gallery */
.mgtc-media-gallery {
  margin-top: 2rem;
}

.mgtc-media-gallery-link {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f7fb;
  box-shadow: 0 8px 24px rgba(13, 31, 69, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mgtc-media-gallery-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(13, 31, 69, 0.14);
}

.mgtc-media-gallery-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

#mgtcArticleBody {
  text-align: justify;
  hyphens: auto; /* Automatically breaks long words at the end of lines */
}

#mgtcArticleBody::after {
  content: "";
  display: table;
  clear: both;
}

#mgtcArticleBody img {
  height: auto;
}

/* Standards & certification page layout fixes */
.mgtc-crumb {
  line-height: 1.55;
  white-space: normal;
  max-width: 100%;
}

.mgtc-page-intro {
  position: relative;
  z-index: 3;
  margin-bottom: 8px;
}

.mgtc-benefit {
  display: flex;
  flex-direction: column;
}

.mgtc-benefit-body {
  flex: 1 1 auto;
}

.mgtc-benefit-head {
  line-height: 1.35;
}

.mgtc-benefit-head.is-wrap {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 13px;
}

.mgtc-benefit-body ul {
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.65;
}

.mgtc-benefit-body ul li + li {
  margin-top: 6px;
}

.mgtc-emgs-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  color: #f5b301;
  font-size: 14px;
}

.mgtc-emgs-level {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  line-height: 1;
  color: var(--mgtc-green);
  margin-bottom: 8px;
}

#guidelines .col-lg-4 {
  display: flex;
}

#guidelines .mgtc-guide-card {
  width: 100%;
}

.mgtc-roadmap-wrap .sec-title {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.mgtc-platform-visual {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  #guidelines .row > .col-lg-4:nth-child(3) {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 991.98px) {
  .mgtc-page-copy .mgtc-arcs {
    left: -120px;
    width: 320px;
    height: 320px;
  }
}

@media (max-width: 767.98px) {
  .mgtc-page-copy .mgtc-arcs {
    display: none;
  }

  .mgtc-app-band .mgtc-intro-icon.is-decorative {
    display: none;
  }

  .mgtc-crumb {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  #guidelines .row > .col-lg-4:nth-child(3) {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ── Event profile pages (IGEM, KLSS, COP 31) ── */
.mgtc-event-page {
  --event-accent: var(--mgtc-green);
  --event-gradient: linear-gradient(135deg, #1c4792 0%, #0d1f45 55%, #0a1628 100%);
}

.mgtc-event-page.is-igem {
  --event-accent: var(--mgtc-green);
  --event-gradient: linear-gradient(135deg, #1c4792 0%, #0d1f45 55%, #0a1628 100%);
}

.mgtc-event-page.is-klss {
  --event-accent: #7dd3fc;
  --event-gradient: linear-gradient(135deg, #007dc5 0%, #1c4792 50%, #0d1f45 100%);
}

.mgtc-event-page.is-cop {
  --event-accent: #a3e635;
  --event-gradient: linear-gradient(135deg, #3d8b37 0%, #1c4792 45%, #0d1f45 100%);
}

.mgtc-event-hero {
  position: relative;
  background: var(--event-gradient);
  color: #fff;
  padding: 148px 0 72px;
  overflow: hidden;
}

.mgtc-event-hero-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 198, 63, 0.22) 0%, transparent 68%);
  pointer-events: none;
}

.mgtc-event-page.is-klss .mgtc-event-hero-glow {
  background: radial-gradient(circle, rgba(125, 211, 252, 0.24) 0%, transparent 68%);
}

.mgtc-event-page.is-cop .mgtc-event-hero-glow {
  background: radial-gradient(circle, rgba(163, 230, 53, 0.2) 0%, transparent 68%);
}

.mgtc-event-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.mgtc-event-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--event-accent);
  margin-bottom: 18px;
}

.mgtc-event-hero h1 {
  color: #fff !important;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.mgtc-event-hero h1 em {
  font-style: normal;
  color: var(--event-accent);
}

.mgtc-event-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 28px;
}

.mgtc-event-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.mgtc-event-hero-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mgtc-event-panel-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 18px 20px;
  backdrop-filter: blur(8px);
}

.mgtc-event-panel-card.is-accent {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.mgtc-event-panel-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--event-accent);
  margin-bottom: 8px;
}

.mgtc-event-panel-value {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

.mgtc-event-panel-value.is-quote {
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
}

.mgtc-event-facts {
  margin-top: -36px;
  position: relative;
  z-index: 2;
  padding-bottom: 56px;
}

.mgtc-event-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(13, 31, 69, 0.12);
}

.mgtc-event-fact {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 8px 12px;
}

.mgtc-event-fact + .mgtc-event-fact {
  border-left: 1px solid rgba(13, 31, 69, 0.08);
}

.mgtc-event-fact i {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--mgtc-light);
  color: var(--mgtc-blue);
  font-size: 18px;
}

.mgtc-event-fact span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mgtc-blue);
  margin-bottom: 4px;
}

.mgtc-event-fact strong {
  display: block;
  color: var(--mgtc-dark-blue);
  font-size: 15px;
  line-height: 1.35;
}

.mgtc-event-story {
  padding: 24px 0 72px;
}

.mgtc-event-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.mgtc-event-story-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mgtc-blue);
  margin-bottom: 14px;
}

.mgtc-event-story-aside h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.12;
  margin: 0;
}

.mgtc-event-story-body p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.mgtc-event-story-body p:last-child {
  margin-bottom: 0;
}

.mgtc-event-stats {
  background: var(--mgtc-navy);
  padding: 56px 0;
}

.mgtc-event-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mgtc-event-stats-grid article {
  text-align: center;
  padding: 12px 16px;
}

.mgtc-event-stats-grid strong {
  display: block;
  color: var(--event-accent);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  margin-bottom: 10px;
}

.mgtc-event-stats-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.mgtc-event-page.is-igem .mgtc-event-stats { --event-accent: var(--mgtc-green); }
.mgtc-event-page.is-klss .mgtc-event-stats { --event-accent: #7dd3fc; }
.mgtc-event-page.is-cop .mgtc-event-stats { --event-accent: #a3e635; }

.mgtc-event-details {
  padding: 72px 0;
  background: var(--mgtc-light);
}

.mgtc-event-details-head {
  margin-bottom: 32px;
}

.mgtc-event-detail-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mgtc-event-detail-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 8px 28px rgba(13, 31, 69, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mgtc-event-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(13, 31, 69, 0.1);
}

.mgtc-event-detail-card i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--mgtc-light);
  color: var(--mgtc-blue);
  font-size: 20px;
  margin-bottom: 18px;
}

.mgtc-event-detail-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.mgtc-event-detail-card p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  color: var(--mgtc-grey);
}

.mgtc-event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mgtc-event-tags span {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--mgtc-dark-blue);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(13, 31, 69, 0.06);
}

.mgtc-event-cluster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mgtc-event-cluster {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 6px 24px rgba(13, 31, 69, 0.05);
}

.mgtc-event-cluster.is-wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 20px;
  align-items: start;
}

.mgtc-event-cluster.is-wide h3,
.mgtc-event-cluster.is-wide p {
  grid-column: 2;
}

.mgtc-event-cluster.is-wide span {
  grid-row: span 2;
}

.mgtc-event-cluster span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--mgtc-navy);
  color: var(--event-accent);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

.mgtc-event-page.is-cop .mgtc-event-cluster span {
  color: #a3e635;
}

.mgtc-event-cluster h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.mgtc-event-cluster p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  color: var(--mgtc-grey);
}

.mgtc-event-page > .mgtc-event-cta {
  padding: 0 0 72px;
  background: var(--mgtc-light);
}

.mgtc-event-page .mgtc-event-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--event-gradient);
  border-radius: 24px;
  padding: 40px 44px;
  color: #fff;
}

.mgtc-event-page .mgtc-event-cta-kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--event-accent);
  margin-bottom: 10px;
}

.mgtc-event-page .mgtc-event-cta-inner h2 {
  color: #fff !important;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 12px;
}

.mgtc-event-page .mgtc-event-cta-inner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 520px;
}

.mgtc-event-page .mgtc-event-cta-contact a {
  color: var(--event-accent);
  font-weight: 700;
  text-decoration: none;
}

.mgtc-event-page .mgtc-event-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--mgtc-navy);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.mgtc-event-page .mgtc-event-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  color: var(--mgtc-navy);
}

.mgtc-event-page .mgtc-event-cta-btn i {
  font-size: 14px;
  opacity: 0.7;
}


@media (max-width: 991.98px) {
  .mgtc-event-hero-inner,
  .mgtc-event-story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mgtc-event-facts-grid {
    grid-template-columns: 1fr;
  }

  .mgtc-event-fact + .mgtc-event-fact {
    border-left: 0;
    border-top: 1px solid rgba(13, 31, 69, 0.08);
    padding-top: 16px;
  }

  .mgtc-event-stats-grid,
  .mgtc-event-detail-cards,
  .mgtc-event-cluster-grid {
    grid-template-columns: 1fr;
  }

  .mgtc-event-cluster.is-wide {
    grid-column: span 1;
    display: block;
  }

  .mgtc-event-page .mgtc-event-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
  }


}
@media (max-width: 767.98px) {
  .mgtc-event-hero {
    padding: 128px 0 56px;
  }

  .mgtc-event-facts {
    margin-top: -24px;
  }
}

/* ── Homepage layout fixes ── */
.mgtc-do-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.mgtc-story-visual {
  overflow: hidden;
  border-radius: 18px;
}

.mgtc-story-visual > img {
  border-radius: 0;
}

.mgtc-story .mgtc-mandate-card {
  left: 20px;
  right: 20px;
  max-width: none;
}

body.mgtc-home .mgtc-hero video,
body.mgtc-home .mgtc-story-visual > img,
body.mgtc-home .mgtc-lcc-bg,
body.mgtc-home .mgtc-lcc .jarallax-img,
body.mgtc-home .mgtc-page-hero-bg {
  height: 100%;
}

body.mgtc-home .mgtc-story-visual > img {
  height: 460px;
}

.mgtc-lcc .mgtc-lcc-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

@media (max-width: 1199.98px) {
  .mgtc-story .mgtc-mandate-card {
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 16px;
  }
}

@media (max-width: 991.98px) {
  .mgtc-do-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .mgtc-do-grid {
    grid-template-columns: 1fr;
  }

  .mgtc-stats .mgtc-stat-value {
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
  }

  body.mgtc-home .mgtc-story-visual > img {
    height: 220px;
  }
}

.mgtc-benefit-head.is-num {
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.04em;
  text-transform: none;
  text-align: center;
}

.mgtc-benefit-head.is-wrap {
  white-space: normal;
  word-break: break-word;
}

/* LCCF objectives & phases */
.mgtc-lccf-framework {
  overflow: hidden;
}

.mgtc-lccf-objectives {
  position: relative;
  margin-bottom: 48px;
}

.mgtc-lccf-objective {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px 26px;
  min-height: 100%;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.08);
}

.mgtc-lccf-objective::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(135deg, #f5a623, #0097a7);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.mgtc-lccf-objective.is-obj-1::before {
  background: linear-gradient(135deg, #f5a623, #0097a7);
}

.mgtc-lccf-objective.is-obj-2::before {
  background: linear-gradient(135deg, #e91e8c, #007dc5);
}

.mgtc-lccf-objective.is-obj-3::before {
  background: linear-gradient(135deg, #0097a7, #f5a623);
}

.mgtc-lccf-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}

.mgtc-lccf-objective.is-obj-1 .mgtc-lccf-num { background: #f5a623; }
.mgtc-lccf-objective.is-obj-2 .mgtc-lccf-num { background: #e91e8c; }
.mgtc-lccf-objective.is-obj-3 .mgtc-lccf-num { background: #f5a623; }

.mgtc-lccf-objective p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
  color: var(--mgtc-navy, #0d1f45);
}

.mgtc-lccf-phases-banner {
  max-width: 520px;
  margin: 0 auto 40px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #0097a7;
  text-align: center;
}

.mgtc-lccf-phases-banner h3 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
}

.mgtc-lccf-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.mgtc-lccf-phase-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 32px rgba(13, 31, 69, 0.08);
}

.mgtc-lccf-phase-icon i {
  font-size: 36px;
}

.mgtc-lccf-phase-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  border: 2px solid #fff;
}

.mgtc-lccf-phase.is-phase-1 .mgtc-lccf-phase-icon {
  border: 4px solid #f5a623;
}

.mgtc-lccf-phase.is-phase-1 .mgtc-lccf-phase-icon i,
.mgtc-lccf-phase.is-phase-1 .mgtc-lccf-phase-badge {
  color: #f5a623;
}

.mgtc-lccf-phase.is-phase-1 .mgtc-lccf-phase-badge {
  background: #f5a623;
  color: #fff;
}

.mgtc-lccf-phase.is-phase-2 .mgtc-lccf-phase-icon {
  border: 4px solid #f58220;
}

.mgtc-lccf-phase.is-phase-2 .mgtc-lccf-phase-icon i,
.mgtc-lccf-phase.is-phase-2 .mgtc-lccf-phase-badge {
  color: #f58220;
}

.mgtc-lccf-phase.is-phase-2 .mgtc-lccf-phase-badge {
  background: #f58220;
  color: #fff;
}

.mgtc-lccf-phase.is-phase-3 .mgtc-lccf-phase-icon {
  border: 4px solid #3d8b37;
}

.mgtc-lccf-phase.is-phase-3 .mgtc-lccf-phase-icon i,
.mgtc-lccf-phase.is-phase-3 .mgtc-lccf-phase-badge {
  color: #3d8b37;
}

.mgtc-lccf-phase.is-phase-3 .mgtc-lccf-phase-badge {
  background: #3d8b37;
  color: #fff;
}

.mgtc-lccf-phase p {
  margin: 0;
  max-width: 220px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--mgtc-navy, #0d1f45);
}

@media (max-width: 767.98px) {
  .mgtc-lccf-objectives {
    margin-bottom: 36px;
  }

  .mgtc-lccf-phases-banner {
    margin-bottom: 32px;
  }
}
