/*
Theme Name: Nusantara WP Theme
Theme URI: https://www.nusantaradfdl.com/
Author: DFDL
Author URI: https://www.dfdl.com/
Description: A custom WordPress theme for Nusantara DFDL Partnership.
Version: 3.0.0
Text Domain: nusantara
*/

@font-face {
  font-family: 'Segoe UI';
  src: url('fonts/SegoeUI-semilight.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('fonts/SegoeUI-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('fonts/SegoeUI-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('fonts/SegoeUI-bold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('fonts/SegoeUI-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('fonts/SegoeUI-bold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-teal: #004C45;
  --dark-teal: #004C45;
  --accent-green: #77DD77;
  --text-white: #ffffff;
  --text-dark: #333333;
}

html {
  overflow-x: clip;
}

body,
h1, h2, h3, h4, h5, h6, .wp-block-heading,
p, li, a, span, div,
input, button, select, textarea, label,
td, th {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif !important;
}

body {
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
  overflow-x: clip;
  width: 100%;
}

/* Restore/protect core WordPress Dashicons from global override */
.dashicons, .dashicons-before {
  font-family: dashicons !important;
}

/* ===== NAVBAR STYLES ===== */

#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px !important;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 45px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav>.nav-links {
  margin-left: 0;
}

.nav-links>li>a {
  color: #004C45;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.3s;
  position: relative;
}

.nav-links>li>a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background-color: #004C45;
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links>li>a:hover {
  opacity: 0.75;
}

.nav-links>li>a:hover::before {
  width: 100%;
}

.nav-links .has-dropdown::after {
  content: '\25BE';
  margin-left: 5px;
  font-size: 10px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-right a {
  color: #004C45;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.btn-contact {
  border: 1.5px solid #004C45;
  border-radius: 4px;
  color: #004C45;
  padding: 10px 25px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s;
  text-decoration: none !important;
}

.btn-contact:hover {
  background: #004C45;
  color: #fff;
}

.nav-search {
  cursor: pointer;
  color: #004C45;
  margin-left: 5px;
  display: flex;
  align-items: center;
}

.nav-search svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

/* ===== HEADER SEARCH BOX ===== */
.header-search-form-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-top: 1px solid rgba(0, 77, 64, 0.1);
  padding: 18px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 999;
}

.header-search-form-wrapper.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-search-form-wrapper .search-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.header-search-form-wrapper .search-form {
  width: 100%;
}

.header-search-form-wrapper .search-input-group {
  display: flex;
  align-items: center;
  position: relative;
  background: #f4f7f6;
  border: 1px solid rgba(0, 77, 64, 0.15);
  border-radius: 6px;
  padding: 4px 15px;
  transition: all 0.3s ease;
}

.header-search-form-wrapper .search-input-group:focus-within {
  border-color: #004C45;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 76, 69, 0.1);
}

.header-search-form-wrapper .search-input-icon {
  display: flex;
  align-items: center;
  color: #004C45;
  margin-right: 12px;
}

.header-search-form-wrapper .search-input-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.header-search-form-wrapper .search-field {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 15px;
  color: #333;
  outline: none;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  font-weight: 500;
}

.header-search-form-wrapper .search-field::placeholder {
  color: #888;
}

.header-search-form-wrapper .search-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  margin-left: 10px;
  transition: color 0.2s ease;
}

.header-search-form-wrapper .search-close:hover {
  color: #d9534f;
}

.header-search-form-wrapper .search-close svg {
  width: 20px;
  height: 20px;
}

/* ===== MEGAMENU STYLES ===== */
.nav-links li {
  position: relative;
}

.nav-links li.menu-item-has-children {
  position: static;
}

.nav-links li.menu-item-has-children>a::after {
  content: '\25BE';
  margin-left: 3px;
  font-size: 14px;
  vertical-align: baseline;
  transition: transform 0.3s;
  display: inline-block;
  font-weight: bold;
}

.nav-links li.menu-item-has-children:hover>a::after {
  transform: rotate(180deg);
}

.nav-links li:hover>.sub-menu,
.nav-links li:hover>.megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  padding: 60px 10%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(20px);
  z-index: 1000;
  list-style: none;
  border-top: 1px solid rgba(0, 77, 64, 0.1);
}

.nav-links .megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  padding: 60px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(20px);
  z-index: 1000;
  border-top: 1px solid rgba(0, 77, 64, 0.1);
}

.megamenu-title {
  font-size: 13px;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 25px;
  font-weight: 500;
  letter-spacing: 1px;
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  list-style: none;
  padding: 0 20px !important;
  margin: 0 auto !important;
  max-width: 1100px;
  box-sizing: border-box;
}

.megamenu .desks-section {
  max-width: 1100px;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box;
}

.nav-links .sub-menu li.megamenu-heading,
.nav-links .megamenu-grid li.megamenu-heading {
  grid-column: 1 / -1;
  margin-top: 0;
  margin-bottom: 5px;
  padding-top: 10px;
}

.nav-links .sub-menu li.megamenu-heading>a,
.nav-links .megamenu-grid li.megamenu-heading>a {
  font-size: 13px !important;
  color: #4a4a4a !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  padding: 0 !important;
  pointer-events: none !important;
  border: none !important;
  cursor: default;
}

.nav-links li.dfdl-locations-tab {
  position: relative !important;
}

.nav-links li.dfdl-locations-tab>a::after {
  display: none !important;
}

.nav-links .sub-menu.single-column {
  width: 180px;
  left: auto;
  right: -20px;
  /* Adjusted to keep right alignment clean */
  top: calc(100% + 15px);
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 0 0 8px 8px;
}

.nav-links .sub-menu.single-column>li>a {
  padding: 10px 20px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #333 !important;
  text-transform: none !important;
  text-decoration: none !important;
  letter-spacing: normal;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: none !important;
}

.nav-links .sub-menu.single-column>li>a:hover {
  background: #f4f7f6;
  color: var(--primary-teal) !important;
}

.nav-links .sub-menu>li>a,
.nav-links .megamenu-grid>li>a {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #004C45 !important;
  text-decoration: none !important;
  letter-spacing: 1px;
  border: none !important;
  padding-bottom: 15px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links .sub-menu>li>a .menu-item-text,
.nav-links .megamenu-grid>li>a .menu-item-text {
  transition: opacity 0.25s ease-in-out;
}

.nav-links .sub-menu>li>a:hover .menu-item-text,
.nav-links .megamenu-grid>li>a:hover .menu-item-text {
  opacity: 0.65;
}

.nav-links .sub-menu>li>a img,
.nav-links .sub-menu>li>a svg,
.nav-links .megamenu-grid>li>a img,
.nav-links .megamenu-grid>li>a svg {
  flex-shrink: 0;
  margin-top: 0;
}

.nav-links .sub-menu li ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links .sub-menu li ul li a {
  color: #444;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
  border: none;
}

.nav-links .sub-menu li ul li a::before {
  content: '';
  width: 20px;
  height: 20px;
  background: #f0f4f3;
  border-radius: 4px;
  flex-shrink: 0;
}

.nav-links .sub-menu li ul li a:hover {
  color: var(--primary-teal);
  padding-left: 5px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #004C45;
  border-radius: 2px;
  transition: all 0.3s;
  text-decoration: none !important;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-menu {
  display: block;
  width: 100%;
  background: #fff;
  border-top: 1px solid rgba(0, 77, 64, 0.1);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.nav-mobile-menu .mobile-dfdl,
.nav-mobile-menu .mobile-contact {
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #004C45;
}

/* DFDL LOCATIONS - plain text link */
.mobile-nav-extras {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 15px 20px 20px;
  border-top: 1px solid rgba(0, 77, 64, 0.07);
}

.nav-mobile-menu .mobile-dfdl:hover {
  background: rgba(0, 77, 64, 0.05);
}

/* CONTACT US - bordered button */
.nav-mobile-menu .mobile-contact {
  margin: 15px 20px;
  border-radius: 4px;
  border: 1.5px solid #004C45;
  padding: 10px 25px;
  transition: all 0.3s;
}

.nav-mobile-menu .mobile-contact:hover {
  background: #004C45;
  color: #fff;
}

.nav-mobile-menu.open {
  max-height: 400px;
}

.nav-mobile-menu .nav-links {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.nav-mobile-menu .nav-links li {
  width: 100%;
}

.nav-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile-menu ul li a {
  display: block;
  padding: 14px 20px;
  color: #004C45;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  /*   text-transform: uppercase; */
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(0, 76, 69, 0.07);
  transition: background 0.2s;
}

.nav-mobile-menu ul li a:hover {
  background: rgba(0, 77, 64, 0.05);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 80px 0 60px;
  color: #fff;
  overflow: hidden;
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1) translate(0, 0);
  z-index: 0;
}

.hero-bg-slide.active {
  opacity: 1;
  z-index: 1;
  animation: dfdlKenBurns 8.5s linear forwards;
}

@keyframes dfdlKenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.12) translate(-1.5%, -1%);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(69deg, rgb(3 72 65 / 85%) 0%, rgb(0 40 36 / 0%) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px 20px 0 20px;
  margin: 0 auto 60px auto;
  box-sizing: border-box;
}

.hero-content h1 {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: fadeUp 1s ease-out forwards;
  opacity: 0;
}

.hero-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 550px;
  margin-bottom: 40px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.2px;
  animation: fadeUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.btn-hero-contact {
  display: inline-block;
  border: 1.5px solid #fff;
  border-radius: 4px;
  color: #fff;
  padding: 14px 40px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: fit-content;
  align-self: flex-start;
  letter-spacing: 1px;
  background: transparent;
  animation: fadeUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-hero-contact:hover {
  background: #fff;
  color: var(--primary-teal);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-bottom-section {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  margin: auto auto 0 auto;
  max-width: 1100px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.slider-dots {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  padding-left: 0;
}

.dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none !important;
}

.dot.active {
  background: #fff;
  border-color: #fff;
}

.hero-cards-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hero-cards-track {
  display: flex !important;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100% !important;
}

.hero-info-card {
  flex: 0 0 33.3333%;
  padding: 15px 50px 15px 0;
  border-right: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 140px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .hero-info-card {
    flex: 0 0 50% !important;
    padding: 15px 20px 15px 20px !important;
    border-right: none !important;
  }
}

@media (max-width: 768px) {
  .hero-info-card {
    flex: 0 0 100%;
    border-right: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}

.hero-info-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .hero-cards-slide {
    min-width: 100%;
    width: 100%;
  }
}

/* Removed scroll reveal animations */

.hero-info-card:nth-child(3n+2),
.hero-info-card:nth-child(3n+3) {
  padding-left: 50px;
}

.hero-info-card:nth-child(3n) {
  border-right: none;
}

@media (max-width: 1024px) {
  .hero-info-card {
    flex: 0 0 50% !important;
    padding: 15px 20px 15px 20px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.3) !important;
  }

  .hero-info-card:nth-child(2n) {
    border-right: none !important;
  }
}

@media (max-width: 768px) {
  .hero-info-card {
    flex: 0 0 100% !important;
    padding: 20px 0 !important;
    border-right: none !important;
    border-bottom: none !important;
    margin-right: 0 !important;
  }
}

.hero-info-card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-card-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 4px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 10px;
}

.card-footer span {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.arrow-icon {
  width: 32px;
  height: 32px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
  color: #fff;
}

.arrow-icon svg {
  width: 16px;
  height: 16px;
}

.hero-info-card:hover .arrow-icon {
  transform: rotate(45deg);
}

/* ===== SECTION HEADINGS ===== */
.section-title,
.welcome-wrapper h2,
.nusantara-section>h2,
.nusantara-team-section h2,
h2.has-text-align-center {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-teal);
  margin-bottom: 25px !important;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after,
.welcome-wrapper h2::after,
.nusantara-section>h2::after,
.nusantara-team-section h2::after,
h2.has-text-align-center::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 50px;
  height: 3px;
  background: #77DD77;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
}

.welcome-subtitle {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--dark-teal) !important;
  margin-top: 15px !important;
  margin-bottom: 25px !important;
  text-align: center !important;
  line-height: 1.4 !important;
}

/* Specific fix for sections that might already have the div */
.section-underline {
  display: none !important;
}

.cta-underline {
  width: 60px;
  height: 2px;
  background: #77DD77;
  margin: 0 0 30px;
  /* Changed to left-aligned */
}


/* ===== CORE COMPONENT STYLES ===== */

/* Two Col Grid */
.two-col-grid,
.wp-block-group.two-col-grid {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 0 !important;
}

.col-card,
.wp-block-group.col-card {
  flex: 1;
  text-align: center;
  padding: 0 30px !important;
  margin: 0 !important;
}

.col-card:first-child,
.wp-block-group.col-card:first-child {
  border-right: 1px solid #ddd !important;
}

.col-card h3,
.wp-block-group.col-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
}

.col-card p,
.wp-block-group.col-card p {
  color: #444;
  font-size: 16px;
  line-height: 1.8;
}

/* Team Carousel */
.team-carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  box-sizing: border-box;
}

.carousel-arrow {
  background: rgba(0, 0, 0, 0.2);
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow svg {
  width: 30px;
  height: 30px;
}

.team-viewport {
  overflow: hidden;
  flex: 1;
}

.team-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card {
  display: flex;
  gap: 50px;
  align-items: center;
  flex: 1;
  min-width: 100%;
  color: #fff;
  text-align: left;
}

.team-photo {
  width: 280px;
  height: 340px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team-info {
  flex: 1;
  min-width: 0;
}

.team-name {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.role-underline {
  width: 50px;
  height: 3px;
  background: #77DD77;
  margin-bottom: 20px;
}

.team-info p {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  margin-bottom: 14px !important;
}

/* Stats Grid */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 45px 30px;
  width: 320px;
  min-height: 220px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

p.stat-number,
.wp-block-paragraph.stat-number,
.stat-number {
  font-size: 72px !important;
  font-weight: 800 !important;
  color: #004C45 !important;
  line-height: 1 !important;
  margin-bottom: 20px !important;
}

p.stat-label,
.wp-block-paragraph.stat-label,
.stat-label {
  color: #004C45 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  max-width: 220px !important;
  margin: 0 auto !important;
}

/* Solutions Grid */
.solutions-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sol-row-btns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  --cols: 5;
}

.solution-btn {
  background: #f4f6f5;
  border: 1px solid #e1e6e4;
  border-radius: 4px;
  padding: 12px 16px;
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.solution-btn-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  text-align: left;
}

.solution-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-right: 12px;
}

.solution-btn-icon img {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.solution-btn-text {
  display: block;
  text-align: left;
  line-height: 1.3;
  transition: text-shadow 0.2s ease, color 0.2s ease;
}

.solution-btn:hover {
  background: #ebefed;
  border-color: #d1d8d5;
}

.solution-btn:hover .solution-btn-text {
  text-shadow: 0.4px 0 0 currentColor;
  color: #000;
}

.solution-btn:hover .solution-btn-icon img {
  transform: scale(1.08);
}

.solution-btn.active-btn {
  background: #b1ccc7;
  border-color: #b1ccc7;
  color: #000;
  position: relative;
  z-index: 2;
}

.solution-btn.active-btn .solution-btn-text {
  text-shadow: 0.4px 0 0 currentColor;
}

.solution-btn.active-btn .solution-btn-icon img {
  transform: scale(1.08);
}

.sol-panel {
  display: none;
  background: #b1ccc7;
  padding: 28px 32px;
  border-radius: 0 0 8px 8px;
  text-align: left;
  margin-top: -11px;
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
}

.sol-panel.visible {
  display: block;
}

.sol-panel p {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #1a3c34 !important;
  margin-bottom: 18px !important;
  font-weight: 500 !important;
  text-align: left !important;
}

.learn-more-btn {
  display: inline-block;
  background: #004C45;
  color: #fff;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  transition: background 0.3s;
  text-decoration: none;
  margin-top: 10px;
}

.learn-more-btn:hover {
  background: #00695c;
}

/* Hide LEARN MORE button only on solution page, not on homepage */
.solution-page-main .sol-panel .learn-more-btn {
  display: none !important;
}

/* CTA Content */
.cta-banner-inner {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.cta-btn {
  display: inline-block;
  padding: 12px 36px;
  border: 1px solid #fff;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  text-decoration: none !important;
}

.cta-btn:hover {
  background: #fff;
  color: #004C45;
}

/* Insights Grid */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.insight-card {
  background: #fff !important;
  border: 1.5px solid #004C45 !important;
  border-radius: 4px !important;
  padding: 35px 30px !important;
  min-height: 320px !important;
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  overflow: hidden !important;
  position: relative !important;
}

.insight-card.hidden {
  display: none !important;
}

.insight-card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -50px;
  width: 450px;
  height: 350px;
  background-repeat: no-repeat !important;
  background-position: bottom right !important;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.insight-card:hover::after {
  opacity: 0 !important;
}

.insight-card:hover {
  background: #004C45;
  transform: translateY(-8px);
  border-color: #004C45;
  box-shadow: 0 15px 30px rgba(0, 74, 68, 0.25);
}

.insight-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #004C45;
  margin-bottom: 20px;
  transition: color 0.4s ease;
  position: relative;
  z-index: 1;
}

.insight-card:hover h3 {
  color: #fff;
}

.insight-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  position: relative;
  z-index: 1;
}

/* .insight-tag {
  color: #004C45;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.4s ease;
} */

/* .insight-date {
  color: #004C45;
  font-size: 11px;
  font-weight: 500;
  transition: color 0.4s ease;
} */

.insight-card:hover .insight-tag,
.insight-card:hover .insight-date {
  color: #77DD77 !important;
}

/* ===== FOOTER STYLES ===== */
footer {
  background: #004C45;
  padding: 50px 0 20px 0;
  color: #fff;
  text-align: left;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.footer-logo a {
  display: inline-block;
}

.footer-logo img {
  height: 55px;
  width: auto;
  display: block;
  margin-bottom: 20px;
}

.footer-nav-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 25px;
  margin-bottom: 25px;
  padding: 0;
}

.footer-nav-links li {
  margin: 0;
}

.footer-nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.footer-nav-links a:hover {
  opacity: 0.7;
}

.footer-description,
.footer-disclaimer {
  font-size: 12.8px !important;
  color: #ffffff !important;
  line-height: 1.6;
  opacity: 1 !important;
  max-width: 450px;
}

.footer-description {
  margin-bottom: 20px;
}

.footer-disclaimer {
  margin-bottom: 30px;
}

.footer-newsletter-btn {
  display: block;
  width: fit-content;
  padding: 12px 25px;
  border-radius: 4px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 25px;
  transition: all 0.3s;
  text-decoration: none !important;
  /* Remove underline */
}

.footer-newsletter-btn:hover {
  background: #fff;
  color: #004C45;
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-bottom: 35px;
}

.social-box {
  width: 32px;
  height: 32px;
  background: #fff;
  color: #004C45;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: opacity 0.3s;
}

.social-box:hover {
  opacity: 0.85;
}

.youtube-box::before {
  content: '\25B6';
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  font-size: 14px;
}

.footer-contact-info {
  font-size: 14px;
  line-height: 1.6;
  opacity: 1 !important;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 75px;
}

.contact-title {
  font-size: 16px;
  font-weight: 600;
  margin-top: 0 !important;
  margin-bottom: 12px;
  color: #fff;
}

.footer-head-office-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff !important;
  display: block;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 8px;
}

