.feature-programmes-body {
    position: relative;
    background-color: var(--color-gray-lavender);
}

.feature-programmes-body-banner {
    position: relative;
    background-color: var(--color-gray-lavender);
    padding-bottom: 4rem;
    margin-bottom: 0 !important;
}

.feature-programmes-body-last-item {
    position: relative;
    background-color: var(--color-gray-lavender);
    padding-bottom: 2.5rem;
}

#Content_C012_Col00.no-padding-bottom {
    padding-bottom: 0 !important;
}


/* Full-width video (CareerPotentialSectionBlock): không bo góc */
.video-block,
.video-block .yt-lite,
.video-block lite-youtube,
.video-block iframe {
    border-radius: 0 !important;
}

.video-block .yt-lite {
    max-width: unset;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* Small video cards (VideosBlock): bo góc 8px */
.videos-block .item-article .item-article_image {
    position: relative;
    padding-bottom: 56.25% !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.videos-block .item-article .item-article_image > div,
.videos-block .item-article .item-article_image .yt-lite,
.videos-block .item-article .item-article_image lite-youtube,
.videos-block .item-article .item-article_image iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.videos-block .item-article .item-article_image .yt-lite > .lty-thumbnail {
    border-radius: 8px !important;
}

.image-carousel-wrapper .slick-dots li button:before {
    color: var(--color-purple-medium)!important;
}

.custom-searchbar button {
    display: none !important;
}

.custom-searchbar input {
    padding: 13px 16px 10px 0;
    font-size: 1rem;
    line-height: 1.5rem;
    transition: .5s;
    box-shadow: none;
    border: none;
    border-bottom: 3px solid var(--color-blue-100);
    border-radius: 0;
    height: 100%;
    text-align: left;
    display: block;
    width: 100%;
    -webkit-appearance: none;
    font-family: Nunito;
}

.custom-searchbar input::placeholder {
    color: var(--color-transparent)!important;
    opacity: 0 !important;
}

.custom-searchbar input::-webkit-input-placeholder {
    color: var(--color-transparent)!important;
    opacity: 0 !important;
}

.custom-searchbar input:-ms-input-placeholder {
    color: var(--color-transparent)!important;
    opacity: 0 !important;
}

.custom-searchbar input::-ms-input-placeholder {
    color: var(--color-transparent)!important;
    opacity: 0 !important;
}

.custom-searchbar div {
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.sanitized-content ul {
    list-style: disc;
    padding-left: 1rem
}

.sanitized-content ol {
    list-style: decimal
}

.sanitized-content ol li {
    margin-bottom: 1rem
}

.jtm-col-right {
    min-width: 0;
}




/* Custom container for Header with larger max-width on desktop */
.container-header {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container-header {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container-header {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container-header {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container-header {
    max-width: 1500px; /* Increased from 1140px */
  }
}

@media (min-width: 1600px) {
  .container-header {
    max-width: 1800px;
  }
}

.m-footer .logo-group .wrapper {
    flex-wrap: wrap;
    gap: 15px 5px;
}

.m-footer .logo-group .wrapper .item {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for text/images */
    justify-content: center;
    align-items: center;
}

/* Apply dynamic show-separator CSS variable controlled by JS ResizeObserver (Global for all screen sizes) */
.m-footer .logo-group .item::after,
.m-footer .logo-group .item:not(:last-child)::after {
  display: var(--show-separator, block) !important;
  right: 0 !important;
}

.m-footer .logo-group .item:last-child::after {
  display: none !important;
}

/* Reset padding to be symmetric globally to prevent off-center alignment when wrapping */
.m-footer .logo-group .item,
.m-footer .logo-group .item:first-child,
.m-footer .logo-group .item:last-child {
  padding: 0 16px !important;
}

/* Ensure footer logo title has a minimum height to prevent alignment issues when title is empty */
.m-footer .logo-group .item p {
  min-height: 32px;
}

/* For layouts with 3 or more logos when wrapped dynamically by JS */
.m-footer .logo-group .wrapper.logo-layout-wrapped {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 32px 0 !important;
}

.m-footer .logo-group .wrapper.logo-layout-wrapped .item {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
}

.m-footer .logo-group .wrapper.logo-layout-wrapped .item:nth-child(1) {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 16px !important;
}

.m-footer .logo-group .wrapper.logo-layout-wrapped .item:not(:first-child) {
  flex: 1 1 130px !important;
  min-width: 130px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

/* Hide vertical white lines for wrapped layout */
.m-footer .logo-group .wrapper.logo-layout-wrapped .item::after {
  display: none !important;
}

@media (max-width: 767px) {
  .m-footer .logo-group .wrapper {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  
  .m-footer .logo-group .item {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* Hide white lines completely on mobile for any layout size */
  .m-footer .logo-group .item::after,
  .m-footer .logo-group .item:not(:last-child)::after {
    display: none !important;
  }
}


.m-header.force-mobile-view .m-header_main {
    padding: 13px 0 !important;
    box-shadow: 0 4px 4px 0 #00000026 !important;
}
.m-header.force-mobile-view .m-header_main .main-head {
    padding-right: 0 !important;
}
.m-header.force-mobile-view .m-header_main .main-head .logo {
    flex: 0 0 100% !important;
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 0 !important;
}
.m-header.force-mobile-view .m-header_main .main-head .btn-menu {
    display: block !important;
    position: absolute !important;
    width: 30px !important;
    height: 21px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 101 !important;
}
.m-header.force-mobile-view .m-header_main .main-head .btn-menu span {
    width: 100% !important;
    height: 3px !important;
    border-radius: 3px !important;
    background: var( --color-purple-main)!important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    transition: .5s !important;
}
.m-header.force-mobile-view .m-header_main .main-head .btn-menu span:first-of-type { top: 0 !important; }
.m-header.force-mobile-view .m-header_main .main-head .btn-menu span:nth-child(2) { top: 9px !important; }
.m-header.force-mobile-view .m-header_main .main-head .btn-menu span:nth-child(3) { top: 9px !important; }
.m-header.force-mobile-view .m-header_main .main-head .btn-menu span:last-of-type { bottom: 0 !important; }

.m-header.force-mobile-view .m-header_main .main-head .btn-menu.active span:first-of-type { opacity: 0 !important; }
.m-header.force-mobile-view .m-header_main .main-head .btn-menu.active span:nth-child(2) { transform: rotate(45deg) !important; }
.m-header.force-mobile-view .m-header_main .main-head .btn-menu.active span:nth-child(3) { transform: rotate(-45deg) !important; }
.m-header.force-mobile-view .m-header_main .main-head .btn-menu.active span:last-of-type { opacity: 0 !important; }

/* Navigation Area */
.m-header.force-mobile-view .m-header_main .navigation-area {
    position: absolute !important;
    width: 100vw !important;
    background: var(--color-white)!important;
    top: calc(100%) !important;
    left: calc(-50vw + 50%) !important;
    padding: .5rem !important;
    border-radius: 0 0 8px 8px !important;
    z-index: 100 !important;
    box-shadow: 0 8px 4px 0 rgba(0,0,0,.1) !important;
}

.m-header.force-mobile-view .m-header_main .navigation-area .menu {
    width: 100% !important;
}

.m-header.force-mobile-view .m-header_main .navigation-area .menu .menu-list {
    width: 100% !important;
    padding: 0 1rem !important;
    gap: 8px !important;
    flex-direction: column !important; 
}

.m-header.force-mobile-view .m-header_main .navigation-area .menu .menu-list li {
    flex: 0 0 100% !important;
    margin: 0 !important;
    padding-right: 3rem !important;
}

.m-header.force-mobile-view .m-header_main .navigation-area .menu .menu-list li a {
    display: block !important;
    font-size: 1.2rem !important;
    line-height: normal !important;
}

.m-header.force-mobile-view .m-header_main .navigation-area .menu .menu-list li a::after {
    width: calc(100% + 3rem) !important;
}

.m-header.force-mobile-view .m-header_main .navigation-area .menu .menu-list > li.has-child > .arrow {
    width: 3rem !important;
    height: 1.5rem !important;
}

.m-header.force-mobile-view .m-header_main .menu-list > li .sub-menu {
    position: relative !important;
    top: 0 !important;
    max-width: unset !important;
    width: calc(100% + 20px) !important;
}

.m-header.force-mobile-view .m-header_main .menu-list > li .sub-menu_list {
    box-shadow: unset !important;
    border-radius: 0 !important;
    margin-left: -5px !important;
    padding-top: 0 !important;
}

/* Search Bar Mobile View Override */
.m-header.force-mobile-view .m-header_main .form-search {
    right: 0 !important;
    max-width: calc(100% - 4rem) !important;
}




/* Breadcrumb Mobile Optimization */
@media (max-width: 768px) {
  .breadcrumb-item, .breadcrumb-item a {
    white-space: normal !important;
    word-break: break-word !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  .breadcrumb {
    margin-bottom: 15px; 
    padding: 10px 0;    
  }
}

/* Override z-index of .banner-post-job across all breakpoints to 1030 */
.banner-post-job {
    z-index: 1030 !important;
}

/* Fix Safari absolute element clipping bug inside item-article cards */
.item-article .trans {
  filter: none !important;
  -webkit-filter: none !important;
  box-shadow: 2px 2px 5px rgba(50, 50, 50, 0);
  transition: box-shadow 0.3s ease;
}

.item-article .trans:hover {
  filter: none !important;
  -webkit-filter: none !important;
  box-shadow: 2px 2px 10px rgba(50, 50, 50, 0.15);
}

/* CampaignResource desktop override to prevent 100% width precompiled styles */
@media (min-width: 768px) {
  .jtm-section .resources .col-md-6.campaign-resource-col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}