.contact-item p {
  margin: 0 !important;
  color: #ffffff !important;
  line-height: 1.5;
  font-size: 12.8px !important;
}

.contact-item .contact-icon {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  flex-shrink: 0 !important;
  stroke: #fff;
  fill: none;
  opacity: 0.8;
  margin-top: -2px;
  object-fit: contain !important;
}

.footer-email a {
  color: #ffffff !important;
  font-size: 12.8px !important;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-email a:hover {
  opacity: 0.8;
}

.footer-phone {
  font-size: 14px;
  font-weight: 400;
}

.footer-map-box {
  height: 200px;
  border: 1.5px solid rgba(162, 243, 140, 0.3);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.map-overlay-controls {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  display: flex;
  background: #0a1f1a;
  padding: 4px;
  border-radius: 6px;
}

.map-type-btn {
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
  color: #fff;
  transition: all 0.2s;
}

.map-type-btn.active {
  background: #77DD77;
  color: #004C45;
}

.map-zoom-controls {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.zoom-ctrl-group {
  background: #0a1f1a;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.zoom-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #0a1f1a;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.zoom-btn:hover {
  background: #163a32;
}

.pegman-btn {
  margin-top: 8px;
  width: 32px;
  height: 32px;
  background: #0a1f1a;
  border: none;
  border-radius: 4px;
  color: #77DD77;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.2s;
}

.pegman-btn:hover {
  background: #163a32;
}

.pegman-btn svg {
  width: 18px;
  height: 18px;
}

.footer-map-box iframe {
  width: calc(100% + 800px);
  margin-left: -400px;
  height: 300px;
  margin-top: -50px;
  display: block;
  border: none;
  pointer-events: auto !important;
  position: relative;
  z-index: 1;
}

.map-attribution-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: 35px;
  height: auto;
  background: #0a1f1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 15px;
  font-size: 10px;
  color: #fff;
  z-index: 10;
  flex-wrap: wrap;
  gap: 8px;
}

.open-map-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #fff;
  color: #004C45;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 20;
  transition: all 0.2s ease;
}

.open-map-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.map-google-logo {
  color: #77DD77;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.5px;
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
  opacity: 0.8;
  align-items: center;
}

.map-links span {
  cursor: pointer;
}

.map-links span:hover {
  text-decoration: underline;
}

/* Footer bottom bar */
.footer-bottom {
  margin-top: 30px;
  padding-top: 30px;
  width: 100%;
  text-align: center;
}

/* The thin line above the text */
.footer-bottom-line {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-width: calc(1100px - 40px);
  width: calc(100% - 40px);
  margin: 0 auto 20px auto;
}

.footer-bottom-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: center;
}

.footer-bottom span {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.etherux-link {
  color: #fff !important;
  text-decoration: none !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}

.etherux-link:hover {
  color: #77DD77 !important;
}

/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */
@media (max-width: 1024px) {
  nav {
    padding: 15px 40px;
  }

  .hero {
    padding: 60px 0 40px;
    min-height: 100vh;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-info-card {
    padding: 24px 30px 24px 0;
  }

  .hero-info-card:not(:first-child) {
    padding-left: 30px;
  }

  .team-photo {
    width: 190px;
    height: 280px;
  }

  .insights-grid {
    gap: 20px;
  }
}

@media (max-width: 1024px) {

  nav>.nav-links,
  .nav-right .nav-right-dfdl,
  .nav-right .btn-contact {
    display: none !important;
  }

  .nav-search {
    display: flex !important;
    margin-right: 15px;
  }

  .nav-hamburger {
    display: flex !important;
  }

  .hero {
    padding: 40px 0 30px;
    min-height: 100svh;
    text-align: left;
    align-items: flex-start;
  }

  .hero-content {
    align-items: flex-start;
    padding-top: 10px;
    margin-bottom: 30px;
  }

  .hero-content h1 {
    font-size: 30px;
    margin-bottom: 14px;
    text-align: left;
  }

  .hero-content p {
    margin: 0 0 24px;
    font-size: 14px;
    text-align: left;
  }

  .btn-hero-contact {
    align-self: flex-start;
  }

  .hero-cards-slide {
    display: flex;
    flex-direction: row;
    gap: 0;
    min-width: 100%;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .hero-cards-slide::-webkit-scrollbar {
    display: none;
  }

  .hero-info-card {
    padding: 20px 15px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
    min-height: auto;
    text-align: left;
    flex: 0 0 50% !important;
    box-sizing: border-box;
  }

  .hero-info-card:nth-child(2n) {
    border-right: none !important;
  }

  .arrow-icon {
    width: 32px;
    height: 32px;
  }

  .arrow-icon svg {
    width: 14px;
    height: 14px;
  }

  .two-col-grid,
  .wp-block-group.two-col-grid {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .col-card,
  .wp-block-group.col-card {
    padding: 0 !important;
    width: 100% !important;
    text-align: center;
    border: none !important;
    border-right: none !important;
    margin: 0 !important;
  }

  .col-card:first-child,
  .wp-block-group.col-card:first-child {
    border-right: none !important;
    border-bottom: 1px solid #ddd !important;
    padding-bottom: 40px !important;
  }

  .col-card:last-child,
  .wp-block-group.col-card:last-child {
    padding-top: 40px !important;
  }

  .nusantara-team-section {
    padding: 40px 0 0 !important;
  }

  .team-bg-wrapper {
    padding: 60px 10% 80px !important;
    clip-path: polygon(0 0, 100% 2%, 100% 100%, 0 98%) !important;
  }

  .team-card {
    flex-direction: column !important;
    gap: 30px !important;
    text-align: left !important;
    align-items: flex-start !important;
    width: 100% !important;
  }

  .team-photo {
    width: 180px !important;
    height: 220px !important;
    margin: 0 !important;
  }

  .team-info {
    text-align: left !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .team-name {
    font-size: 24px !important;
    margin-bottom: 4px !important;
  }

  .role-underline {
    margin: 0 0 16px !important;
  }

  .stat-card {
    width: calc(50% - 15px);
    min-width: 200px;
  }

  .sol-row-btns {
    grid-template-columns: repeat(3, 1fr);
  }

  .sol-panel {
    padding: 24px 20px;
    margin-top: -9px;
  }

  .insights-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  footer {
    padding: 40px 0;
  }
}

/* ===== HERO SLIDER MOBILE: Force 1 card per view ===== */
@media (max-width: 768px) {
  .hero-info-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    padding: 20px 0 !important;
    border-right: none !important;
    border-bottom: none !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .hero-info-card:nth-child(2n) {
    border-right: none !important;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 22px;
  }

  .stat-card {
    width: 100%;
    max-width: 350px;
    padding: 35px 25px;
  }

  .sol-row-btns {
    grid-template-columns: 1fr;
  }

  .team-photo {
    width: 150px;
    height: 190px;
  }
}

@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 20px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .btn-hero-contact {
    padding: 10px 25px;
    font-size: 12px;
  }

  .btn-contact {
    display: none;
  }
}

/* ===== HOMEPAGE DYNAMIC CONTENT AREA ===== */
.homepage-dynamic-content {
  background: #fff;
  width: 100%;
}

/* Utility classes for Gutenberg Group Blocks */
.nusantara-section {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
  padding-left: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  padding-right: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
}

.nusantara-team-section {
  position: relative;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
  padding-left: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  padding-right: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 92%);
  color: #fff;
  margin-top: 20px;
  background-color: #004C45 !important;
  /* Default image, easily overridden by Gutenberg */
  background-image: url('images/team/team_bg.jpg');
  background-blend-mode: multiply !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
}

/* Hide any internal H2 to prevent double headings in the team section */
.nusantara-team-section h2 {
  display: none !important;
}

/* Ensure the inner content is always visible and interactive above pseudo backgrounds */
.nusantara-team-section>*,
.nusantara-cta-section>* {
  position: relative;
  z-index: 2;
}

/* Force CTA content to align left and restrict width to match design */
.nusantara-cta-section h2,
.nusantara-cta-section p,
.nusantara-cta-section .cta-banner-inner {
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: 600px !important;
  text-align: left !important;
  position: relative;
  z-index: 2;
}

.nusantara-cta-section {
  background:
    linear-gradient(135deg,
      rgba(1, 77, 67, 1) 0%,
      rgba(1, 77, 67, 1) 45%,
      rgba(1, 77, 67, 0.7) 60%,
      rgba(0, 210, 179, 0.5) 100%),
    linear-gradient(rgba(7, 148, 148, 0.15), rgba(255, 255, 255, 0.15)),
    url('images/cta/1.png') no-repeat right center / cover !important;
  background-color: #0a4a48 !important;
  background-blend-mode: normal, overlay, multiply !important;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
  padding-left: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  padding-right: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.nusantara-cta-section .cta-title,
.nusantara-cta-section h2 {
  color: #ffffff !important;
  text-align: left !important;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 30px !important;
  font-size: 32px;
}

.nusantara-cta-section p {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.nusantara-cta-section .cta-title::after,
.nusantara-cta-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  width: 50px;
  height: 3px;
  background: #77DD77;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
}

/* Force left alignment on homepage CTA heading and its underline */
.homepage-dynamic-content .nusantara-cta-section h2.wp-block-heading {
  text-align: left !important;
  color: #ffffff !important;
}

.homepage-dynamic-content .nusantara-cta-section h2.wp-block-heading::after {
  left: 0 !important;
  transform: none !important;
}

.homepage-dynamic-content p {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Section Headings & Underlines */
.section-title,
.homepage-dynamic-content h2.wp-block-heading {
  font-size: 32px !important;
  font-weight: 700 !important;
  margin-bottom: 40px !important;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif !important;
  text-align: center !important;
}

.section-underline {
  width: 50px;
  height: 3px;
  background: #77DD77;
  margin: 0 auto 28px !important;
}

/* Reset Gutenberg Block Gaps */
.homepage-dynamic-content .wp-block-group,
.homepage-dynamic-content .wp-block-columns,
.homepage-dynamic-content .wp-block-column {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.homepage-dynamic-content>*+* {
  margin-top: 0 !important;
}

.insight-dynamic-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.insight-dynamic-content>* {
  width: 100%;
}

/* Global Section Padding Mapping (Standardized) */
.welcome-wrapper,
.two-col-section,
.stats-section,
.solutions-section,
.insights-section {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
  padding-left: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  padding-right: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  background: #fff;
}

.nusantara-team-section p,
.nusantara-cta-section p {
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

/* Reset for standard blocks */
.homepage-dynamic-content section {
  width: 100%;
}

/* Responsive adjustments for dynamic content */
@media (max-width: 1024px) {

  .welcome-wrapper,
  .two-col-section,
  .stats-section,
  .solutions-section,
  .insights-section,
  .nusantara-section {
    padding: 60px 40px !important;
  }

  .nusantara-team-section {
    padding: 80px 40px !important;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%) !important;
  }

  .nusantara-cta-section {
    padding: 80px 20px !important;
  }
}

@media (max-width: 768px) {

  .welcome-wrapper,
  .two-col-section,
  .stats-section,
  .insights-section,
  .nusantara-section {
    padding: 50px 20px !important;
  }

  .solutions-section {
    padding: 50px 20px 60px !important;
  }

  .nusantara-team-section {
    padding: 60px 20px 80px !important;
    clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%) !important;
  }

  .nusantara-cta-section {
    padding: 80px 20px !important;
  }
}

/* Footer spacing fix */
.homepage-dynamic-content>*:last-child {
  margin-bottom: 0;
}

/* ============================================================
   HOMEPAGE RESPONSIVE SYNC (EXCLUDING HERO)
   ============================================================ */

@media (max-width: 1024px) {
  .welcome-wrapper {
    padding: 50px 40px !important;
  }

  .two-col-section {
    padding: 50px 40px !important;
  }

  .col-card {
    padding: 0 30px !important;
  }

  .team-section {
    padding: 50px 0 0 !important;
  }

  .team-bg-wrapper {
    padding: 80px 40px !important;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%) !important;
  }

  .team-carousel {
    gap: 16px !important;
  }

  .carousel-arrow {
    width: 40px !important;
    height: 40px !important;
  }

  .team-card {
    flex-direction: column !important;
    gap: 24px !important;
    text-align: center !important;
    align-items: center !important;
  }

  .team-photo {
    width: 220px !important;
    height: 280px !important;
  }

  .team-info {
    text-align: left !important;
  }

  .team-name {
    font-size: 22px !important;
  }

  .role-underline {
    margin: 0 0 16px !important;
  }

  .stats-section {
    padding: 60px 40px !important;
  }

  .stat-card {
    width: calc(50% - 15px) !important;
    min-width: 200px !important;
    padding: 30px 20px !important;
  }

  .solutions-section {
    padding: 60px 40px !important;
  }

  .sol-row-btns {
    grid-template-columns: repeat(3, 1fr) !important;
    --cols: 3 !important;
    gap: 8px !important;
  }

  .solution-btn {
    width: 100% !important;
    min-height: 64px !important;
    font-size: 12px !important;
    padding: 12px 8px !important;
  }

  .sol-panel {
    padding: 24px 20px !important;
    margin-top: -9px !important;
  }
}

@media (max-width: 1024px) {
  .nusantara-cta-section {
    padding: 80px 40px !important;
    background-position: 80% center !important;
    background-size: cover !important;
  }
}

@media (max-width: 768px) {
  .nusantara-cta-section {
    padding: 60px 20px !important;
    background-position: center center !important;
    background-size: cover !important;
    text-align: left !important;
  }

  .nusantara-cta-section .cta-title {
    font-size: 26px !important;
    color: #fff !important;
  }

  .nusantara-cta-section p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  .nusantara-cta-section {
    padding: 60px 20px !important;
    background: linear-gradient(135deg, rgba(1, 77, 67, 1) 0%, rgba(1, 77, 67, 0.9) 60%, rgba(0, 210, 178, 0.2) 100%),
      url('images/cta/1.png') no-repeat center center / cover !important;
  }

  .nusantara-cta-section .cta-title {
    font-size: 22px !important;
  }
}

/* ============================================================
   HOMEPAGE RESPONSIVE SYNC (EXCLUDING HERO)
   ============================================================ */

@media (max-width: 1024px) {
  .welcome-wrapper {
    padding: 50px 40px !important;
  }

  .two-col-section {
    padding: 50px 40px !important;
  }

  .col-card {
    padding: 0 30px !important;
  }

  .team-section {
    padding: 50px 0 0 !important;
  }

  .team-bg-wrapper {
    padding: 80px 40px !important;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%) !important;
  }

  .team-carousel {
    gap: 16px !important;
  }

  .carousel-arrow {
    width: 40px !important;
    height: 40px !important;
  }

  .team-card {
    flex-direction: column !important;
    gap: 24px !important;
    text-align: center !important;
    align-items: center !important;
  }

  .team-photo {
    width: 220px !important;
    height: 280px !important;
  }

  .team-info {
    text-align: left !important;
  }

  .team-name {
    font-size: 22px !important;
  }

  .role-underline {
    margin: 0 0 16px !important;
  }

  .stats-section {
    padding: 60px 40px !important;
  }

  .stat-card {
    width: calc(50% - 15px) !important;
    min-width: 200px !important;
    padding: 30px 20px !important;
  }

  .solutions-section {
    padding: 60px 40px !important;
  }

  .sol-row-btns {
    grid-template-columns: repeat(3, 1fr) !important;
    --cols: 3 !important;
    gap: 8px !important;
  }

  .solution-btn {
    width: 100% !important;
    min-height: 64px !important;
    font-size: 12px !important;
    padding: 12px 8px !important;
  }

  .sol-panel {
    padding: 24px 20px !important;
    margin-top: -9px !important;
  }

  .cta-banner {
    padding: 80px 20px !important;
    background: linear-gradient(135deg, rgba(1, 77, 67, 1) 0%, rgba(1, 77, 67, 0.95) 50%, rgba(0, 210, 178, 0.3) 100%),
      linear-gradient(rgba(7, 148, 148, 0.1), rgba(255, 255, 255, 0.1)),
      url(images/cta/1.png) no-repeat right center / cover !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
  }

  .cta-banner-inner {
    margin: 0 auto !important;
    max-width: 550px !important;
  }

  .cta-underline {
    margin: 0 auto 25px !important;
  }

  .insights-section {
    padding: 60px 40px !important;
  }

  .insights-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }

  .insight-card {
    min-height: 240px !important;
    padding: 40px 30px !important;
  }

  .insight-card h3 {
    font-size: 15px !important;
  }

  .two-col-grid {
    flex-direction: column !important;
    gap: 40px !important;
  }

  .col-card:first-child {
    border-right: none !important;
    border-bottom: 1px solid #ddd !important;
    padding-bottom: 40px !important;
  }

  .section-title {
    font-size: 26px !important;
  }
}

@media (max-width: 768px) {
  .insights-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .insight-card:last-child:nth-child(odd) {
    grid-column: auto !important;
    width: 100% !important;
  }

  .sol-row-btns {
    grid-template-columns: repeat(2, 1fr) !important;
    --cols: 2 !important;
    gap: 8px !important;
  }

  .solution-btn {
    font-size: 15px !important;
    min-height: 64px !important;
    padding: 12px 10px !important;
  }
}

@media (max-width: 480px) {
  .welcome-wrapper {
    padding: 50px 20px !important;
  }

  .two-col-section {
    padding: 50px 20px !important;
  }

  .section-title {
    font-size: 22px !important;
  }

  .col-card h3 {
    font-size: 18px !important;
  }

  .stat-card {
    width: 100% !important;
    max-width: 350px !important;
    padding: 35px 25px !important;
  }

  .stat-number {
    font-size: 48px !important;
  }

  .sol-row-btns {
    grid-template-columns: 1fr !important;
    --cols: 1 !important;
  }

  .solution-btn {
    width: 100% !important;
    min-height: 56px !important;
    font-size: 15px !important;
    padding: 12px 10px !important;
  }

  .team-photo {
    width: 150px !important;
    height: 190px !important;
  }

  .team-name {
    font-size: 20px !important;
  }

  .cta-banner {
    padding: 60px 15px !important;
    background: linear-gradient(135deg, rgba(1, 77, 67, 1) 0%, rgba(1, 77, 67, 0.9) 60%, rgba(0, 210, 178, 0.2) 100%),
      url(images/cta/1.png) no-repeat center center / cover !important;
  }

  .cta-banner h2 {
    font-size: 22px !important;
  }
}

/* ============================================================
   SOLUTION PAGE SPECIFIC STYLES (RE-ADDED)
============================================================ */

.solution-hero {
  display: flex;
  min-height: 45vh;
  background: #fff;
  overflow: hidden;
}

.hero-left {
  flex: 0 0 50%;
  background: #004C45;
  color: #fff;
  padding: 100px 4% 100px max(20px, calc((100% - 1100px) / 2 + 20px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-underline {
  width: 50px;
  height: 3px;
  background: #77DD77;
  margin-bottom: 18px !important;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
  color: #fff;
}

.hero-description {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.8;
  color: #fff;
}

.hero-right {
  flex: 0 0 50%;
  background: url('images/solution/Corporate.jpg') no-repeat center center/cover;
  min-height: 340px;
}

.content-section {
  padding: 80px 10%;
  background: #fff;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
}

.content-container h2 {
  font-size: 2.2rem;
  color: #004C45;
  margin-bottom: 30px;
  line-height: 1.2;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif !important;
}

.scope-section {
  padding: 60px 10%;
  background: #ffffff;
}

.scope-container {
  max-width: 1200px;
  margin: 0 auto;
}

.scope-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #004C45;
  margin-bottom: 35px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.credentials-section {
  padding: 100px 10%;
  background: #004C45;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.credentials-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: url('images/solution/watermark.png') no-repeat center center/60%;
  opacity: 0.05;
  pointer-events: none;
}

.credentials-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.credentials-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.credentials-desc {
  font-size: 1.2rem;
  margin-bottom: 50px;
  opacity: 0.9;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.credentials-list {
  list-style: none;
  padding: 0;
}

.credentials-list li {
  position: relative;
  padding-left: 0px;
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 1.05rem;
}

.credentials-list li::before {
  display: none !important;
}

@media (max-width: 1024px) {
  .solution-hero {
    flex-direction: column !important;
  }

  .hero-left,
  .hero-right {
    flex: 0 0 100% !important;
  }

  .hero-left {
    padding: 60px 5% !important;
  }

  .hero-right-img {
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  .hero-right-cover {
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  .scope-btns {
    --cols: 2;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
  }
}

/* FINAL HERO FIXES */
.solution-hero {
  display: flex !important;
  min-height: 45vh !important;
  align-items: stretch !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.hero-left {
  flex: 0 0 50% !important;
  padding: 40px 4% 40px 10% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  background: #004C45 !important;
}

.hero-left h1 {
  font-size: 34px !important;
  line-height: 1.2 !important;
  margin-bottom: 12px !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.hero-right {
  flex: 0 0 50% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  min-height: 100% !important;
}

.btn-speak a,
.btn-speak .wp-block-button__link {
  background-color: #77DD77 !important;
  color: #004C45 !important;
  font-weight: 700 !important;
  padding: 12px 28px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  display: inline-block !important;
  border: none !important;
  font-size: 13.5px !important;
  transition: all 0.3s !important;
}

.btn-speak a:hover,
.btn-speak .wp-block-button__link:hover {
  background-color: #ffffff !important;
  color: #004C45 !important;
}

/* Remove Gutenberg default group padding */
.solution-hero.wp-block-group {
  padding: 0 !important;
}

.solution-hero>.wp-block-group__inner-container {
  display: flex;
  width: 100%;
  height: 100%;
}


/* GAP FIX */
.solution-hero {
  gap: 0 !important;
}

.solution-hero>* {
  margin: 0 !important;
}

.wp-block-group.solution-hero {
  gap: 0 !important;
}


/* SUBTITLE COLOR & SIZE FIX */
.hero-subtitle {
  color: #ffffff !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin-bottom: 15px !important;
  opacity: 1 !important;
}

/* EDITABLE HERO IMAGE FIX */
.hero-right-img {
  flex: 0 0 50% !important;
  margin: 0 !important;
  height: 100% !important;
  width: 50% !important;
}

.hero-right-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* COVER BLOCK HERO FIX */
.hero-right-cover {
  flex: 0 0 50% !important;
  margin: 0 !important;
  width: 50% !important;
  min-height: 100% !important;
  padding: 0 !important;
}

.hero-right-cover img {
  object-fit: cover !important;
}

/* LEADERSHIP SECTION TITLE STYLE */
.content-container h2 {
  font-size: 2.8rem !important;
  color: #004C45 !important;
  letter-spacing: -0.5px !important;
  line-height: 1.2 !important;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif !important;
  font-weight: 700 !important;
}

.content-container p {
  font-size: 0.95rem !important;
  line-height: 1.8 !important;
  color: #333333 !important;
  margin-bottom: 25px !important;
}

/* TYPOGRAPHY SIZE UPDATE */
.content-container h2 {
  font-size: 2.8rem !important;
  letter-spacing: -0.5px !important;
}

/* SCOPE TABS FINAL STYLES - SOLUTIONS GRID MATCH */
.scope-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  background: #ffffff !important;
}

.scope-btn {
  background: #f4f6f5 !important;
  border: 1px solid #e1e6e4 !important;
  border-radius: 4px !important;
  padding: 16px 20px !important;
  font-size: clamp(11px, 1.1vw, 13px) !important;
  font-weight: 500 !important;
  color: #333 !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  min-height: 72px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: auto !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.scope-btn:hover {
  background: #f0f7f6 !important;
  text-shadow: 0.4px 0 0 currentColor !important;
  color: #000 !important;
}

.scope-btn.active-btn {
  background: #b1ccc7 !important;
  border-color: #b1ccc7 !important;
  color: #000 !important;
  text-shadow: 0.4px 0 0 currentColor !important;
  position: relative !important;
  z-index: 2 !important;
}

.scope-panel {
  display: none !important;
  background: #b1ccc7 !important;
  padding: 28px 32px !important;
  border-radius: 0 0 8px 8px !important;
  text-align: left !important;
  margin-top: -11px !important;
  position: relative !important;
  z-index: 1 !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  color: #1a3c34 !important;
  border-left: none !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
}

.scope-panel.visible {
  display: block !important;
}

.scope-panel p {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #1a3c34 !important;
  margin-bottom: 18px !important;
  font-weight: 500 !important;
  text-align: left !important;
}

@media (max-width: 1024px) {
  .scope-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .scope-btn {
    width: 100% !important;
    min-height: 64px !important;
    font-size: 15px !important;
    padding: 12px 10px !important;
  }

  .scope-panel {
    padding: 24px 20px !important;
    margin-top: -9px !important;
  }
}

@media (max-width: 480px) {
  .scope-row {
    grid-template-columns: 1fr !important;
  }

  .scope-btn {
    min-height: 56px !important;
  }
}

/* SCOPE TITLE STYLE MATCH */
.scope-title {
  text-align: left !important;
  color: #004C45 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin-bottom: 30px !important;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif !important;
  text-transform: none !important;
}

/* SCOPE SECTION WHITE BACKGROUND FIX */
.scope-section {
  background: #ffffff !important;
}


/* CREDENTIALS SECTION STYLES MATCH */
.credentials-section {
  padding: 100px 10% !important;
  background-color: #f4f8f7 !important;
  position: relative !important;
  overflow: hidden !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  min-height: auto !important;
}

.credentials-container {
  max-width: 1100px !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 2 !important;
}

.credentials-container h2 {
  font-size: 2.2rem !important;
  color: #000 !important;
  font-weight: 700 !important;
  margin-bottom: 15px !important;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif !important;
}

.credentials-subtitle {
  font-size: 15px !important;
  color: #555 !important;
  margin-bottom: 30px !important;
  line-height: 1.6 !important;
}

.credentials-grid {
  display: flex !important;
  gap: 100px !important;
  margin-top: 30px !important;
}

.credentials-col {
  flex: 1 !important;
}

.credentials-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.credentials-list li {
  position: relative !important;
  padding-left: 25px !important;
  margin-bottom: 50px !important;
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  color: #333 !important;
}

.credentials-list li::before {
  content: 'âœ“' !important;
  position: absolute !important;
  left: 0 !important;
  color: #004C45 !important;
  font-weight: bold !important;
  font-size: 1.2rem !important;
}

.credentials-list li strong {
  color: #000 !important;
  font-weight: 700 !important;
}

.credentials-section .wp-block-cover__image-background {
  opacity: 0.1 !important;
  object-fit: contain !important;
  width: 80% !important;
  left: 10% !important;
}

@media (max-width: 1024px) {
  .credentials-grid {
    flex-direction: column !important;
    gap: 0 !important;
  }
}

/* CREDENTIALS TEXT COLOR VISIBILITY FIX */
.credentials-section,
.credentials-section p,
.credentials-section li,
.credentials-section strong {
  color: #333333 !important;
}

.credentials-section h2 {
  color: #000000 !important;
}

.credentials-section ul li {
  margin-bottom: 50px !important;
}

.credentials-section::before,
.credentials-section::after {
  display: none !important;
  content: none !important;
}

.credentials-section.wp-block-cover {
  background-image: none !important;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 80px 10% !important;
  background: #fff !important;
}

.contact-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.contact-section h2 {
  display: block !important;
  visibility: visible !important;
  font-size: clamp(22px, 3vw, 32px) !important;
  font-weight: 700 !important;
  color: #000 !important;
  margin-top: 0 !important;
  margin-bottom: 35px !important;
  text-align: left !important;
  opacity: 1 !important;
}

.contact-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  background: #f0f4f3 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
  position: relative !important;
}

.contact-card .wp-block-group__inner-container {
  display: contents !important;
}

.contact-photo {
  flex: 0 0 300px !important;
  min-height: 340px !important;
  height: auto !important;
}

.contact-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.contact-photo figure {
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.contact-info {
  padding: 20px 36px 28px 36px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
}

.contact-header {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

.contact-info .contact-name {
  font-size: clamp(18px, 2vw, 22px) !important;
  font-weight: 700 !important;
  color: #004C45 !important;
  margin-top: 0 !important;
  margin-block-start: 0 !important;
  margin-bottom: 2px !important;
}

.contact-info .contact-header .contact-title {
  color: #555555 !important;
  padding-left: 0 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  margin-top: 0 !important;
  margin-block-start: 0 !important;
  margin-bottom: -3px !important;
}

.contact-underline {
  width: 40px !important;
  height: 3px !important;
  background: #77DD77 !important;
  margin-top: 12px !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
}

.contact-bio {
  font-size: 14.5px !important;
  line-height: 1.7 !important;
  color: #333 !important;
  margin-bottom: -14px !important;
}

.contact-info p {
  margin-top: 0 !important;
  margin-bottom: 21px !important;
}

.practice-areas {
  font-size: 15px !important;
  color: #555 !important;
  line-height: 1.8 !important;
  margin-bottom: 16px !important;
}

.practice-areas strong {
  color: #000 !important;
  font-weight: 700 !important;
}

.practice-areas a {
  color: #004C45 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.practice-areas a:hover {
  color: #66948F !important;
  text-decoration: none !important;
}

.contact-arrow {
  position: absolute !important;
  top: 20px !important;
  right: 28px !important;
  width: 32px !important;
  height: 32px !important;
  border: 1px solid #ddd !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #999 !important;
  transition: all 0.3s !important;
  z-index: 10 !important;
  pointer-events: auto !important;
}

.contact-arrow:hover {
  border-color: #004C45 !important;
  color: #004C45 !important;
}

.btn-contact-card {
  background: transparent !important;
  color: #004C45 !important;
  border: 1.5px solid #004C45 !important;
  padding: 10px 20px !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
  align-self: flex-end !important;
  margin-top: auto !important;
  transition: all 0.3s !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  display: inline-block !important;
}

.btn-contact-card:hover {
  background: #004C45 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}


/* ===== WHY US SECTION ===== */
.why-us-section,
.why-us-enhanced {
  padding: 120px 10% !important;
  /* Increased height */
  background: #004C45 !important;
  color: #fff !important;
  position: relative !important;
  overflow: hidden !important;
}

.why-us-section h2 {
  display: block !important;
  visibility: visible !important;
  font-size: clamp(24px, 4vw, 36px) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 50px !important;
  text-align: left !important;
  position: relative !important;
  z-index: 2 !important;
}

.why-us-heading {
  margin-bottom: 50px !important;
}

.why-us-section::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: url('images/solution/arrow.svg') no-repeat center center/75% !important;
  opacity: 0.06 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.why-us-section::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, rgba(0, 77, 64, 0) 20%, #002d25 100%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.why-us-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 2 !important;
}

.why-us-section h2 {
  font-size: clamp(22px, 3vw, 32px) !important;
  font-weight: 700 !important;
  margin-bottom: 70px !important;
  color: #fff !important;
  text-align: left !important;
}

.why-us-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 36px !important;
}

.why-us-item {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  padding-right: 36px !important;
}

.why-us-item::after {
  content: '' !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  height: 60px !important;
  width: 1px !important;
  background: rgba(162, 243, 140, 0.35) !important;
}

.why-us-item:last-child {
  padding-right: 0 !important;
}

.why-us-item:last-child::after {
  display: none !important;
}

.why-us-icon {
  width: 54px !important;
  height: 54px !important;
  margin-bottom: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.why-us-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.why-us-item h3 {
  font-size: clamp(15px, 1.6vw, 19px) !important;
  font-weight: 700 !important;
  margin-bottom: 14px !important;
  line-height: 1.25 !important;
  color: #fff !important;
  text-align: left !important;
}

.why-us-item p {
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  text-align: left !important;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 40px 10% 80px 10% !important;
  background: #fff !important;
}

.faq-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  border-top: 1px solid #cdcfce !important;
  padding-top: 40px !important;
}

.faq-title {
  font-size: clamp(24px, 3vw, 32px) !important;
  font-weight: 700 !important;
  color: #000 !important;
  margin-bottom: 40px !important;
  text-align: left !important;
}

.faq-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  text-align: left !important;
  margin: 0 !important;
}

.sol-faq-list {
  gap: 16px !important;
}

.faq-item {
  background: #f3f3f4 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  border: 1px solid transparent !important;
  margin-bottom: 16px !important;
}

.faq-item:last-child {
  margin-bottom: 0 !important;
}

.faq-item:hover {
  border-color: #004C45 !important;
}

.faq-header {
  padding: 20px 24px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  cursor: pointer !important;
}

.faq-item .faq-header h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #000 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  flex: 1;
  padding-right: 20px;
}

.faq-icon {
  font-size: 11px !important;
  transition: transform 0.3s ease !important;
  color: #000 !important;
  position: static !important;
  margin: 0 !important;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.faq-item.active {
  background: #f8f9fa !important;
  box-shadow: none !important;
  border: none !important;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg) !important;
}

.faq-content {
  display: grid !important;
  grid-template-rows: 0fr !important;
  transition: grid-template-rows 0.4s ease-in-out, padding 0.4s ease-in-out !important;
  padding: 0 24px !important;
}

.faq-content>* {
  overflow: hidden !important;
}

.faq-item.active .faq-content {
  grid-template-rows: 1fr !important;
  padding: 0 24px 24px !important;
}

.faq-item.active .faq-content {
  max-height: 500px !important;
  padding: 0 24px 24px !important;
}

.faq-content p {
  font-size: 15px !important;
  color: #555 !important;
  line-height: 1.8 !important;
  margin: 0 !important;
  margin-top: -6px !important;
  max-width: 95% !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.faq-item.active .faq-content {
  padding-top: 15px !important;
}

/* Make FAQ visible in editor for easy editing */
.wp-admin .faq-content,
.editor-styles-wrapper .faq-content,
.block-editor-page .faq-content {
  max-height: none !important;
  overflow: visible !important;
  padding: 0 24px 24px !important;
  display: block !important;
  opacity: 1 !important;
}

.wp-admin .faq-item,
.editor-styles-wrapper .faq-item {
  border: 1px dashed #ccc !important;
  margin-bottom: 20px !important;
}

/* Align all sections within Solution Page to the 1100px container */
.solution-page-main section,
.solution-page-main .wp-block-group.nusantara-section,
.solution-page-main .contact-section,
.video-insight-template .contact-section,
.solution-page-main .credentials-section,
.video-insight-template .credentials-section,
.solution-page-main .content-section,
.solution-page-main .insights-section,
.solution-page-main .faq-section,
.video-insight-template .faq-section,
.career-page-main .open-positions,
.contact-hero,
.contact-main-wrapper,
.contact-why-section,
.team-grid-section,
.search-results-section {
  padding-left: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  padding-right: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  padding-bottom: 80px !important;
  padding-top: 80px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.career-page-main .open-positions:has(+ .open-positions) {
  padding-bottom: 0 !important;
}

.career-page-main .open-positions+.open-positions {
  padding-top: 0 !important;
}

.solution-page-main .scope-section {
  padding-top: 0px !important;
  padding-left: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  padding-right: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  padding-bottom: 100px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.solution-page-main .insights-section,
.solution-page-main .insights-manual-content,
.solution-page-main .wp-block-group.insights-section {
  padding-top: 40px !important;
}

.solution-page-main .faq-section,
.video-insight-template .faq-section {
  padding-top: 90px !important;
}

.video-insight-template .contact-section {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}

.solution-page-main .faq-section,
.video-insight-template .faq-section,
.solution-page-main .content-section {
  padding-bottom: 40px !important;
}

.solution-page-main .credentials-section,
.video-insight-template .credentials-section {
  padding-top: 70px !important;
  padding-bottom: 70px !important;
}

.solution-page-main .credentials-section ul,
.video-insight-template .credentials-section ul {
  list-style-type: disc !important;
  padding-left: 20px !important;
  margin: 0 !important;
}

.solution-page-main .credentials-section li,
.video-insight-template .credentials-section li {
  margin-bottom: 24px !important;
  padding-left: 5px !important;
}

.solution-page-main .credentials-section li strong,
.video-insight-template .credentials-section li strong {
  font-weight: 700 !important;
}

.solution-page-main .credentials-section h2,
.video-insight-template .credentials-section h2 {
  font-size: clamp(20px, 3vw, 28px) !important;
}

.solution-page-main .content-section h2,
.solution-page-main .content-section .wp-block-heading,
.solution-page-main .insights-section h2,
.solution-page-main .insights-manual-content h2,
.solution-page-main .insights-grid-section h2,
.solution-page-main .wp-block-cover h2,
.solution-page-main .nusantara-section h2,
.solution-page-main .nusantara-section .wp-block-heading {
  color: #000000 !important;
  font-size: clamp(22px, 3vw, 32px) !important;
}


.solution-page-main .hero-left {
  padding-left: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  padding-right: 4% !important;
}

.solution-page-main h2,
.solution-page-main h3,
.solution-page-main .wp-block-heading,
.career-page-main h2,
.career-page-main h3 {
  text-align: left !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  margin-bottom: 18px !important;
}

.solution-page-main .content-container,
.solution-page-main .credentials-container,
.video-insight-template .credentials-container,
.solution-page-main .contact-container,
.video-insight-template .contact-container,
.solution-page-main .why-us-container,
.solution-page-main .faq-container,
.video-insight-template .faq-container,
.solution-page-main .scope-container,
.career-page-main .positions-container-wrap {
  max-width: 1200px !important;
  margin: 0 !important;
  /* Align to the left of the padding */
}

/* Responsive adjustments */
@media (max-width: 900px) {

  .contact-section,
  .why-us-section,
  .content-section,
  .scope-section,
  .credentials-section,
  .faq-section {
    padding: 60px 6% !important;
  }

  .contact-card {
    flex-direction: column !important;
  }

  .contact-photo {
    flex: none !important;
    width: 100% !important;
    height: 280px !important;
  }

  .why-us-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 768px) {

  .contact-section,
  .why-us-section,
  .content-section,
  .scope-section,
  .credentials-section,
  .faq-section {
    padding: 50px 20px !important;
  }

  .contact-info {
    padding: 24px 20px !important;
  }

  .btn-contact-card {
    align-self: stretch !important;
    text-align: center !important;
  }
}

@media (max-width: 600px) {
  .why-us-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .why-us-item::after {
    display: none !important;
  }
}

/* Footer Responsive Sync */
@media (max-width: 1100px) {
  footer {
    padding: 60px 0 !important;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr !important;
    gap: 50px !important;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 50px 0 !important;
  }

  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    align-items: center;
  }

  .footer-map-box {
    height: 320px !important;
  }

  .footer-logo img {
    margin: 0 0 30px 0 !important;
  }

  .footer-left {
    text-align: left !important;
  }

  .footer-nav-links ul {
    justify-content: flex-start !important;
  }

  .footer-description,
  .footer-disclaimer {
    margin: 0 0 30px 0 !important;
  }

  .footer-newsletter-btn {
    margin: 0 0 25px 0 !important;
  }

  .footer-socials {
    justify-content: flex-start !important;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 40px 0 !important;
  }

  .footer-nav-links ul {
    gap: 14px 20px !important;
  }
}

/* Specific Height Override for Why Us Section */
.solution-page-main .why-us-section {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

/* ============================================================
   INSIGHTS PAGE STYLES
   ============================================================ */
.insights-page-wrapper {
  background: #fff;
  width: 100%;
}

/* ===== INSIGHTS HERO FORCED ===== */
.insights-page-wrapper .insights-hero {
  background-color: #004C45 !important;
  padding: 140px 24px !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  min-height: 420px !important;
  color: #ffffff !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-blend-mode: multiply !important;
  /* Blends custom image with teal */
}

.insights-page-wrapper .insights-hero-pattern {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.insights-page-wrapper .insights-hero-pattern svg {
  width: 100% !important;
  height: 100% !important;
  opacity: 0.3 !important;
}

.insights-page-wrapper .insights-hero-content {
  position: relative !important;
  z-index: 10 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
}

.insights-page-wrapper .hero-tag {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  margin-bottom: 15px !important;
  display: block !important;
}

.insights-page-wrapper .hero-tag-line {
  width: 40px !important;
  height: 3px !important;
  background: #77DD77 !important;
  margin: 0 auto 30px !important;
  display: block !important;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
}

.insights-page-wrapper .insights-hero h1 {
  color: #ffffff !important;
  font-size: clamp(32px, 5vw, 56px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  text-transform: none !important;
}

/* ===== FILTERS SECTION ===== */
.filters-section {
  padding: 40px 20px !important;
  background: #f9f9f9 !important;
  position: relative !important;
  z-index: 20 !important;
}

.filters-container {
  max-width: 1100px !important;
  margin: 0 auto !important;
}

.scope-tabs {
  display: flex !important;
  gap: 40px !important;
  margin-bottom: 35px !important;
  border-bottom: 2px solid #eaeaea !important;
  padding-bottom: 12px !important;
}

.scope-tab-btn {
  background: none !important;
  border: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #777777 !important;
  cursor: pointer !important;
  padding: 8px 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  position: relative !important;
  transition: color 0.3s ease !important;
}

.scope-tab-btn:hover {
  color: #004C45 !important;
}

.scope-tab-btn.active {
  color: #004C45 !important;
}

.scope-tab-btn.active::after {
  content: '' !important;
  position: absolute !important;
  bottom: -14px !important;
  left: 0 !important;
  width: 100% !important;
  height: 3px !important;
  background-color: var(--accent-green) !important;
  transform-origin: left !important;
  animation: scopeUnderline 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
}

@keyframes scopeUnderline {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.filter-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-bottom: 30px !important;
  align-items: center !important;
}

.filter-tabs.hidden-tabs {
  display: none !important;
}

.tab-btn {
  background: none !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #555 !important;
  cursor: pointer !important;
  padding: 10px 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: color 0.3s !important;
}

.tab-btn.active {
  background: #004C45 !important;
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: 25px !important;
}

.filter-controls {
  display: flex !important;
  gap: 15px !important;
  flex-wrap: wrap !important;
}

.active-filters-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 20px !important;
}

.filter-pill {
  display: flex !important;
  align-items: center !important;
  background: #ffffff !important;
  border: 1px solid #004C45 !important;
  color: #004C45 !important;
  padding: 6px 12px !important;
  border-radius: 20px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

.filter-pill span {
  margin-right: 8px !important;
}

.filter-pill .remove-pill {
  background: transparent !important;
  border: none !important;
  color: #004C45 !important;
  cursor: pointer !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.2s !important;
}

.filter-pill .remove-pill:hover {
  transform: scale(1.1) !important;
}

.search-wrapper {
  flex: 1 !important;
  min-width: 300px !important;
  position: relative !important;
}

.search-input {
  width: 100% !important;
  height: 50px !important;
  padding: 0 20px 0 50px !important;
  border: 1px solid #ddd !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  outline: none !important;
  background: #fff !important;
}

.search-icon {
  position: absolute !important;
  left: 20px !important;
  top: 0 !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #888 !important;
  pointer-events: none !important;
}

.custom-dropdown {
  position: relative !important;
  min-width: 180px !important;
}

.custom-dropdown.hidden-dropdown {
  display: none !important;
}

.dropdown-trigger {
  width: 100% !important;
  height: 50px !important;
  padding: 0 25px !important;
  border: 1px solid #ddd !important;
  background: #fff !important;
  cursor: pointer !important;
  color: #555 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 14px !important;
}

.dropdown-menu {
  position: absolute !important;
  top: calc(100% + 5px) !important;
  left: 0 !important;
  width: auto !important;
  min-width: 100% !important;
  background: #fff !important;
  border: 1px solid #eee !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
  z-index: 999 !important;
  display: none !important;
  max-height: 250px !important;
  overflow-y: auto !important;
  padding: 10px 0 !important;
}

.custom-dropdown.active .dropdown-menu {
  display: block !important;
}

.dropdown-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.custom-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-item {
  padding: 10px 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  cursor: pointer !important;
  font-size: 13.5px !important;
  color: #444 !important;
}

.dropdown-item input[type="checkbox"] {
  accent-color: #004C45 !important;
}

/* ===== INSIGHTS GRID SECTION ===== */
.insights-grid-section {
  padding: 20px 20px 80px !important;
  background: #fff !important;
}

.breadcrumb {
  max-width: 1100px !important;
  margin: 0 auto 40px !important;
  font-size: 15px !important;
  color: #888 !important;
}

.breadcrumb span {
  color: #333 !important;
  font-weight: 600 !important;
}

.insights-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}

.insight-card {
  background: #fff !important;
  border: 1.5px solid #004C45 !important;
  border-radius: 4px !important;
  padding: 35px 30px !important;
  min-height: 320px !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.4s ease !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: hidden !important;
}

.insight-card:hover {
  background: #004C45 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

.card-bg-arcs {
  position: absolute !important;
  bottom: -50px !important;
  left: -40px !important;
  width: 450px !important;
  height: 350px !important;
  pointer-events: none !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: bottom left !important;
  opacity: 0.2 !important;
}

.insight-card:hover .card-bg-arcs {
  opacity: 0.15 !important;
}

.insight-card h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #004C45 !important;
  margin-bottom: 20px !important;
  position: relative !important;
  z-index: 2 !important;
  transition: color 0.4s !important;
}

.insight-card:hover h3 {
  color: #fff !important;
}

.insight-footer {
  margin-top: auto !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  position: relative !important;
  z-index: 2 !important;
}

.insight-tag {
  color: #004C45 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: color 0.4s !important;
}

.insight-date {
  color: #004C45 !important;
  font-size: 11px !important;
  transition: color 0.4s !important;
}

.insight-card:hover .insight-tag {
  color: #77DD77 !important;
}

.insight-card:hover .date {
  color: rgba(255, 255, 255, 0.8) !important;
}

.view-more-container {
  text-align: center;
  margin: 60px 0;
  width: 100%;
}

.btn-view-more {
  padding: 14px 45px !important;
  border: 1.5px solid #004C45 !important;
  background: none !important;
  color: #004C45 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  border-radius: 4px !important;
  font-size: 15px !important;
}

.btn-view-more:hover {
  background: #004C45 !important;
  color: #fff !important;
}

.insights-manual-content {
  padding: 80px 20px !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}

@media (max-width: 1024px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .insights-hero {
    padding: 80px 24px 60px !important;
    min-height: 300px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .insights-hero .hero-content,
  .insights-hero h1,
  .insights-hero .hero-tag {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
  }

  .insights-hero h1 {
    font-size: 28px !important;
    line-height: 1.3 !important;
    margin: 0 auto !important;
  }

  .insights-hero .hero-tag-line {
    margin: 0 auto 20px !important;
  }

  .insights-nav-filters {
    padding: 40px 5% 20px;
  }

  .filter-inner {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .filter-tabs {
    flex-wrap: wrap !important;
    gap: 10px 15px !important;
    justify-content: center !important;
    margin-bottom: 25px !important;
  }

  .tab-btn {
    font-size: 12px !important;
    padding: 6px 0 !important;
  }

  .tab-btn.active {
    padding: 8px 16px !important;
  }

  .filter-controls {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .search-wrapper,
  .custom-dropdown {
    width: 100% !important;
    min-width: 0 !important;
  }

  .dropdown-menu {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .insight-search-box {
    min-width: 100%;
  }

  .insight-dropdowns {
    flex-direction: column;
  }

  .filter-select-wrapper select {
    width: 100%;
  }

  .insights-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .insight-card {
    padding: 25px 20px !important;
    min-height: 250px !important;
  }

  .insight-card h3 {
    font-size: 18px !important;
  }

  .insights-grid-container {
    padding: 10px 5% 60px;
  }
}

@media (max-width: 500px) {

  .insights-grid,
  .related-insights-grid {
    grid-template-columns: 1fr !important;
  }

  .insight-card {
    min-height: 280px !important;
  }
}

/* ============================================================
   SINGLE INSIGHT PAGE STYLES
============================================================ */

.insight-single-hero {
  background-color: #004C45;
  background-image: linear-gradient(rgba(0, 76, 69, 0.9), rgba(0, 76, 69, 0.9)) !important;
  background-size: cover, 80%;
  background-position: center, center;
  background-repeat: no-repeat;
  padding: 100px max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  color: #fff;
  min-height: 350px;
  display: flex;
  align-items: center;
}

.insight-hero-container {
  max-width: 1100px !important;
  margin: 0 auto;
  width: 100%;
}

.insight-category-tag {
  color: #77DD77;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.insight-date-top {
  color: #77DD77;
  font-size: 13px;
  display: block;
  margin-bottom: 25px;
}

/* .insight-single-title {
  font-size: 2.8rem;
  line-height: 1.2;
  max-width: 900px;
  margin: 0;
} */

.insight-main-content {
  padding: 80px 20px !important;
  background: #fff;
}

.insight-inner-container {
  max-width: 750px;
  /* Narrower for better readability with smaller font */
  margin: 0 auto;
}

.insight-main-image {
  margin-bottom: 60px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.insight-main-image img {
  width: 100%;
  height: auto;
  display: block;
}

.insight-article-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: -19px;
  text-align: justify;
}

.insight-article-body p {
  margin-bottom: 20px;
}

.insight-article-body h2,
.insight-article-body h3 {
  color: #004C45;
  margin-top: 50px;
  margin-bottom: 25px;
}

.insight-article-body ul,
.insight-article-body ol {
  margin-bottom: 30px;
  padding-left: 25px;
  /* Fix alignment */
}

.insight-article-body li {
  margin-bottom: 6px;
  padding-left: 5px;
}

.insight-contact-section {
  margin-top: 60px;
}

.contact-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 30px;
}

.insight-contact-card {
  display: flex;
  background: #f8f9f8;
  padding: 0;
  align-items: stretch;
  position: relative;
  max-width: 100%;
  transition: all 0.3s ease;
}

.contact-card-photo {
  flex: 0 0 240px;
  min-height: 240px;
  height: auto;
}

.contact-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-card-info {
  padding: 40px 60px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-card-info h4 {
  color: #004C45;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.contact-rank {
  font-size: 14px;
  color: #161616;
  margin-bottom: 8px;
}

.contact-line {
  width: 55px;
  height: 3px;
  background: #77DD77;
  margin-top: 8px;
  margin-bottom: 15px;
  transform: scaleX(0) !important;
  transform-origin: left !important;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
}

.contact-loc {
  font-size: 13px;
  color: #333;
  font-weight: 600;
  margin-top: auto;
}


.contact-card-arrow {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: all 0.3s ease;
}

.contact-card-arrow:hover {
  border-color: #004C45;
  color: #004C45;
}

.contact-card-arrow svg {
  width: 14px;
  height: 14px;
}

.related-insights-section {
  padding: 30px 20px !important;
}

.related-container {
  max-width: 1076px !important;
  margin: 0 auto;
}

.related-title-underline {
  font-size: 28px;
  color: #004C45;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 15px;
  text-align: center;
}

.related-title-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 50px;
  height: 3px;
  background: #77DD77;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
}

.related-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 1024px) {
  .insight-single-title {
    font-size: 2.2rem;
  }

  .related-insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* No padding overrides needed â€” max() formula handles alignment automatically */
  .related-insights-section {
    padding: 30px 40px !important;
  }

  .filters-section {
    padding: 40px 40px !important;
  }

  .insights-grid-section {
    padding: 20px 40px 80px !important;
  }
}

@media (max-width: 768px) {
  .insight-single-hero {
    padding: 60px 20px !important;
    background-size: cover, 150%;
  }

  .insight-main-content {
    padding: 40px 20px !important;
  }

  .insight-article-body {
    text-align: left;
  }

  .insight-contact-card {
    flex-direction: column;
    text-align: left;
    background: #f8f9f8;
    position: relative;
  }

  .contact-card-photo {
    flex: none;
    width: 100%;
    height: 280px;
  }

  .contact-card-info {
    padding: 30px;
    position: relative;
    min-height: 250px;
  }

  .contact-card-arrow {
    top: 310px;
    right: 25px;
  }

  .contact-line {
    margin: 8px 0 15px;
  }

  .contact-loc {
    margin-top: auto;
  }

  .related-insights-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== INSIGHTS HERO SECTION ===== */
.insights-hero {
  background: var(--primary-teal);
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 350px;
}

.insights-hero .hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.3);
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
}

.insights-hero .hero-content {
  position: relative;
  z-index: 2;
  align-items: center !important;
  text-align: center !important;
}

.insights-hero .hero-tag {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: inline-block;
}

.insights-hero .hero-tag-line {
  width: 50px;
  height: 3px;
  background: var(--accent-green);
  margin: 0 auto 20px;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
}

.insights-hero .hero-content h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

/* ============================================================
   TEAM PAGE STYLES
   ============================================================ */
/* Custom modifiers for Team Page Hero */
.team-page-hero-section {
  height: 350px !important;
  min-height: 350px !important;
}

.team-page-hero-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
}

.team-page-hero-title {
  text-align: center !important;
  margin: 0 auto !important;
  width: 100% !important;
  display: block !important;
}

.team-page-hero-subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 18px !important;
  max-width: 700px !important;
  margin: 15px auto 0 !important;
  line-height: 1.6 !important;
  text-align: center !important;
  display: block !important;
}

.team-hero {
  background-color: var(--primary-teal);
  position: relative;
  overflow: hidden;
  padding: 100px 24px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  text-align: center;
}

.team-hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.team-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-teal);
  opacity: 0.94;
  z-index: 1;
  pointer-events: none;
}

.team-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.team-hero-container h1 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
  line-height: 1.2;
}

.team-hero-container p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-member-card {
  background: #fff;
  border: 1.5px solid #004C45;
  border-radius: 4px;
  padding: 10px;
  border: 1px solid #004C45;
  border-radius: 8px;
  padding: 15px;
  text-align: left;
}

.team-member-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-teal);
  margin: 0 0 5px 0;
  transition: color 0.3s ease;
}

.team-member-role {
  font-size: 16px;
  color: #555555;
  margin: 0;
  font-weight: 500;
}

.team-member-line {
  width: 40px;
  height: 3px;
  background-color: var(--accent-green);
  margin: 12px 0 10px 0;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left !important;
  will-change: transform;
}

/* Scroll Draw-in animation */
.revealed .team-member-line,
.revealed.team-member-line,
.team-member-card.revealed .team-member-line,
.revealed .member-hero-line,
.revealed.member-hero-line {
  animation: teamLineDraw 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
}

@keyframes teamLineDraw {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.team-member-expertise {
  font-size: 14.5px;
  color: #6a6464;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 8px;
}

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

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

  .team-hero-container h1 {
    font-size: 28px;
  }

  .team-cta-container h2 {
    font-size: 28px;
  }
}

/* Team Page CTA Gap Fix */
.team-page-content .nusantara-cta-section {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

.team-page-content .nusantara-cta-section h2,
.team-page-content .nusantara-cta-section .cta-title {
  margin-top: 0 !important;
}

@media (max-width: 1024px) {
  .team-page-content .nusantara-cta-section {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }
}

@media (max-width: 768px) {
  .team-page-content .nusantara-cta-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
}

/* Team Box Responsive Fix */
@media (max-width: 1024px) {
  .team-member-photo img {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 768px) {
  .team-member-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

.team-member-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.team-member-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.team-member-info {
  padding: 15px 0 5px 0;
  text-align: left;
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Padding below Team Page Content */
.team-page-content {
  padding-bottom: 80px;
}

/* ============================================================
   SINGLE TEAM MEMBER DETAILS PAGE
============================================================ */

.team-member-detail-page {
  background: #ffffff;
}

/* Hero Section */
.team-member-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
  padding-left: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  padding-right: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  display: flex;
  align-items: center;
  min-height: 380px;
}

.team-member-hero-watermark {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: right -50% center;
  background-size: auto 180%;
  opacity: 0.08;
  pointer-events: none;
}

.team-member-hero-watermark.custom-hero-bg {
  /* Inherits right-aligned position and size from .team-member-hero-watermark */
  opacity: 0.08 !important;
}

.team-member-hero-container {
  width: 100%;
  position: relative;
  z-index: 2;
}

.team-member-hero-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.team-member-hero-photo {
  flex: 0 0 280px;
  max-width: 280px;
  height: 340px;
  border: 4px solid #ffffff;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.member-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.member-hero-img-fallback-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8ecea;
}

.team-member-hero-info {
  flex: 1;
  text-align: left;
}

.member-name {
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0 !important;
  line-height: 1.2;
}

.member-role {
  font-size: 18px;
  font-weight: 500;
  color: var(--accent-green);
  /* Accent light green #77DD77 */
  margin: 0 0 15px 0 !important;
}

.member-hero-line {
  width: 50px;
  height: 3px;
  background-color: var(--accent-green);
  margin-bottom: 25px;
  transform: scaleX(0);
  transform-origin: left !important;
  will-change: transform;
}

.member-headline {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 12px 0 !important;
}

.member-subheadline {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 0 30px 0 !important;
}

/* Button */
a.btn-speak {
  display: inline-block !important;
  background-color: #77DD77 !important;
  color: #004C45 !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 28px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  border: none !important;
  transition: all 0.3s !important;
}

a.btn-speak:hover {
  background-color: #ffffff !important;
  color: #004C45 !important;
}

/* Content Details Section */
.team-member-details-content {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
  padding-left: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  padding-right: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  background: #ffffff;
}

.team-member-details-container {
  width: 100%;
}

.team-member-details-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 60px;
}

/* BIO Column */
.team-member-bio-col {
  text-align: left;
}

.details-section-title {
  font-size: 32px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 25px !important;
  position: relative;
  padding-bottom: 0;
  text-transform: uppercase;
}

.details-section-title::after {
  content: none !important;
  /* Remove generic underline style from theme */
}

.team-insights-title {
  font-size: 32px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 30px;
}

.member-bio-text {
  font-size: 15.5px;
  line-height: 1.8;
  color: #444444;
}

.member-bio-text p {
  margin-bottom: 25px;
}

/* Sidebar Column */
.team-member-sidebar-col {
  text-align: left;
}

.team-member-sidebar-card {
  background: #ffffff;
  border: 1.5px solid #004C45;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 76, 69, 0.03);
}

.sidebar-section {
  margin-bottom: 35px;
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 18px !important;
}

/* Country Pill */
.country-pill-wrapper {
  display: flex;
}

.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--primary-teal);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 76, 69, 0.15);
}

.country-name {
  line-height: 1;
}

/* Expertise Pills */
.expertise-pills-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}

.expertise-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
  box-sizing: border-box;
}

.primary-pill {
  background-color: var(--primary-teal);
  color: #ffffff !important;
  border: 1.5px solid var(--primary-teal);
}

.outline-pill {
  background-color: #ffffff;
  color: var(--primary-teal) !important;
  border: 1.5px solid var(--primary-teal);
}

.outline-pill:hover {
  background-color: var(--primary-teal);
  color: #ffffff !important;
}

.pill-svg-icon {
  width: 16px;
  height: 16px;
}

img.expertise-menu-icon {
  filter: brightness(0) saturate(100%) invert(24%) sepia(50%) saturate(1116%) hue-rotate(139deg) brightness(94%) contrast(102%);
  transition: filter 0.3s ease;
}

.expertise-pill:hover img.expertise-menu-icon,
.primary-pill img.expertise-menu-icon {
  filter: brightness(0) invert(1);
}

/* Make grid card link styling clean */
a.team-member-card {
  text-decoration: none !important;
  color: inherit !important;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

a.team-member-card:hover {
  box-shadow: 0 12px 30px rgba(0, 76, 69, 0.12);
}

/* Responsive Styles */
@media (max-width: 1200px) and (min-width: 768px) {
  .team-member-hero-watermark {
    background-position: right -10% center !important;
    background-size: auto 130% !important;
  }
}

@media (max-width: 991px) {
  .team-member-hero-photo {
    flex: 0 0 220px;
    max-width: 190px;
    height: auto;
    aspect-ratio: 4/5;
  }

  .team-member-hero-flex {
    gap: 30px;
  }

  .member-name {
    font-size: 30px;
  }

  .member-role {
    font-size: 16px;
  }

  .member-headline {
    font-size: 22px;
  }

  .member-subheadline {
    font-size: 14px;
  }

  .team-member-details-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 767px) {
  .team-member-hero {
    padding: 50px 20px !important;
  }

  .team-member-hero-flex {
    flex-direction: column;
    gap: 35px;
    align-items: flex-start;
    text-align: left;
  }

  .team-member-hero-watermark {
    background-position: center center !important;
    background-size: 150% !important;
  }

  .team-member-hero-info {
    text-align: left;
  }

  .member-hero-line {
    margin-left: 0;
  }

  .team-member-hero-photo {
    flex: 0 0 auto;
    width: 100%;
    max-width: 260px;
    height: auto;
    aspect-ratio: 4/5;
    margin: 0;
  }

  .team-member-details-content {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  .member-name {
    font-size: 28px;
  }

  .member-headline {
    font-size: 20px;
  }

  .team-member-sidebar-card {
    padding: 30px 25px;
  }

  .details-section-title {
    font-size: 24px;
    margin-bottom: 20px !important;
  }

  .team-insights-title {
    font-size: 24px;
    margin-bottom: 25px;
  }
}

/* ===== MEGAMENU CSS OVERRIDE ===== */
.has-dropdown {
  position: relative;
}

.nav-links>li {
  height: 45px;
  display: flex;
  align-items: center;
}

.megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
  padding: 40px 20px;
  border-top: 1px solid rgba(0, 77, 64, 0.1);
  cursor: default;
}

@media (min-width: 1025px) {
  .megamenu>* {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
}

.nav-links>li:hover .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.megamenu-title {
  color: #666;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-align: center;
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 40px !important;
  align-content: start !important;
  list-style: none;
  padding: 0;
  margin: 0;
}

.megamenu-grid li {
  margin: 0 !important;
  padding: 0 !important;
  min-height: auto !important;
}

.megamenu-grid li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: #333;
  text-decoration: none !important;
  font-size: 13.5px;
  font-weight: 400;
  text-transform: capitalize !important;
  letter-spacing: normal;
  transition: color 0.2s;
  line-height: 1 !important;
  border: none !important;
  padding: 10px 0 !important;
  height: auto !important;
  white-space: nowrap;
}

.megamenu-grid li a:hover {
  color: #004C45 !important;
  padding-left: 0 !important;
}

.megamenu-grid li a svg,
.megamenu-grid li a img {
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0;
  color: #004C45;
  margin: 0;
  display: inline-block;
  margin-bottom: -5px !important;
}

.megamenu-grid li a img:not([alt="China Flag"]) {
  filter: brightness(0) saturate(100%) invert(24%) sepia(50%) saturate(1116%) hue-rotate(139deg) brightness(94%) contrast(102%);
}

.megamenu-grid li a::before {
  display: none !important;
}

.desks-section {
  margin-top: 30px;
}

@media (max-width: 1100px) {
  .megamenu {
    padding: 40px;
  }
}


/* FORCE MEGAMENU FULL WIDTH */
nav,
.nav-links,
.nav-links li.solutions-tab {
  position: static !important;
}

.megamenu-grid li a img {
  transform: none !important;
}


.megamenu {
  left: 0 !important;
  width: 100% !important;
}


.nav-links {
  flex-grow: 1;
  justify-content: flex-start;
  padding-left: 25px;
}

.nav-links>li:first-child {
  margin-left: auto;
}

.dfdl-locations-tab {
  margin-left: auto;
}

/* ===== MOBILE MENU FIXES ===== */
@media (max-width: 1024px) {
  .nav-mobile-menu.open {
    max-height: 85vh !important;
    overflow-y: auto !important;
  }

  .nav-mobile-menu .nav-links>li {
    height: auto !important;
    flex-direction: column;
    align-items: flex-start;
    position: relative !important;
  }

  .nav-mobile-menu ul li a {
    width: 100%;
  }

  .nav-mobile-menu .megamenu,
  .nav-mobile-menu .sub-menu,
  .nav-mobile-menu .sub-menu.single-column {
    display: none !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    padding: 15px 30px !important;
    border: none !important;
    width: 100% !important;
    background: #ffffff !important;
  }

  .nav-mobile-menu .active>.megamenu {
    display: block !important;
  }

  .nav-mobile-menu .active>.sub-menu {
    display: grid !important;
  }

  .nav-mobile-menu .menu-item-has-children>a::after,
  .nav-mobile-menu .dfdl-locations-tab>a::after,
  .nav-mobile-menu .has-dropdown::after {
    display: none !important;
  }

  .nav-mobile-menu .mobile-dropdown-toggle {
    position: absolute;
    right: 15px;
    top: 8px;
    font-size: 24px;
    padding: 5px 15px;
    cursor: pointer;
    color: #004C45;
    transition: transform 0.3s;
    line-height: 1;
    z-index: 10;
  }

  .nav-mobile-menu .active>.mobile-dropdown-toggle {
    transform: rotate(180deg);
  }

  .nav-mobile-menu .nav-links>li {
    height: auto !important;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
  }

  .nav-mobile-menu .megamenu-grid,
  .nav-mobile-menu .sub-menu {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .nav-mobile-menu .sub-menu li a {
    white-space: normal !important;
    padding: 15px 20px !important;
    border-bottom: none !important;
    justify-content: flex-start !important;
    background-color: #d6e7e49e !important;
    border-radius: 4px !important;
    color: #333 !important;
    display: flex !important;
    align-items: center !important;
    font-size: 13px !important;
  }

  .nav-mobile-menu .megamenu-grid,
  .nav-mobile-menu .has-megamenu .sub-menu {
    gap: 10px !important;
  }

  .nav-mobile-menu .megamenu-grid li a,
  .nav-mobile-menu .has-megamenu .sub-menu li a {
    white-space: normal !important;
    padding: 15px 20px !important;
    border-bottom: none !important;
    justify-content: flex-start !important;
    background-color: #f4f7f6 !important;
    border-radius: 4px !important;
    color: #333 !important;
    display: flex !important;
    align-items: center !important;
    font-size: 13px !important;
  }

  .nav-mobile-menu .megamenu-grid li a img,
  .nav-mobile-menu .has-megamenu .sub-menu li a img,
  .nav-mobile-menu .sub-menu li a img {
    margin-right: 15px !important;
    margin-bottom: 0 !important;
  }

  /* Removed .sub-menu.single-column li a override */

  .nav-mobile-menu .megamenu-title,
  .nav-mobile-menu .megamenu-title a,
  .nav-mobile-menu .sub-menu li.megamenu-title a,
  .nav-mobile-menu .sub-menu li a.megamenu-title,
  .nav-mobile-menu .sub-menu li.menu-section-title a,
  .nav-mobile-menu .sub-menu li a.menu-section-title,
  .nav-mobile-menu .sub-menu li.desk-title a,
  .nav-mobile-menu .sub-menu li a.desk-title,
  .nav-mobile-menu .sub-menu li#menu-item-429>a,
  .nav-mobile-menu .megamenu-grid li.megamenu-title a,
  .nav-mobile-menu .megamenu-grid li a.megamenu-title {
    margin-bottom: 10px !important;
    text-align: left !important;
    background-color: transparent !important;
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #666 !important;
    text-transform: uppercase !important;
    display: block !important;
    border-radius: 0 !important;
  }
}

:root :where(.is-layout-constrained)>* {
  margin-block-start: -3px !important;
}

/* ===== SEARCH RESULTS PAGE ===== */
.search-results-section {
  min-height: 400px;
}

.search-meta {
  margin-bottom: 40px;
  font-size: 15px;
  color: #666;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  border-bottom: 1px solid rgba(0, 77, 64, 0.08);
  padding-bottom: 20px;
}

.search-meta-count {
  font-weight: 500;
  color: #004C45;
}


.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.search-result-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 77, 64, 0.08);
  border-radius: 8px;
  padding: 25px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.search-result-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 77, 64, 0.2) !important;
  box-shadow: 0 8px 25px rgba(0, 76, 69, 0.08) !important;
}

.search-result-card .card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.search-result-card .result-badge {
  background: rgba(0, 76, 69, 0.08);
  color: #004C45;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-result-card .result-date {
  font-size: 12px;
  color: #888;
}

.search-result-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #004C45;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.3s;
}

.search-result-card:hover h3 {
  color: #77DD77 !important;
}

.search-result-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-result-card .read-more-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #004C45;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-result-card .read-more-arrow {
  transition: transform 0.3s;
}

.search-result-card:hover .read-more-arrow {
  transform: translateX(4px);
}

/* ===== NO RESULTS FOUND ===== */
.search-no-results {
  grid-column: 1 / -1;
  text-align: center;
}

.search-no-results svg.no-results-icon {
  width: 64px;
  height: 64px;
  color: rgba(0, 76, 69, 0.3);
  margin-bottom: 20px;
  display: inline-block;
}

.search-no-results h2 {
  font-size: 24px;
  font-weight: 700;
  color: #004C45;
  margin-bottom: 15px;
}

.search-no-results p {
  color: #fff;
  max-width: 500px;
  margin: 0 auto 30px;
}

.search-no-results form.no-results-search-form {
  max-width: 500px;
  margin: 0 auto;
}

.search-no-results .no-results-search-group {
  display: flex;
  gap: 10px;
  background: #f4f7f6;
  border: 1px solid rgba(0, 77, 64, 0.15);
  border-radius: 6px;
  padding: 4px 15px;
}

.search-no-results .no-results-search-input {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: 12px 0;
  font-size: 15px;
  outline: none;
}

.search-no-results .no-results-search-submit {
  background: none;
  border: none;
  color: #004C45;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide default webkit search cancel button (blue cross) */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  display: none;
}

/* ===== SEARCH RESULTS RESPONSIVE ===== */
@media (max-width: 767px) {
  .search-results-section {
    margin: 40px auto;
    padding: 0 15px;
  }

  .search-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
  }

  .search-results-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .search-result-card {
    padding: 20px;
  }

  .search-no-results h2 {
    font-size: 20px;
  }

  .search-no-results .no-results-search-group {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 15px;
  }

  .search-no-results .no-results-search-input {
    background: #f4f7f6;
    border: 1px solid rgba(0, 77, 64, 0.15);
    border-radius: 6px;
    padding: 12px 15px;
    width: 100%;
  }

  .search-no-results .no-results-search-submit {
    background: #004C45;
    color: #fff;
    border-radius: 6px;
    padding: 12px;
    width: 100%;
  }

}

body.search-no-results .nav-mobile-menu {
  align-items: flex-start !important;
  text-align: left !important;
}

body.search-no-results .nav-mobile-menu .nav-links {
  width: 100%;
}

body.search-no-results .nav-mobile-menu .nav-links li,
body.search-no-results .nav-mobile-menu .nav-links li a,
body.search-no-results .nav-mobile-menu>a {
  text-align: left !important;
  justify-content: flex-start !important;
  align-self: flex-start !important;
}

body.search-no-results .nav-mobile-menu .nav-links li a {
  padding-left: 20px !important;
}

body.search-no-results .nav-mobile-menu>a {
  margin-left: 7px !important;
}

.sub-categories-wrapper {
  display: none;
  align-items: center;
  gap: 0px;
  flex-wrap: wrap;
}

.sub-tab-btn {
  background: none !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #004C45 !important;
  cursor: pointer !important;
  padding: 10px 24px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s !important;
  border-radius: 25px !important;
  opacity: 0.7;
}

.sub-tab-btn:hover {
  opacity: 1;
}

.sub-tab-btn.active {
  background: #b0c9c3 !important;
  /* light teal/green background */
  color: #004C45 !important;
  opacity: 1;
}

/* ===== BREADCRUMB STYLING ===== */
.breadcrumb {
  font-size: 14px !important;
  color: #777 !important;
  margin-bottom: 20px !important;
}

.breadcrumb-link {
  color: #777 !important;
  text-decoration: none !important;
  transition: color 0.3s !important;
}

.breadcrumb-link:hover {
  color: #004C45 !important;
  text-decoration: none !important;
}

.breadcrumb-tab-link {
  color: #777 !important;
  text-decoration: none !important;
  transition: color 0.3s !important;
  font-weight: normal !important;
}

.breadcrumb-tab-link:hover {
  color: #004C45 !important;
  text-decoration: none !important;
}

#active-tab-name {
  font-weight: 700 !important;
  color: #333 !important;
}

/* ===== TABLE / CALLOUT BOX STYLING FOR SINGLE INSIGHTS ===== */
.insight-article-body .wp-block-table {
  margin: 24px 0 !important;
}

.insight-article-body table {
  width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  margin: 0 !important;
  background-color: #f4f7f6 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.3s ease !important;
}

.insight-article-body table th,
.insight-article-body table td {
  text-align: left;
  border: none !important;
}

.insight-article-body table th {
  padding: 18px 24px 12px 24px !important;
  background-color: #e5eeec;
  color: var(--primary-teal);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #d0dfdc !important;
}

.insight-article-body table td {
  padding: 12px 24px 18px 24px !important;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ===== SINGLE INSIGHT LINKS STYLING ===== */
.insight-article-body a {
  color: var(--primary-teal) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.insight-article-body a:hover {
  color: #1b8b6a !important;
  border-bottom-color: #1b8b6a !important;
}

/* ===== INSIGHTS SLIDER ===== */
.insights-slider-wrapper {
  position: relative;
  width: 100%;
}

.insights-slider-wrapper .insights-grid {
  display: flex !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  gap: 30px !important;
  /* Match original grid gap */
  padding-top: 15px !important;
  /* Allow room for hover transform */
  padding-bottom: 50px !important;
  /* Allow room for hover box-shadow */
  margin-bottom: -35px !important;
  /* Offset the extra padding */
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch !important;
}

.insights-slider-wrapper .insights-grid::-webkit-scrollbar {
  display: none !important;
}

.insights-slider-wrapper .insight-card {
  flex: 0 0 calc(33.333333% - 20px) !important;
  /* Exactly 3 cards with 30px gaps */
  scroll-snap-align: start !important;
  max-width: none !important;
}

.insights-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.insights-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5d1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.insights-slider-dot.active {
  background-color: #004C45;
  transform: scale(1.2);
}

@media (max-width: 1024px) {
  .insights-slider-wrapper .insights-grid {
    gap: 20px !important;
  }

  .insights-slider-wrapper .insight-card {
    flex: 0 0 calc(50% - 10px) !important;
  }
}

@media (max-width: 600px) {
  .insights-slider-wrapper .insights-grid {
    gap: 16px !important;
  }

  .insights-slider-wrapper .insight-card {
    flex: 0 0 100% !important;
  }
}

/* ===== SPLIT HERO INSIGHTS ===== */
.insight-split-hero {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 450px !important;
  background: var(--primary-teal) !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
  box-sizing: border-box !important;
  align-items: stretch !important;
}

.insight-split-hero.wp-block-group {
  padding: 0 !important;
}

.insight-split-hero>.wp-block-group__inner-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  gap: 0 !important;
  box-sizing: border-box !important;
  align-items: stretch !important;
}

.split-hero-left {
  flex: 0 0 50% !important;
  padding: 80px 4% 60px max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  display: flex !important;
  flex-direction: column !important;
  background: var(--primary-teal) !important;
  color: var(--text-white) !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.split-hero-right {
  flex: 0 0 50% !important;
  margin: 0 !important;
  width: 50% !important;
  min-height: 100% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.split-hero-right img {
  object-fit: cover !important;
}

.split-hero-content {
  max-width: 550px;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.insight-category-wrap {
  margin-bottom: 20px;
}

.insight-category-tag {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  letter-spacing: 0.5px;
}

.insight-category-tag::after {
  content: '';
  display: block;
  transform: scaleX(0);
  transform-origin: left;
  width: 50px;
  height: 3px;
  background: #77DD77;
  margin-top: 10px;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
}

.insight-single-title {
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #fff !important;
  margin-bottom: 19px !important;
}

.insight-hero-excerpt {
  margin-bottom: 4px !important;
  text-align: left !important;
}

.insight-hero-excerpt p {
  font-size: 0.85rem !important;
  line-height: 1.6 !important;
  color: var(--text-white) !important;
  opacity: 0.8 !important;
  margin: 0 !important;
  text-align: left !important;
}

.insight-hero-meta-author {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: nowrap;
  margin-top: auto;
  padding-top: 40px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.insight-hero-meta-author::-webkit-scrollbar {
  display: none;
}

.hero-author-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero-author-img {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  margin: 0 !important;
  flex-shrink: 0;
}

.hero-author-img img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.hero-author-text {
  display: flex;
  flex-direction: column;
}

.hero-author-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-white);
}

.hero-author-role {
  font-size: 13px;
  color: var(--text-white);
  opacity: 0.7;
}

.hero-meta-divider {
  width: 1px;
  height: 30px;
  background: var(--text-white);
  opacity: 0.3;
}

.hero-meta-time,
.hero-meta-share {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-white);
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.hero-meta-time:hover,
.hero-meta-share:hover {
  opacity: 1;
}

.hero-meta-icon,
.hero-meta-icon img {
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  object-fit: contain;
  flex-shrink: 0 !important;
}

@media (max-width: 1024px) {
  .insight-split-hero {
    flex-direction: column !important;
  }

  .insight-split-hero > .wp-block-group__inner-container {
    flex-direction: column !important;
  }

  .split-hero-left {
    flex: 0 0 100% !important;
    padding: 60px 20px !important;
  }

  .split-hero-right {
    display: none !important;
  }

  .split-hero-content {
    max-width: 100% !important;
  }

  .insight-single-title {
    font-size: 28px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
}

@media (max-width: 768px) {
  .split-hero-left {
    padding: 45px 20px !important;
  }

  .insight-single-title {
    font-size: 24px !important;
  }
}

@media (max-width: 480px) {
  .split-hero-left {
    padding: 35px 15px !important;
  }

  .insight-single-title {
    font-size: 34px !important;
  }
}


/* Insight Table Specific Design */
.video-insight-table,
.video-insight-template .insight-article-body table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 40px 0 !important;
}

.video-insight-table th,
.video-insight-template .insight-article-body table th {
  background-color: var(--primary-teal) !important;
  color: var(--text-white) !important;
  font-weight: 600 !important;
  padding: 15px 20px !important;
  border: 1px solid var(--text-white) !important;
}

.video-insight-table td,
.video-insight-template .insight-article-body table td {
  background-color: var(--text-white) !important;
  color: var(--text-dark) !important;
  padding: 15px 20px !important;
  border: 1px solid #ddd !important;
  font-size: 14px !important;
}

/* ===== VIDEO INSIGHTS WHY CONVERSATION SECTION ===== */
.video-insights-why {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

.video-why-boxes {
  display: flex;
  flex-wrap: nowrap;
  margin-top: 40px;
}

.video-why-box {
  flex: 1 1 16.666%;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
}

.video-why-box-dark {
  background-color: #01433a;
  color: #ffffff;
}

.video-why-box-light {
  background-color: #b9cfcc;
  color: #01433a;
}

.video-why-box-dark h4,
.video-why-box-light h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.video-why-box-dark p,
.video-why-box-light p {
  font-size: 15px;
  margin-bottom: 0;
  line-height: 1.5;
  color: inherit;
}

@media (max-width: 1024px) {
  .video-why-boxes {
    flex-wrap: wrap;
  }

  .video-why-box {
    flex: 1 1 33.333%;
  }
}

@media (max-width: 768px) {
  .video-why-box {
    flex: 1 1 50%;
  }
}

@media (max-width: 480px) {
  .video-why-box {
    flex: 1 1 100%;
  }
}

/* ===== VIDEO INSIGHTS SECTIONS ===== */
.video-insights-why,
.video-misunderstood-section,
.video-practical-section,
.video-sequence-section,
.video-details-section,
.ma-legal-tax-section {
  max-width: 1100px !important;
  margin: 30px auto !important;
  padding: 0 20px !important;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  width: 100% !important;
  box-sizing: border-box !important;
}

.video-quote-section {
  max-width: 1061px !important;
  padding: 0 20px !important;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  width: 100% !important;
  box-sizing: border-box !important;
}

.video-insights-why h2 {
  color: #004C45 !important;
  font-size: clamp(24px, 3vw, 32px) !important;
  margin-bottom: 20px !important;
  font-weight: 700 !important;
}

.video-insights-why p {
  font-size: 0.95rem !important;
  color: #4a4a4a !important;
  margin-bottom: 20px !important;
  line-height: 1.6 !important;
}

.video-why-boxes {
  display: flex !important;
  flex-wrap: nowrap !important;
  margin-top: 40px !important;
  width: 100% !important;
  gap: 0 !important;
}

.video-why-box {
  flex: 1 1 16.666% !important;
  padding: 25px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

.video-why-box-dark {
  background-color: #01433a !important;
  color: #ffffff !important;
}

.video-why-box-light {
  background-color: #b9cfcc !important;
  color: #01433a !important;
}

.video-why-box-dark h4,
.video-why-box-light h4 {
  font-size: 15px !important;
  font-weight: 700 !important;
  margin-bottom: -17px !important;
  color: inherit !important;
}

.video-why-box-dark p,
.video-why-box-light p {
  font-size: 14px !important;
  margin-bottom: 0 !important;
  line-height: 1.5 !important;
  color: inherit !important;
}

@media (max-width: 1024px) {
  .video-why-boxes {
    flex-wrap: wrap !important;
  }

  .video-why-box {
    flex: 1 1 33.333% !important;
  }
}

@media (max-width: 768px) {
  .video-why-box {
    flex: 1 1 50% !important;
  }
}

@media (max-width: 480px) {
  .video-why-box {
    flex: 1 1 100% !important;
  }
}

.video-why-boxes {
  display: flex !important;
  flex-wrap: nowrap !important;
  margin-top: 40px !important;
  width: 100% !important;
  gap: 0 !important;
  align-items: stretch !important;
  /* Force equal height */
}

.video-why-box {
  flex: 1 1 16.666% !important;
  padding: 20px 15px !important;
  /* Slightly tighter padding to match design */
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  /* Remove Gutenberg default margins */
  border-radius: 0 !important;
  /* Ensure no rounded corners */
}

.video-why-box-dark {
  background-color: #01433a !important;
  color: #ffffff !important;
}

.video-why-box-light {
  background-color: #c9d6d3 !important;
  /* Adjusted light color to match PDF better */
  color: #01433a !important;
}

@media (max-width: 1024px) {
  .video-why-boxes {
    flex-wrap: wrap !important;
  }

  .video-why-box {
    flex: 1 1 33.333% !important;
  }
}

@media (max-width: 768px) {
  .video-why-box {
    flex: 1 1 50% !important;
  }
}

@media (max-width: 480px) {
  .video-why-box {
    flex: 1 1 100% !important;
  }
}

@media (max-width: 1024px) {
  .video-why-boxes {
    flex-wrap: wrap !important;
  }

  .video-why-box {
    flex: 1 1 50% !important;
    /* Force 2 columns from 1024px down */
  }

  /* Fix vertical merging in 2-column layout by creating a checkerboard pattern */
  .video-why-box:nth-child(3) {
    background-color: #c9d6d3 !important;
    color: #01433a !important;
  }

  .video-why-box:nth-child(4) {
    background-color: #01433a !important;
    color: #ffffff !important;
  }

  .video-why-box:nth-child(3) h4,
  .video-why-box:nth-child(3) p {
    color: #01433a !important;
  }

  .video-why-box:nth-child(4) h4,
  .video-why-box:nth-child(4) p {
    color: #ffffff !important;
  }
}

@media (max-width: 480px) {
  .video-why-box {
    flex: 1 1 100% !important;
    /* 1 column on mobile */
  }

  /* Revert the checkerboard swap for 1-column layout so they alternate vertically again */
  .video-why-box:nth-child(3) {
    background-color: #01433a !important;
    color: #ffffff !important;
  }

  .video-why-box:nth-child(4) {
    background-color: #c9d6d3 !important;
    color: #01433a !important;
  }

  .video-why-box:nth-child(3) h4,
  .video-why-box:nth-child(3) p {
    color: #ffffff !important;
  }

  .video-why-box:nth-child(4) h4,
  .video-why-box:nth-child(4) p {
    color: #01433a !important;
  }
}

/* ===== VIDEO INSIGHTS MISUNDERSTOOD SECTION ===== */

.video-misunderstood-section h2 {
  color: #01433a;
  font-size: clamp(24px, 3vw, 32px) !important;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.3;
}

.video-quick-note {
  background-color: #f2f7f4;
  border-left: 4px solid #01433a;
  padding: 25px;
  margin-bottom: 40px;
  border-radius: 6px;
}

.video-quick-note h4 {
  color: #01433a;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 0;
}

.video-quick-note p {
  font-size: 0.95rem;
  color: #4a4a4a;
  line-height: 1.6;
  margin-bottom: 0;
}

.video-misunderstood-content p {
  font-size: 0.95rem;
  color: #4a4a4a;
  line-height: 1.6;
  margin-bottom: 20px;
}

.video-misunderstood-content strong {
  color: #222;
  font-weight: 700;
}

/* Match video height to left text height */
.video-misunderstood-content {
  align-items: stretch !important;
}

.video-misunderstood-content .wp-block-column:last-child {
  display: flex !important;
  flex-direction: column !important;
}

.video-misunderstood-content .wp-block-embed {
  flex: 1 !important;
  display: flex !important;
  margin: 0 !important;
}

.video-misunderstood-content .wp-block-embed__wrapper {
  flex: 1 !important;
  position: relative !important;
  padding-bottom: 0 !important;
  height: 100% !important;
  min-height: 250px !important;
}

.video-misunderstood-content .wp-block-embed__wrapper iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* ===== VIDEO INSIGHTS: PRACTICE SECTION ===== */
.video-practice-section {
  /*   max-width: 1100px; */
  margin: -30px auto;
  padding: 0 20px;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

.video-practice-section h2 {
  color: #222;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
}

.video-practice-boxes {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px !important;
  align-items: stretch !important;
}

.video-practice-box {
  position: relative;
  background-color: #ffffff;
  border: 1.5px solid #004C45 !important;
  padding: 25px 20px;
  border-radius: 4px !important;
  display: flex;
  flex-direction: column;
}

.video-practice-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e5f0ec;
  border: 1.5px solid #004C45 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.video-practice-icon img {
  width: 27px;
  height: 32px;
  object-fit: contain;
}

.video-practice-box h4 {
  color: #01433a;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: -17px;
  margin-top: 0;
}

.video-practice-box p {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .video-practice-boxes {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 600px) {
  .video-practice-boxes {
    grid-template-columns: 1fr !important;
  }
}

.video-quote-section {
  width: calc(100% - 40px);
  max-width: 1028px;
  margin: 0 auto;
  padding: 30px 40px;
  background-color: #f1f7f5 !important;
  border-radius: 4px;
  text-align: center;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.quote-icon {
  flex: 0 0 auto;
  width: 120px;
}

.quote-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.quote-text {
  flex: 1 1 auto;
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

@media (max-width: 768px) {
  .video-quote-section {
    padding: 30px 20px;
    gap: 15px;
  }

  .quote-icon {
    width: 60px;
  }

  .quote-text {
    font-size: 16px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .video-quote-section {
    padding: 40px 40px;
  }

  .video-quote-section::before {
    font-size: 250px;
    left: -5px;
  }

  .video-quote-section::after {
    font-size: 250px;
    right: -5px;
  }

  .video-quote-section p {
    font-size: 16px;
  }
}

.hero-meta-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  margin-bottom: 0;
  display: inline-block;
  overflow: hidden;
  /* Hide the original image */
}

.hero-meta-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: translateX(-24px);
  /* Shift original image left */
  filter: drop-shadow(24px 0 0 #77DD77);
  /* Shadow perfectly covers the original space with exact color */
}

/* ===== VIDEO INSIGHTS: PRACTICAL & REGULATORY ===== */
.video-practical-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.practical-columns {
  gap: 60px;
  align-items: center !important;
}

.practical-title {
  color: #01433a;
  font-size: clamp(24px, 3vw, 32px) !important;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 0;
}

.practical-subtitle {
  color: #333333;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.practical-text {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.6;
}

.practical-cards {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: stretch !important;
}

.practical-card {
  border: 1.5px solid #004C45 !important;
  border-radius: 4px !important;
  padding: 35px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ffffff;
  height: 100%;
  box-sizing: border-box;
}

.practical-icon {
  width: 90px;
  height: 90px;
  background-color: #01433a;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.practical-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(100%) !important;
}

.practical-card-title {
  color: #333333;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: center;
}

.practical-card-text {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .practical-columns {
    flex-direction: column !important;
    gap: 40px;
    align-items: stretch !important;
  }

  .practical-columns>.wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
  }
}

@media (max-width: 600px) {
  .practical-cards {
    grid-template-columns: 1fr !important;
  }
}

/* ===== VIDEO INSIGHTS: SEQUENCE SECTION ===== */
.video-sequence-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.sequence-title {
  color: #01433a;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 50px;
  margin-top: 0;
}

.sequence-steps {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.sequence-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sequence-number {
  background-color: #01433a;
  color: #ffffff;
  font-size: 56px;
  font-weight: 400;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px auto;
  line-height: 1;
}

.sequence-text {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .sequence-steps {
    grid-template-columns: 1fr !important;
    gap: 60px;
  }
}

/* ===== VIDEO INSIGHTS: DETAILS SECTION ===== */
.video-details-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.details-title {
  color: #01433a;
  font-size: clamp(24px, 3vw, 32px) !important;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 0;
}

.details-subtitle {
  color: #333333;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.details-text {
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 50px;
}

.details-cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch !important;
}

.details-card {
  border-radius: 4px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.details-card-interactive {
  background-color: #f1f7f5;
  border-top: 6px solid #01433a;
  cursor: default;
}

.details-card-interactive .details-card-title {
  color: #01433a;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 0;
}

.details-card-interactive .details-card-text {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Hover State */
.details-card-interactive:hover {
  background-color: #01433a;
  border-top: 6px solid #55b876;
}

.details-card-interactive:hover .details-card-title,
.details-card-interactive:hover .details-card-text {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {
  .details-cards {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .details-cards {
    grid-template-columns: 1fr !important;
  }
}

/* ===== MORE FROM IN PRACTICE SECTION ===== */
.practice-insights-section {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.practice-section-title {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin-bottom: 40px;
}

.practice-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.practice-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #004C45;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none !important;
  transition: all 0.3s ease;
  background: #ffffff;
  box-shadow: none;
}

.practice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.practice-card-image {
  position: relative;
  width: 100%;
  height: 160px;
}

.practice-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Image overlay tint */
.practice-card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(1, 67, 58, 0);
  transition: background-color 0.3s ease;
  z-index: 1;
}

.practice-card:hover .practice-card-image::after {
  background-color: rgba(1, 67, 58, 0.4);
}

.play-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  z-index: 2;
}

.play-icon-overlay svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.practice-card-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.practice-card-title {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px 0;
}

.practice-card-subtitle {
  color: #333;
  font-size: 13px;
  line-height: 1.4;
  margin: 0 0 15px 0;
  flex-grow: 1;
}

.practice-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.practice-time {
  font-size: 11px;
  color: #666;
  font-weight: 600;
}

.practice-share {
  color: #004C45;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.practice-card:hover .practice-share {
  opacity: 1;
}

@media (max-width: 1024px) {
  .practice-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .practice-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== VIDEO INSIGHTS SECTIONS UNIFORM SPACING ===== */
.video-insight-template .video-misunderstood-section,
.video-insight-template .video-practice-section,
.video-insight-template .video-quote-section,
.video-insight-template .video-practical-section,
.video-insight-template .video-sequence-section,
.video-insight-template .video-details-section,
.video-insight-template .practice-insights-section,
.video-insight-template .faq-section,
.video-insight-template .contact-section,
.video-insight-template .ma-legal-tax-section {
  margin-top: 0 !important;
  margin-bottom: 60px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.video-insight-template .video-quote-section {
  margin-top: -94px !important;
  margin-bottom: 60px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* First section has a top margin to space it nicely from the Split Hero */
.video-insight-template .video-insights-why {
  margin-top: 60px !important;
  margin-bottom: 60px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Practice section needs to preserve its original top gap (collapsed margin with misunderstood-section) */
.video-insight-template .video-practice-section {
  margin-top: -80px !important;
}

/* If Quote section immediately follows Practice section, pull it up to match original tight top gap */
.video-insight-template .video-practice-section+.video-quote-section {
  margin-top: -94px !important;
}

@media (max-width: 768px) {

  .video-insight-template .video-misunderstood-section,
  .video-insight-template .video-practice-section,
  .video-insight-template .video-quote-section,
  .video-insight-template .video-practical-section,
  .video-insight-template .video-sequence-section,
  .video-insight-template .video-details-section,
  .video-insight-template .practice-insights-section,
  .video-insight-template .faq-section,
  .video-insight-template .contact-section,
  .video-insight-template .ma-legal-tax-section {
    margin-bottom: 50px !important;
  }

  .video-insight-template .video-insights-why {
    margin-top: 40px !important;
    margin-bottom: 50px !important;
  }

  .video-insight-template .video-practice-section {
    margin-top: -50px !important;
  }

  .video-insight-template .video-quote-section {
    padding: 30px 20px !important;
  }
}

/* ============================================================
   CAREERS PAGE STYLES
   ============================================================ */

/* ===== CAREER HERO ===== */
.career-hero {
  display: flex !important;
  min-height: 45vh !important;
  /* Match solution hero min-height */
  align-items: stretch !important;
  background: #fff !important;
  overflow: hidden !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  gap: 0 !important;
}

/* Force inner blocks to not break flex for career hero */
.career-hero>.wp-block-group__inner-container {
  display: contents !important;
  gap: 0 !important;
}

.career-page-main .career-hero .hero-left {
  flex: 0 0 50% !important;
  padding: 40px 4% 40px max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  /* Match solution alignment */
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  background: #004C45 !important;
  /* Keep careers dark green */
}

.career-page-main .career-hero .hero-right {
  flex: 0 0 50% !important;
  min-height: 100% !important;
  padding: 0 !important;
}

.career-page-main .career-hero .hero-left h1 {
  font-size: 34px !important;
  /* Match solution/blogvideo H1 font size */
  line-height: 1.2 !important;
  margin-bottom: 12px !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.career-page-main .career-hero .hero-underline {
  width: 50px !important;
  height: 3px !important;
  background: #77DD77 !important;
  margin-bottom: 18px !important;
  flex-shrink: 0 !important;
}

.career-page-main .career-hero .hero-subtitle {
  font-size: 14px !important;
  /* Match solution hero subtitle size */
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  margin-bottom: 15px !important;
  color: #fff !important;
}

.btn-career-hero {
  margin-top: 20px !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  width: fit-content !important;
  align-self: flex-start !important;
}

.btn-career-hero .wp-block-button__link,
a.btn-career-hero {
  background-color: #77DD77 !important;
  color: #01433a !important;
  /* Match career dark green */
  padding: 12px 28px !important;
  /* Match solution button padding */
  text-decoration: none !important;
  font-size: 13.5px !important;
  /* Match solution button font-size */
  font-weight: 700 !important;
  border-radius: 4px !important;
  transition: all 0.3s !important;
  display: inline-block !important;
  border: none !important;
}

.btn-career-hero .wp-block-button__link:hover,
a.btn-career-hero:hover {
  background-color: #ffffff !important;
  /* Match solution button hover bg */
  color: #01433a !important;
  /* Match career dark green text on hover */
  transform: none !important;
  box-shadow: none !important;
}

/* ===== OPEN POSITIONS ===== */
.career-page-main .open-positions {
  background: #fff !important;
}

.career-page-main .op-title {
  color: #004C45 !important;
  font-size: clamp(22px, 3vw, 32px) !important;
  position: relative !important;
  padding-bottom: 15px !important;
  margin-bottom: 40px !important;
}

.career-page-main .op-title::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  transform: scaleX(0);
  transform-origin: left;
  width: 50px !important;
  height: 3px !important;
  background-color: #77DD77 !important;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
}

.career-page-main .op-underline {
  display: none !important;
  /* Hide the old empty div underline */
}

.positions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.position-card {
  border: 1.5px solid #004C45;
  border-radius: 8px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  background: #fff;
  text-align: left;
}

.position-title {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 14px;
  color: #000;
  position: relative !important;
  padding-bottom: 15px !important;
}

.position-title::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  transform: scaleX(0);
  transform-origin: left;
  width: 50px !important;
  height: 3px !important;
  background-color: #77DD77 !important;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
  /* Matches the card styling */
}

.position-meta {
  font-size: 13px;
  color: #004C45;
  margin-bottom: 4px;
  font-weight: 600;
}

.position-date {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}

.position-reqs-wrapper ul {
  list-style-type: none;
  padding-left: 2px;
  /* Added left padding to indent the bullets properly */
  margin-bottom: 30px;
  flex-grow: 1;
}

.position-reqs-wrapper ul li {
  font-size: 14.5px;
  color: #444343;
  line-height: 1.7;
  margin-bottom: 5px;
  position: relative;
  padding-left: 15px;
  /* Fixed text overlapping dot */
}

.position-reqs-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #01433a;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.7;
  /* Matches text line-height for center alignment */
}

.btn-apply {
  background: #004C45;
  color: #fff;
  padding: 8.5px 22.5px;
  /* Adjusted padding to offset the 1.5px border */
  border: 1.5px solid #004C45;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  align-self: flex-end;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-apply:hover {
  background: #00695c;
  border-color: #00695c;
  color: #fff;
}

/* ===== BUILD YOUR FUTURE ===== */
.career-page-main .build-future {
  margin-top: 80px !important;
  margin-bottom: 40px !important;
}

.career-page-main .build-future h3 {
  font-size: 20px !important;
  /* Standardized sub-heading size */
  font-weight: 700 !important;
  margin-bottom: 20px !important;
  color: #000 !important;
}

.career-page-main .build-future p {
  font-size: 16px !important;
  /* Match standard 16px body text font size */
  color: #333333 !important;
  /* Standard body text color */
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
}

.career-page-main .build-future p a {
  color: #004C45 !important;
  /* standard brand link color */
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.career-page-main .build-future p a:hover {
  color: #1b8b6a !important;
  text-decoration: none !important;
}

/* ===== RESPONSIVE CAREERS ===== */
@media (max-width: 1024px) {
  .career-hero {
    flex-direction: column !important;
  }

  .career-page-main .career-hero .hero-left {
    flex: 0 0 100% !important;
    width: 100% !important;
    padding-left: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
    padding-right: max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  .career-page-main .career-hero .hero-right {
    display: none !important;
  }

  .positions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .career-page-main .career-hero .hero-left {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  .career-page-main .open-positions {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  .positions-grid {
    grid-template-columns: 1fr !important;
  }

  .career-page-main .career-hero .hero-left h1 {
    font-size: 32px !important;
  }
}

/* ===== VIDEO TEMPLATE ICONS COLOR FILTER ===== */
/* Automatically forces uploaded black/gray icons to match the theme's dark green color (#004C45) */
.video-practice-icon img,
.video-practice-box img {
  filter: brightness(0) saturate(100%) invert(13%) sepia(94%) saturate(2250%) hue-rotate(159deg) brightness(91%) contrast(105%) !important;
}

/* ===== CONTACT PAGE TEMPLATE ===== */
.contact-hero {
  padding: 100px 20px 80px;
  color: #fff;
  position: relative;
}

/* Gutenberg Editor background image visibility fix */
.editor-styles-wrapper .contact-hero .wp-block-cover__background,
.editor-styles-wrapper .contact-hero .wp-block-cover__gradient-background,
.editor-styles-wrapper .contact-hero [class*="background-dim"] {
  background: linear-gradient(90deg, #004C45 40%, rgba(0, 76, 69, 0.8) 70%, rgba(0, 76, 69, 0.3) 100%) !important;
  opacity: 1 !important;
}

.contact-hero-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-hero-inner .hero-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 20px;
}

.contact-hero-inner h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  white-space: pre-line;
  max-width: 650px;
  text-align: left !important;
}

.contact-hero-inner .hero-tag-line {
  width: 60px;
  height: 3px;
  background: var(--accent-green) !important;
  border: none !important;
  margin-bottom: 40px;
  transform: scaleX(0) !important;
  transform-origin: left !important;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
}

.hero-bottom-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 40px !important;
}

.hero-bottom-row>.wp-block-group__inner-container,
.contact-hero-badges>.wp-block-group__inner-container,
.contact-hero-badges .badge>.wp-block-group__inner-container,
.contact-hero-badges .badge-text>.wp-block-group__inner-container {
  display: contents !important;
}

.hero-bottom-row .contact-hero-subtitle {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: var(--text-white) !important;
  opacity: 0.8 !important;
  margin: 0 !important;
  text-align: left !important;
  max-width: 450px !important;
}

.contact-hero-badges {
  display: flex !important;
  align-items: center !important;
  gap: 40px !important;
}

.contact-hero-badges .badge {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin: 0 !important;
}

.contact-hero-badges .badge svg,
.contact-hero-badges .badge .badge-icon {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  flex-shrink: 0;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.contact-hero-badges .badge .badge-icon img {
  width: 100% !important;
  height: 77% !important;
  object-fit: contain;
  margin: 0 !important;
  display: block;
  transform: translateX(-38px) !important;
  filter: drop-shadow(38px 0 0 #77DD77) !important;
}

.contact-hero-badges .badge-text,
.contact-hero-badges .badge-text p {
  font-size: 14px;
  line-height: 1.4;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap !important;
}

.contact-hero-badges .badge-text strong,
.contact-hero-badges .badge-text p strong {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: 0.5px;
}

.contact-main-wrapper {
  padding: 60px 20px;
}

.contact-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}

.contact-grid>.wp-block-group__inner-container {
  display: contents;
}

.contact-info-box,
.contact-form-box {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-top: 0 !important;
}

.contact-info-box h3,
.contact-form-box h3 {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin-top: 0;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: block;
}

.contact-info-box h3::after,
.contact-form-box h3::after {
  content: '';
  display: block;
  transform: scaleX(0);
  transform-origin: left;
  width: 45px;
  height: 3px;
  background: var(--accent-green);
  margin-top: 10px;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
}

.contact-info-box .info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eaeaea;
}

.contact-info-box .info-item>.wp-block-group__inner-container {
  display: contents;
}

.contact-info-box .info-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-box .office-hours-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info-box .office-hours-box>.wp-block-group__inner-container {
  display: contents;
}

.contact-info-box .info-icon,
.contact-info-box .info-item .wp-block-image {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  background: var(--primary-teal);
  border-radius: 0;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}

.contact-info-box .info-icon svg,
.contact-info-box .info-icon img,
.contact-info-box .info-item .wp-block-image img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  transform: translateX(-40px) !important;
  filter: drop-shadow(40px 0 0 #77DD77) !important;
}

.contact-info-box .info-icon-light,
.contact-info-box .office-hours-box .wp-block-image {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  background: transparent;
  border-radius: 0;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  padding-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}

.contact-info-box .info-icon-light svg,
.contact-info-box .info-icon-light img,
.contact-info-box .office-hours-box .wp-block-image img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(13%) sepia(94%) saturate(2250%) hue-rotate(159deg) brightness(91%) contrast(105%) !important;
}

.contact-info-box .info-text {
  margin-top: 0 !important;
}

.contact-info-box .info-text strong {
  display: block;
  font-size: 15px;
  color: #111;
  margin-bottom: 4px;
}

.contact-info-box .info-text p {
  font-size: 14px;
  color: #555;
  margin-top: 0 !important;
  margin-bottom: 0;
  line-height: 1.5;
}

.contact-info-box .info-text a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-box .info-text a:hover {
  color: #004C45;
}

.contact-info-box .office-hours-box {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  margin-top: 10px;
  margin-bottom: 0;
}

.ndp-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.ndp-contact-form .form-group {
  margin-bottom: 20px;
}

.ndp-contact-form br {
  display: none;
}

.ndp-contact-form .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.ndp-contact-form .form-group input,
.ndp-contact-form .form-group select,
.ndp-contact-form .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  transition: border-color 0.3s;
  background: #fff;
}

.ndp-contact-form .form-group input:focus,
.ndp-contact-form .form-group select:focus,
.ndp-contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-teal);
}

.ndp-contact-form .form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 25px;
}

.ndp-contact-form .form-checkbox input {
  margin-top: 4px;
}

.ndp-contact-form .form-checkbox label {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.ndp-contact-form .btn-submit {
  background: var(--primary-teal);
  color: #fff;
  border: 1px solid var(--primary-teal);
  padding: 14px 30px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: all 0.3s;
  position: relative;
}

.ndp-contact-form .btn-submit:hover {
  background: #00695c;
  border-color: #00695c;
  color: #fff;
}

/* Hide native CF7 spinner on the contact form */
.ndp-contact-form .wpcf7-spinner {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Loading state for the submit button */
.wpcf7-form.submitting .ndp-contact-form .btn-submit {
  color: transparent !important;
  background: #003631 !important;
  border-color: #003631 !important;
  pointer-events: none !important;
}

/* Hide SVG icon inside button when loading */
.wpcf7-form.submitting .ndp-contact-form .btn-submit svg {
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Show spinner inside button during loading */
.wpcf7-form.submitting .ndp-contact-form .btn-submit::after {
  content: "";
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  margin-left: -10px !important;
  margin-top: -10px !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-top: 2px solid #ffffff !important;
  border-radius: 50% !important;
  animation: cf7_btn_spinner 0.6s linear infinite !important;
  box-sizing: border-box !important;
}

/* Custom success/error message style for contact page */
.ndp-contact-form .wpcf7-response-output {
  margin: 20px 0 0 0 !important;
  padding: 12px 16px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  border: 1px solid transparent !important;
  box-sizing: border-box !important;
}

/* Success message styling */
.wpcf7-form.sent .ndp-contact-form .wpcf7-response-output {
  background: #e6f4ea !important;
  border-color: #34a853 !important;
  color: #137333 !important;
}

/* Error/Validation message styling */
.wpcf7-form.failed .ndp-contact-form .wpcf7-response-output,
.wpcf7-form.invalid .ndp-contact-form .wpcf7-response-output {
  background: #fce8e6 !important;
  border-color: #ea4335 !important;
  color: #c5221f !important;
  box-sizing: border-box !important;
}

/* Field validation tips */
.ndp-contact-form .wpcf7-not-valid-tip {
  color: #ea4335 !important;
  font-size: 12px !important;
  margin-top: 5px !important;
  display: block !important;
}

.form-footer-text {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-top: 20px;
}

.form-footer-text span {
  color: var(--primary-teal);
}

.contact-why-section {
  padding: 80px 20px;
}

.contact-why-section .contact-container {
  width: 100%;
  text-align: left;
}

.contact-why-section .contact-why-title {
  font-size: 23px;
  font-weight: 700;
  color: #111;
  margin-top: 0 !important;
  margin-bottom: 25px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: left !important;
  display: block !important;
  width: 100% !important;
}

.contact-why-section .contact-why-title::after {
  content: '';
  display: block;
  position: static !important;
  transform: scaleX(0);
  transform-origin: left;
  left: auto !important;
  width: 55px;
  height: 3px;
  background: var(--accent-green);
  margin-top: 12px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
}

.contact-why-section .why-grid {
  background: #e8eeec;
  border-radius: 8px;
  padding: 50px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-why-section .why-grid>.wp-block-group__inner-container {
  display: contents;
}

.contact-why-section .why-item,
.contact-why-section .why-grid>.wp-block-group__inner-container>* {
  text-align: center;
  padding: 0 15px;
  position: relative;
  display: grid !important;
  grid-template-rows: 90px min-content 1fr !important;
  align-items: start !important;
  align-content: start !important;
  margin: 0 !important;
}

.contact-why-section .why-item>.wp-block-group__inner-container,
.contact-why-section .why-grid>.wp-block-group__inner-container>*>.wp-block-group__inner-container {
  display: contents;
}

.contact-why-section .why-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(0, 76, 69, 0.15);
}

.contact-why-section .why-icon,
.contact-why-section .why-item .wp-block-image,
.contact-why-section .why-grid>.wp-block-group__inner-container>* .wp-block-image {
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
  text-align: center;
  grid-row: 1;
  align-self: end;
  overflow: hidden;
}

.contact-why-section .why-icon svg,
.contact-why-section .why-icon img,
.contact-why-section .why-item .wp-block-image img,
.contact-why-section .why-grid>.wp-block-group__inner-container>* .wp-block-image img {
  max-width: 60px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(13%) sepia(94%) saturate(2250%) hue-rotate(159deg) brightness(91%) contrast(105%) !important;
}

.contact-why-section .why-icon svg {
  stroke: var(--primary-teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-why-section .why-item h1,
.contact-why-section .why-item h2,
.contact-why-section .why-item h3,
.contact-why-section .why-item h4,
.contact-why-section .why-item h5,
.contact-why-section .why-item h6,
.contact-why-section .why-grid>.wp-block-group__inner-container>* h1,
.contact-why-section .why-grid>.wp-block-group__inner-container>* h2,
.contact-why-section .why-grid>.wp-block-group__inner-container>* h3,
.contact-why-section .why-grid>.wp-block-group__inner-container>* h4,
.contact-why-section .why-grid>.wp-block-group__inner-container>* h5,
.contact-why-section .why-grid>.wp-block-group__inner-container>* h6 {
  grid-row: 2;
  font-size: 16px;
  color: var(--primary-teal);
  font-weight: 700;
  margin-top: 0 !important;
  margin-bottom: 8px;
}

.contact-why-section .why-item p,
.contact-why-section .why-grid>.wp-block-group__inner-container>* p {
  grid-row: 3;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  margin: 0 auto !important;
  max-width: 180px;
}

@media (max-width: 900px) {
  .hero-bottom-row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .hero-bottom-row .contact-hero-subtitle {
    white-space: normal !important;
  }

  .contact-hero-inner h1 {
    font-size: 34px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-why-section .why-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .contact-why-section .why-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .contact-hero-badges {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
  }

  .ndp-contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .contact-why-section .why-grid {
    grid-template-columns: 1fr;
  }

  .contact-why-section .why-item::after {
    display: none;
  }
}

.insight-article-body .wp-block-image img {
  width: 100% !important;
  height: auto !important;
}

.insight-article-body .wp-block-image {
  margin-top: 35px !important;
  margin-bottom: 35px !important;
}

.team-member-photo {
  position: relative;
  overflow: hidden;
}

/* China Flag Badge for Team Cards (Pure Circle shape, no padding) */
.team-member-flag-badge {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  z-index: 5 !important;
  pointer-events: none !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}

.china-flag-badge-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 50% !important;
  transform: scale(1.5) translate(15%, 0) !important;
}
.team-member-photo .primary-img {
  transition: opacity 0.3s ease;
  display: block;
  width: 100%;
  height: auto;
}

.team-member-photo .hover-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member-card:hover .team-member-photo .hover-img {
  opacity: 1;
}

/* Nusantara Section Heading Margin */
.nusantara-section h2.wp-block-heading {
  margin-bottom: 30px !important;
  font-size: clamp(24px, 3vw, 32px) !important;
}

/* ===== POPUP MAKER CUSTOM PREMIUM THEME STYLES ===== */

/* 1. Backdrop Glassmorphism Overlay */
.pum-overlay {
  background-color: rgba(0, 76, 69, 0.4) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

/* 2. Premium Modal Container Styling */
.pum-container {
  background: #ffffff !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0, 76, 69, 0.1) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  padding: 30px !important;
  max-width: 480px !important;
  box-sizing: border-box !important;
}

/* 3. Title Styling */
.pum-title {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #004C45 !important;
  /* Brand dark green */
  margin-top: 0 !important;
  margin-bottom: 15px !important;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif !important;
  text-align: left !important;
}

/* 4. Sleek Close Button */
.pum-close {
  background: transparent !important;
  font-size: 0 !important;
  /* Hide "CLOSE" text */
  color: transparent !important;
  top: 15px !important;
  right: 20px !important;
  border-radius: 50% !important;
  height: 36px !important;
  width: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s ease !important;
  box-shadow: none !important;
}

.pum-close::after {
  content: '\00d7' !important;
  /* Beautiful multiplication cross (×) */
  font-size: 32px !important;
  line-height: 1 !important;
  color: #777 !important;
  display: block !important;
  transition: color 0.25s ease !important;
}

.pum-close:hover {
  background: #f0f5f4 !important;
}

.pum-close:hover::after {
  color: #004C45 !important;
}

/* 5. Contact Form 7 Fields Integration */
.pum-container .wpcf7-form {
  text-align: left !important;
}

.pum-container .wpcf7-form .form-group {
  margin-bottom: 25px !important;
  /* Spacing between the fields */
}

.pum-container .wpcf7-form p {
  margin: 0 !important;
  padding: 0 !important;
}

.pum-container .wpcf7-form br {
  display: none !important;
  /* Hides WordPress's auto-generated line breaks */
}

.pum-container .wpcf7-form label {
  display: block !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #333 !important;
  margin-bottom: 6px !important;
  /* Tight gap directly between label and input */
}

.pum-container .wpcf7-form input[type="text"],
.pum-container .wpcf7-form input[type="email"],
.pum-container .wpcf7-form textarea {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  font-size: 14.5px !important;
  background: #ffffff !important;
  color: #333 !important;
  box-sizing: border-box !important;
  transition: border-color 0.25s, box-shadow 0.25s !important;
}

.pum-container .wpcf7-form input[type="text"]:focus,
.pum-container .wpcf7-form input[type="email"]:focus,
.pum-container .wpcf7-form textarea:focus {
  outline: none !important;
  border-color: #004C45 !important;
  box-shadow: 0 0 0 3px rgba(0, 76, 69, 0.1) !important;
}

.pum-container .wpcf7-form textarea {
  height: 90px !important;
  resize: vertical !important;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif !important;
}

/* Stylized File Upload Area for Contact Form 7 */
.pum-container .wpcf7-form input[type="file"] {
  display: block !important;
  width: 100% !important;
  padding: 15px !important;
  border: 2px dashed #ccd3d1 !important;
  background-color: #fcfdfe !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  font-size: 13.5px !important;
  color: #555 !important;
}

.pum-container .wpcf7-form input[type="file"]:hover {
  border-color: #004C45 !important;
  background-color: #f3f7f6 !important;
}

/* Container of the submit button and spinner to enable perfect absolute centering */
.pum-container .wpcf7-form *:has(> input[type="submit"]) {
  position: relative !important;
  margin-top: 10px !important;
}

/* Stylized Submit Button */
.pum-container .wpcf7-form input[type="submit"] {
  width: 100% !important;
  background: #004C45 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 14px 20px !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background 0.25s, transform 0.1s !important;
  box-sizing: border-box !important;
  margin-top: 0 !important;
  /* Margin moved to parent container */
}

.pum-container .wpcf7-form input[type="submit"]:hover {
  background: #003631 !important;
}

.pum-container .wpcf7-form input[type="submit"]:active {
  transform: scale(0.98) !important;
}

/* Custom error/success messages in CF7 within Popup */
.pum-container .wpcf7-response-output {
  margin: 15px 0 0 0 !important;
  padding: 12px 16px !important;
  border-radius: 6px !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
}

.pum-container .wpcf7-not-valid-tip {
  color: #cc0000 !important;
  font-size: 12px !important;
  margin-top: 5px !important;
}

/* 6. Form Submission Spinner Override */
/* Relative positioning for the form to baseline the absolute position of the spinner */
.pum-container .wpcf7-form {
  position: relative !important;
}

/* Hide the default ajax-loader and the default wpcf7-spinner styling */
.ajax-loader,
.wpcf7 .wpcf7-spinner {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Premium Button-level Loading animation for Contact Form 7 */
.pum-container .wpcf7-form.submitting input[type="submit"] {
  background: #003631 !important;
  color: transparent !important;
  /* Hide button text during loading */
  pointer-events: none !important;
  /* Disable double clicks */
}

/* Show and style the wpcf7-spinner exactly in the center of the submit button */
.pum-container .wpcf7-form.submitting .wpcf7-spinner {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  /* Position at the vertical center of the parent container */
  margin-left: -10px !important;
  /* Half of spinner width (20px) to center horizontally */
  margin-top: -10px !important;
  /* Half of spinner height (20px) to center vertically */
  margin-bottom: 0 !important;
  z-index: 99 !important;

  /* Redefine as a rotating white circular spinner */
  background-color: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-top: 2px solid #ffffff !important;
  border-radius: 50% !important;
  width: 20px !important;
  height: 20px !important;
  animation: cf7_btn_spinner 0.6s linear infinite !important;
  /* Fast spinning animation */
  box-sizing: border-box !important;
}

@keyframes cf7_btn_spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Custom Search Team Member Card Styling */
.search-results-section h2.section-heading {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #004C45 !important;
  margin-top: 50px !important;
  margin-bottom: 25px !important;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif !important;
  border-bottom: 2px solid rgba(0, 76, 69, 0.08) !important;
  padding-bottom: 10px !important;
  width: 100% !important;
}

/* Ensure headings have uniform weight by stripping strong styling from tags inside them */
.insight-article-body h1 strong,
.insight-article-body h2 strong,
.insight-article-body h3 strong,
.insight-article-body h4 strong,
.insight-article-body .wp-block-heading strong {
  font-weight: inherit !important;
}

/* Fix Scope Panel Paragraph Margins */
.scope-panel p:first-child {
  margin-top: 0 !important;
}
.scope-panel p:last-child {
  margin-bottom: 0 !important;
}

/* ===== VIDEO INSIGHTS: M&A DISCUSSION PATTERN ===== */
.ma-discussion-section {
  width: 100% !important;
  max-width: 100% !important;
  background-color: var(--primary-teal) !important;
  color: var(--text-white) !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
}

.ma-discussion-top,
.ma-discussion-top > .wp-block-group__inner-container {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: stretch !important;
  gap: 0 !important;
}

.ma-discussion-left {
  flex: 0 0 50% !important;
  padding: 50px 4% 50px max(20px, calc((100% - 1100px) / 2 + 20px)) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.ma-discussion-right {
  flex: 0 0 50% !important;
  width: 50% !important;
  position: relative !important;
  box-sizing: border-box !important;
  align-self: stretch !important;
}

.ma-discussion-right img,
.ma-discussion-right img.wp-block-cover__image-background {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 90% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
}

.ma-discussion-title {
  font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #fff !important;
    margin-bottom: 19px !important;
}

.ma-discussion-highlight {
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: #77DD77 !important;
  margin: 0 0 16px 0 !important;
  line-height: 1.5 !important;
}

.ma-discussion-desc {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    color: var(--text-white) !important;
    opacity: 0.8 !important;
    margin: 0 !important;
    text-align: left !important;
}

.ma-discussion-bottom {
  width: 100% !important;
  background-color: var(--primary-teal) !important;
  border-top: none !important;
  padding: 30px max(20px, calc((100% - 1100px) / 2 + 20px)) 50px !important;
  box-sizing: border-box !important;
}

.editor-styles-wrapper .ma-discussion-bottom {
  padding-left: 0 !important;
}

.ma-discussion-profiles-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ma-discussion-moderator-col {
  flex: 0 0 260px !important;
}

.ma-discussion-speakers-col {
  flex: 1 !important;
}

.ma-section-label {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  color: rgba(255, 255, 255, 0.4) !important;
  text-transform: uppercase !important;
  margin: 0 0 20px 0 !important;
  border-bottom: none !important;
  padding: 0 !important;
}

.ma-speakers-grid,
.ma-speakers-grid > .wp-block-group__inner-container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 28px !important;
  width: 100% !important;
  align-items: flex-start !important;
}

/* Gutenberg Editor compatibility for side-by-side speakers and profile items */
.ma-discussion-profiles-grid .block-editor-block-list__layout {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 30px !important;
}

.editor-styles-wrapper .ma-discussion-profiles-grid {
  margin-left: 0 !important;
  margin-right: auto !important;
  padding-left: 0 !important;
}

.ma-speakers-grid .block-editor-block-list__layout {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 15px !important;
  align-items: flex-start !important;
}

.ma-profile-item .block-editor-block-list__layout {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

.ma-profile-info .block-editor-block-list__layout {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
}

.editor-styles-wrapper .ma-speakers-grid .ma-profile-item {
  max-width: 145px !important;
}

.editor-styles-wrapper .ma-discussion-moderator-col .ma-profile-item {
  max-width: 220px !important;
}

.ma-profile-item,
.ma-profile-item > .wp-block-group__inner-container {
  display: flex !important;
  align-items: flex-start !important;
  gap: 15px !important;
  flex-direction: row !important;
  width: auto !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  transition: opacity 0.3s ease !important;
}

.ma-profile-item a {
  color: inherit !important;
  text-decoration: none !important;
}

.ma-profile-item a:hover {
  text-decoration: none !important;
}

.ma-discussion-moderator-col .ma-profile-item,
.ma-discussion-moderator-col .ma-profile-item > .wp-block-group__inner-container {
  max-width: 220px !important;
}

.ma-speakers-grid .ma-profile-item,
.ma-speakers-grid > .wp-block-group__inner-container > .ma-profile-item,
.ma-speakers-grid .ma-profile-item > .wp-block-group__inner-container {
  max-width: 165px !important;
}

.ma-profile-img {
  width: 65px !important;
  height: 65px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  border: 2px solid rgba(255, 255, 255, 0.15) !important;
}

.ma-profile-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 50% !important;
}

.ma-profile-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.ma-profile-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--text-white) !important;
  margin: 0 !important;
}

.ma-profile-title {
  font-size: 11px !important;
  line-height: 1.4 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin: 0 !important;
}

/* Responsiveness */
@media (max-width: 1200px) {
  .ma-speakers-grid,
  .ma-speakers-grid > .wp-block-group__inner-container {
    gap: 30px 20px !important;
  }
}

@media (max-width: 1024px) {
  .ma-discussion-top,
  .ma-discussion-top > .wp-block-group__inner-container {
    flex-wrap: wrap !important;
  }

  .ma-discussion-left {
    flex: 0 0 100% !important;
    padding: 60px 20px !important;
  }
  
  .ma-discussion-right {
    display: none !important;
  }
  
  .ma-discussion-profiles-grid {
    flex-direction: column !important;
    gap: 40px !important;
  }
  
  .ma-discussion-moderator-col,
  .ma-discussion-speakers-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 600px) {
  .ma-speakers-grid,
  .ma-speakers-grid > .wp-block-group__inner-container {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 30px 15px !important;
  }

  .ma-speakers-grid .ma-profile-item,
  .ma-speakers-grid > .wp-block-group__inner-container > .ma-profile-item,
  .ma-speakers-grid .ma-profile-item > .wp-block-group__inner-container {
    flex: 0 0 calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
  }
}

/* ===== VIDEO INSIGHT: LEGAL & TAX VIEW PATTERN ===== */
.ma-legal-tax-section {
  background-color: #ffffff !important;
}

.ma-legal-tax-columns {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 0 !important;
}

.ma-legal-col {
  flex: 0 0 50% !important;
  max-width: 50% !important;
}

.ma-tax-col {
  flex: 0 0 50% !important;
  max-width: 50% !important;
}

.ma-legal-card {
  background-color: var(--primary-teal) !important;
  color: var(--text-white) !important;
  padding: 40px 30px !important;
  border-top-left-radius: 12px !important;
  border-bottom-left-radius: 12px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

.ma-tax-card {
  background-color: #f3f7f6 !important;
  color: #333333 !important;
  padding: 40px 30px !important;
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

.ma-column-tag {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  margin: 0 0 15px 0 !important;
}

.ma-legal-card .ma-column-tag {
  color: rgb(255 255 255 / 74%) !important;
}

.ma-tax-card .ma-column-tag {
  color: var(--primary-teal) !important;
}

.ma-column-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin: 0 0 15px 0 !important;
  line-height: 1.3 !important;
}

.ma-legal-card .ma-column-title {
  color: var(--text-white) !important;
}

.ma-tax-card .ma-column-title {
  color: var(--primary-teal) !important;
}

.ma-column-subtitle {
  font-size: 14px !important;
  line-height: 1.55 !important;
  margin: 0 0 25px 0 !important;
}

.ma-legal-card .ma-column-subtitle {
  color: rgba(255, 255, 255, 0.8) !important;
}

.ma-tax-card .ma-column-subtitle {
  color: #004C45 !important;
}

.ma-column-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ma-column-list li {
  position: relative !important;
  padding-left: 18px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin-bottom: 12px !important;
}

.ma-column-list li::before {
  content: "•" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.ma-column-list li:last-child {
  margin-bottom: 0 !important;
}

.ma-legal-card .ma-column-list li {
  color: rgba(255, 255, 255, 0.9) !important;
}

.ma-tax-card .ma-column-list li {
  color: #004C45 !important;
}

/* Video column settings */
.ma-video-cover {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.ma-video-cover img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.ma-play-btn-wrap {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  max-width: 60px !important;
  background-color: rgba(255, 255, 255, 0.2) !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M8 5v14l11-7z'/></svg>") !important;
  background-position: calc(50% + 3px) 50% !important;
  background-size: 28px 28px !important;
  background-repeat: no-repeat !important;
  border: 2.5px solid #ffffff !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  z-index: 10 !important;
  box-sizing: border-box !important;
}

.ma-play-btn-wrap:hover {
  background-color: rgba(255, 255, 255, 0.4) !important;
  transform: translate(-50%, -50%) scale(1.1) !important;
}

/* Block editor fix to prevent play button wrapper stretching */
.block-editor-block-list__block.ma-play-btn-wrap {
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  max-width: 60px !important;
  border-radius: 50% !important;
}

/* Responsive styles */
@media (max-width: 1024px) and (min-width: 600px) {
  .ma-legal-tax-columns {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
  }

  .ma-legal-col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .ma-tax-col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .ma-video-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-top: 40px !important;
  }

  .ma-legal-card {
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    padding: 30px 20px !important;
  }

  .ma-tax-card {
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    padding: 30px 20px !important;
  }

  .ma-video-cover {
    min-height: 250px !important;
    height: 250px !important;
  }
}

@media (max-width: 599px) {
  .ma-legal-tax-columns {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .ma-legal-col,
  .ma-tax-col,
  .ma-video-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .ma-video-col {
    margin-left: 0 !important;
    margin-top: 30px !important;
  }

  .ma-legal-card {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    padding: 30px 20px !important;
  }

  .ma-tax-card {
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    padding: 30px 20px !important;
  }

  .ma-video-cover {
    min-height: 250px !important;
    height: 250px !important;
  }
}

/* GUTEBNERG BLOCK EDITOR MATCHING STYLES FOR LEGAL/TAX VIEW */
.ma-legal-tax-columns .block-editor-block-list__layout {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 100% !important;
  gap: 0 !important;
}

.ma-legal-tax-columns .block-editor-block-list__layout > .block-editor-block-list__block {
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.ma-legal-tax-columns .block-editor-block-list__layout > .block-editor-block-list__block[data-type="core/column"]:nth-child(1) {
  flex: 0 0 32% !important;
  width: 32% !important;
  max-width: 32% !important;
}

.ma-legal-tax-columns .block-editor-block-list__layout > .block-editor-block-list__block[data-type="core/column"]:nth-child(2) {
  flex: 0 0 32% !important;
  width: 32% !important;
  max-width: 32% !important;
}

.ma-legal-tax-columns .block-editor-block-list__layout > .block-editor-block-list__block[data-type="core/column"]:nth-child(3) {
  flex: 0 0 calc(36% - 30px) !important;
  width: calc(36% - 30px) !important;
  max-width: calc(36% - 30px) !important;
  margin-left: 30px !important;
}

.ma-legal-tax-columns .block-editor-block-list__layout > .block-editor-block-list__block > div {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.ma-legal-card, .ma-tax-card, .ma-video-embed {
  height: 100% !important;
  min-height: 100% !important;
}

/* M&A Challenges Section Title & Quick Note Box */
.ma-section-title-main {
  font-size: clamp(24px, 3vw, 32px) !important;
  font-weight: 700 !important;
  color: #004c45 !important;
  margin: 0 0 30px 0 !important;
  line-height: 1.35 !important;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif !important;
}

.ma-quick-note-box {
  background-color: #f3f7f6 !important;
  border-left: 5px solid #004c45 !important;
  padding: 25px 30px !important;
  border-radius: 6px !important;
  margin: 0 0 45px 0 !important;
  box-sizing: border-box !important;
}

.ma-quick-note-title {
    color: #01433a;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 0;
}

.ma-quick-note-box p {
   font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 0;
}

/* YouTube Embed Responsive Aspect Ratio Styling (Centered & Shorter Height) */
.ma-video-embed {
  margin: 0 auto 45px !important;
  width: 100% !important;
  max-width: 1100px !important;
}

.ma-video-embed .wp-block-embed__wrapper {
  position: relative !important;
  padding-top: 0 !important;
  height: 480px !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.ma-video-embed .wp-block-embed__wrapper iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  border: none !important;
}

/* ==========================================
   PREMIUM SUBTLE ANIMATIONS (Inspired by dfdl.com)
   ========================================== */

/* 1. Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* 2. Hero entrance fade on page load (Removed translateY to prevent layout shift) */
@keyframes heroFadeInUp {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.hero-content,
.team-member-hero-info,
.insights-hero .hero-content {
  animation: heroFadeInUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* 3. Scroll Reveal Transition Rules (Brings JS observer in footer.php to life) */
[data-reveal="fade"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

[data-reveal="fade"].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delay classes */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* 4. Team Member Cards hover scaling & shadow zoom */
a.team-member-card {
  text-decoration: none !important;
  color: inherit !important;
  display: flex;
  flex-direction: column;
}

a.team-member-card:hover {
  /* The card box stays steady; only the image inside zooms */
}

/* 5. Team Member Photo scale-up effect */
.team-member-photo {
  position: relative;
  overflow: hidden;
}

.team-member-photo img {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease !important;
}

a.team-member-card:hover .team-member-photo img {
  transform: scale(1.04);
}

/* 6. Premium Smooth Transition for buttons on hover */
.btn-contact,
.btn-hero-contact,
.btn-speak,
.wp-block-button__link,
.btn-contact-card,
.btn-view-more,
.btn-apply,
.btn-submit,
.footer-newsletter-btn {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* 7. Stats Section Subtitle Style */
.stats-subtitle {
  font-size: 20px !important;
  font-weight: 500 !important;
  color: #004C45 !important;
  margin-top: 15px !important;
  margin-bottom: 40px !important;
  text-align: center !important;
  line-height: 1.6 !important;
  pointer-events: none;
}

/* 8. Premium Underline Draw-in animations (Inspired by dfdl.com) */
.section-underline,
.cta-underline,
.role-underline,
.contact-underline,
.hero-underline,
.op-underline {
  transform: scaleX(0) !important;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
}

/* Center-aligned expands from middle */
.section-underline {
  transform-origin: center !important;
}

/* Left-aligned expands from left */
.cta-underline,
.role-underline,
.contact-underline,
.hero-underline,
.op-underline {
  transform-origin: left !important;
}

/* Reveal when parent gets .revealed or element itself is revealed */
.revealed .section-underline,
.revealed .cta-underline,
.revealed .role-underline,
.revealed .contact-underline,
.revealed .hero-underline,
.revealed .op-underline,
.revealed .team-member-line,
.revealed .contact-line,
.revealed .member-hero-line,
.revealed .contact-hero-inner .hero-tag-line,
.revealed .insights-page-wrapper .hero-tag-line,
.revealed .insights-hero .hero-tag-line,
.revealed.section-underline,
.revealed.cta-underline,
.revealed.role-underline,
.revealed.contact-underline,
.revealed.hero-underline,
.revealed.op-underline,
.revealed.team-member-line,
.revealed.contact-line,
.revealed.member-hero-line,
.revealed.hero-tag-line,
.revealed.contact-hero-inner .hero-tag-line,
.revealed.insights-page-wrapper .hero-tag-line,
.revealed.insights-hero .hero-tag-line {
  transform: scaleX(1) !important;
}

/* Revealed state for center-aligned pseudo-element underlines (ScaleX(1) while maintaining center offset translateX(-50%)) */
.revealed .section-title::after,
.revealed .welcome-wrapper h2::after,
.revealed .nusantara-section>h2::after,
.revealed .nusantara-team-section h2::after,
.revealed h2.has-text-align-center::after,
.revealed .related-title-underline::after,
.revealed.section-title::after,
.revealed.welcome-wrapper h2::after,
.revealed.nusantara-section>h2::after,
.revealed.nusantara-team-section h2::after,
.revealed.has-text-align-center::after,
.revealedh2.has-text-align-center::after,
.revealed.related-title-underline::after {
  transform: translateX(-50%) scaleX(1) !important;
}

/* Revealed state for left-aligned pseudo-element underlines (ScaleX(1)) */
.revealed .nusantara-cta-section .cta-title::after,
.revealed .nusantara-cta-section h2::after,
.revealed .career-page-main .op-title::after,
.revealed .insight-category-tag::after,
.revealed .contact-info-box h3::after,
.revealed .contact-form-box h3::after,
.revealed .contact-why-section .contact-why-title::after,
.revealed .position-title::after,
.revealed .cta-title::after,
.revealed.nusantara-cta-section .cta-title::after,
.revealed.nusantara-cta-section h2::after,
.revealed.career-page-main .op-title::after,
.revealed.insight-category-tag::after,
.revealed.contact-info-box h3::after,
.revealed.contact-form-box h3::after,
.revealed.contact-why-section .contact-why-title::after,
.revealed.position-title::after,
.revealed.cta-title::after {
  transform: scaleX(1) !important;
}

/* Video Player responsive styling */
.ma-video-player-container {
  width: 100% !important;
  max-width: 1100px !important;
  margin: 45px auto 0 !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

.ma-video-player-container iframe {
  width: 100% !important;
  height: 480px !important;
  border: none !important;
}

.ma-video-player-container video {
  width: 100% !important;
  height: 480px !important;
  object-fit: cover !important;
}

/* Gutenberg Video & YouTube Blocks within the M&A Hero pattern */
.ma-discussion-section .wp-block-video,
.ma-discussion-section .wp-block-embed,
.ma-video-block {
  max-width: 1100px !important;
  margin: 45px auto 0 !important;
  width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.ma-discussion-section .wp-block-video video,
.ma-discussion-section .wp-block-embed iframe,
.ma-video-block video {
  width: 100% !important;
  height: 480px !important;
  display: block !important;
  border: none !important;
  object-fit: cover !important;
}