/*
BASELINE MODIFY
*/
#ContentPane {
  background-color: white;
}
.portal-content {
  padding-top: 0 !important;
}
[id="f9d57047_311b_4acc_acec_9f8258e6fe72"] {
  display: none !important;
}

/* Ensure transitions and animations work on mobile */
@media (max-width: 991.98px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Ensure tab transitions work on mobile */
  .nav-link,
  .portal-tab,
  [data-portal-type],
  .tab-pane {
    transition: all 0.3s ease !important;
  }
}

/* ============================================
   AOHero Section Styles
   Hero/Banner section for user profile display
   ============================================ */

.aohero-section {
  margin-top: 1rem;
  margin-bottom: 0rem;
}

.aohero-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
}

/* Background Gradient */
.aohero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--acec-dark), var(--acec-dark-80));
  z-index: 1;
}

/* Content Container */
.aohero-content {
  padding: 1rem;
  position: relative;
  z-index: 10;
  padding: 1rem;
  transition: var(--transition-smooth);
  width: 100%;
  max-width: 100%;
}

/* Top Section - Contains avatar, info, and edit button */
.aohero-top-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  width: 100%;
}


/* Layout - Dashboard Mode (Welcome message) */
.aohero-layout-dashboard .aohero-top-section {
  padding-right: 0;
}


/* Avatar Container */
.aohero-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

/* Profile Info Container */
.aohero-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

/* Header Row (contains title and badges) */
.aohero-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

/* Title Styles */
.aohero-title {
  font-size: var(--hero-subtitle-size);
  font-weight: 600;
  color: hsl(var(--hero-text-color));
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  transition: var(--transition-smooth);
}

/* Badges Container */
.aohero-badges {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: fit-content;
  margin: 0;
}

/* Desktop badges - shown by default */
.aohero-badges-desktop {
  display: flex;
}

/* Mobile badges - hidden by default */
.aohero-badges-mobile {
  display: none;
  width: 100%;
  justify-content: flex-start;
  margin-bottom: 0.5rem;
}

/* Badge Styles */
.aohero-badges .badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--acec-gold-variant-01);
  color: var(--acec-dark);
  white-space: nowrap;
}

.badge-member {
  background: var(--acec-gold-variant-01) !important;
  color: var(--acec-dark) !important;
}

/* Subtitle (company info) */
.aohero-subtitle {
  font-size: 0.75rem;
  color: hsl(var(--hero-text-muted));
  margin: 0;
  transition: var(--transition-smooth);
}

.aohero-company {
  color: var(--acec-gold);
  font-weight: 500;
}

.aohero-company-link {
  color: var(--acec-gold);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.aohero-company-link:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.aohero-company-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.25rem;
  vertical-align: middle;
  width: 0.875rem;
  height: 0.875rem;
  color: var(--acec-gold);
  margin-top: -3px;
}

.aohero-company-icon svg {
  width: 100%;
  height: 100%;
  color: var(--acec-gold);
  fill: var(--acec-gold);
}

/* Organizations List (for profile mode with multiple organizations) */
.aohero-organizations {
  margin-top: 0.25rem;
  text-align: left;
}

.aohero-organization-item {
  font-size: 0.75rem;
  color: hsl(var(--hero-text-muted));
  margin: 0.125rem 0;
  line-height: 1.6;
  transition: var(--transition-smooth);
  text-align: left;
}

/* Profile separator dot between title and organization */
.profile-separator-dot {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

/* Edit Profile Button (Profile mode only) */
.aohero-edit-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.75rem 0.75rem;
  background: transparent;
  border: 1px solid var(--acec-gold-variant-01);
  border-radius: var(--radius);
  color: var(--acec-gold);
  cursor: pointer;
  transition: var(--transition-smooth);
  min-width: 0;
  max-width: 6rem;
  align-self: flex-start;
}

.aohero-edit-btn:hover {
  background: rgba(235, 172, 47, 0.15);
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.aohero-edit-btn:focus-visible {
  outline: 2px solid var(--acec-gold);
  outline-offset: 2px;
}

/* Edit button when profile is complete (icon only) */
.aohero-edit-btn-complete {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--radius);
}

.aohero-edit-btn-complete i,
.aohero-edit-btn-complete svg {
  width: 1rem;
  height: 1rem;
}

/* Certification Button (bell icon, profile mode - left of edit button) */
.aohero-certification-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--acec-gold-variant-01);
  border-radius: var(--radius);
  color: var(--acec-gold);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none !important;
  flex-shrink: 0;
  position: relative;
  align-self: flex-start;
}

/* Gold bubble indicator — shown when NOT on the certification page */
.aohero-certification-btn:not(.active)::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--acec-gold-variant-01);
  box-shadow: 0 0 0 1.5px var(--acec-dark);
}

/* Hide bubble when active (on certification page) */
.aohero-certification-btn.active::after {
  display: none;
}

.aohero-certification-btn:hover {
  background: rgba(235, 172, 47, 0.15);
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
  color: var(--acec-gold);
}

.aohero-certification-btn:focus-visible {
  outline: 2px solid var(--acec-gold);
  outline-offset: 2px;
}

.aohero-certification-btn i,
.aohero-certification-btn svg {
  width: 1rem;
  height: 1rem;
  color: var(--acec-gold);
  stroke-width: 2;
}

/* Active state - matches the icon link active style */
.aohero-certification-btn.active {
  background: var(--acec-gold-variant-01);
  border-color: var(--acec-gold-variant-01);
  color: var(--acec-dark);
}

.aohero-certification-btn.active i,
.aohero-certification-btn.active svg {
  color: var(--acec-dark);
}

.aohero-certification-btn.active:hover {
  background: rgba(235, 172, 47, 0.85);
  color: var(--acec-dark);
}

/* Progress Circle */
.aohero-progress-circle {
  position: relative;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aohero-progress-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.aohero-progress-bg {
  fill: none;
  stroke: rgba(235, 172, 47, 0.3);
  stroke-width: 3;
}

.aohero-progress-bar {
  fill: none;
  stroke: var(--acec-gold);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset var(--transition-slow);
}

.aohero-progress-text {
  position: absolute;
  font-size: 8px;
  font-weight: 700;
  color: var(--acec-gold);
  line-height: 1;
  font-family: system-ui;
  letter-spacing: initial;
}

.aohero-edit-label {
  font-size: 0.55rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: initial;
  color: var(--acec-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Icon Bar Target Area (for animation - dashboard only) */
.aohero-icon-bar {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--white-10);
  opacity: 0;
  animation: fadeIn var(--transition-base);
}

.aohero-icon-bar-visible {
  opacity: 1;
}

.aohero-icon-placeholders {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.aohero-icon-placeholder {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.375rem;
  background: var(--white-10);
}

/* Bottom Section with Icon Links (Profile Mode) */
.aohero-bottom-section {
  width: 100%;
  margin-top: 1rem;
}

.aohero-layout-profile {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.aohero-separator {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  margin: 0.5rem 0 1rem 0;
}

.aohero-icon-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  overflow-x: visible;
  overflow-y: visible;
  padding-bottom: 0;
}

/* Hide scrollbar but keep functionality */
.aohero-icon-links::-webkit-scrollbar {
  height: 0;
}

.aohero-icon-link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.125rem;
  padding: 0.5rem 0.1rem 0.25rem 0.1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  cursor: pointer;
  overflow: visible;
}

.aohero-icon-link:hover {
  background-color: rgb(255 255 255 / 0.2);
  transform: scale(1.05);
}

.aohero-icon-link:active {
  transform: scale(1.05);
}

/* Highlighted state (for active/current page) */
.aohero-icon-link.active {
  background-color: var(--acec-gold-variant-01);
  border: 1px solid var(--acec-gold-variant-01);
}

.aohero-icon-link.active .aohero-icon-link-icon i,
.aohero-icon-link.active .aohero-icon-link-icon svg {
  color: var(--acec-dark) !important;
}

.aohero-icon-link.active .aohero-icon-link-label {
  color: var(--acec-dark) !important;
}

.aohero-icon-link-icon {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.aohero-icon-link-icon i,
.aohero-icon-link-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: inherit !important;
  stroke-width: 2;
}

.aohero-icon-link:hover .aohero-icon-link-icon i,
.aohero-icon-link:hover .aohero-icon-link-icon svg {
  color: rgba(255, 255, 255, 1) !important;
}
.aohero-icon-link.active:hover .aohero-icon-link-icon i,
.aohero-icon-link.active:hover .aohero-icon-link-icon svg {
  color: var(--acec-dark) !important;
}

.aohero-icon-link-badge {
  position: absolute;
  top: -15px;
  right: -23px;
  background: var(--acec-gold-variant-01);
  color: var(--acec-dark);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 3px 5px;
  border-radius: 9999px;
  text-align: center;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 10;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aohero-icon-link-label {
  font-size: 8px;
  font-weight: 500;
  color: inherit !important;
  text-align: center;
  line-height: 1.15;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  width: 100%;
  transition: var(--transition-smooth);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: normal;
}

.aohero-icon-link:hover .aohero-icon-link-label {
  color: rgba(255, 255, 255, 1) !important;
}
.aohero-icon-link.active:hover .aohero-icon-link-label {
  color: var(--acec-dark) !important;
}

/* ============================================
   Mobile Icon Links Menu - Hamburger & Drawer
   ============================================ */

/* Mobile Hamburger Menu Button */
.aohero-mobile-menu-toggle {
  display: none; /* Hidden by default, shown on mobile */
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 100;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin-left: auto;
}

.aohero-mobile-menu-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.aohero-mobile-menu-toggle:hover::before {
  width: 100%;
  height: 100%;
  opacity: 0;
}

.aohero-mobile-menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.aohero-mobile-menu-toggle:active {
  transform: scale(0.92);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aohero-mobile-menu-toggle.active {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.aohero-mobile-menu-toggle.active:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.aohero-mobile-menu-toggle.active .aohero-three-dots-icon .dot {
  background-color: rgba(255, 255, 255, 1);
}

/* Three Dots Icon (Horizontal) - Modern Design */
.aohero-three-dots-icon {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 24px;
  height: 8px;
  position: relative;
  gap: 5px;
}

.aohero-three-dots-icon .dot {
  display: block;
  width: 4px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
  position: relative;
}

/* Hover Animation - Dots spread out and glow (matching AOTopBar) */
.aohero-mobile-menu-toggle:hover .aohero-three-dots-icon {
  gap: 7px;
}

.aohero-mobile-menu-toggle:hover .aohero-three-dots-icon .dot {
  background-color: rgba(255, 255, 255, 1);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.aohero-mobile-menu-toggle:hover .aohero-three-dots-icon .dot:nth-child(1) {
  animation: dotFloatLeft 1.2s ease-in-out infinite;
}

.aohero-mobile-menu-toggle:hover .aohero-three-dots-icon .dot:nth-child(2) {
  animation: dotFloatCenter 1.2s ease-in-out infinite 0.2s;
}

.aohero-mobile-menu-toggle:hover .aohero-three-dots-icon .dot:nth-child(3) {
  animation: dotFloatRight 1.2s ease-in-out infinite 0.4s;
}

/* Active State - Dots morph and connect (matching AOTopBar) */
.aohero-mobile-menu-toggle.active .aohero-three-dots-icon {
  gap: 2px;
}

.aohero-mobile-menu-toggle.active .aohero-three-dots-icon .dot {
  background-color: rgba(255, 255, 255, 1);
  animation: dotMorph 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.aohero-mobile-menu-toggle.active .aohero-three-dots-icon .dot:nth-child(1) {
  animation-delay: 0s;
  transform: translateX(-2px) scale(1.2);
}

.aohero-mobile-menu-toggle.active .aohero-three-dots-icon .dot:nth-child(2) {
  animation-delay: 0.1s;
  transform: scale(1.4);
}

.aohero-mobile-menu-toggle.active .aohero-three-dots-icon .dot:nth-child(3) {
  animation-delay: 0.2s;
  transform: translateX(2px) scale(1.2);
}

/* Modern Animation Keyframes (matching AOTopBar) */
@keyframes dotFloatLeft {
  0%, 100% {
    transform: translateY(0) scale(1.3);
  }
  50% {
    transform: translateY(-3px) scale(1.4);
  }
}

@keyframes dotFloatCenter {
  0%, 100% {
    transform: translateY(0) scale(1.3);
  }
  50% {
    transform: translateY(-4px) scale(1.5);
  }
}

@keyframes dotFloatRight {
  0%, 100% {
    transform: translateY(0) scale(1.3);
  }
  50% {
    transform: translateY(-3px) scale(1.4);
  }
}

@keyframes dotMorph {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.8;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  }
  100% {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
  }
}

/* Mobile Icon Links Drawer - Full Screen with Modern Backdrop */
.aohero-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  backdrop-filter: blur(0px);
}

.aohero-mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  backdrop-filter: blur(4px);
  animation: aoheroBackdropFadeIn 0.35s ease-out;
}

@keyframes aoheroBackdropFadeIn {
  0% {
    backdrop-filter: blur(0px);
    background-color: rgba(0, 0, 0, 0);
  }
  100% {
    backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.1);
  }
}

/* Drawer Overlay/Backdrop */
.aohero-mobile-drawer-overlay {
  display: none;
}

/* Drawer Content - Full Screen with Modern Slide Animation */
.aohero-mobile-drawer-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--acec-dark) 0%, rgba(29, 44, 53, 0.95) 100%);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10001;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.aohero-mobile-drawer.open .aohero-mobile-drawer-content {
  transform: translateX(0);
  animation: aoheroDrawerSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes aoheroDrawerSlideIn {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Drawer Header - Only Close Button */
.aohero-mobile-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.5rem 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.aohero-mobile-drawer-close {
  width: 40px;
  height: 40px;
  border: 2px solid var(--acec-gold);
  border-radius: 8px;
  background-color: transparent;
  color: var(--acec-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.aohero-mobile-drawer-close:hover {
  background-color: var(--acec-gold);
  color: var(--acec-dark);
  transform: rotate(90deg);
}

.aohero-mobile-drawer-close i {
  font-size: 1.25rem;
  color: var(--acec-gold);
}

.aohero-mobile-drawer-close:hover i {
  color: var(--acec-dark);
}

/* Drawer Links Container - Single Column (Row by Row) */
.aohero-mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  flex: 1;
}

/* Mobile Icon Link Styles - Full Width Row Layout */
.aohero-mobile-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 60px;
  padding: 1rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  text-decoration: none;
  color: var(--white);
  transition: all 0.2s ease;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  gap: 1rem;
}

.aohero-mobile-link:hover {
  background-color: var(--acec-gold);
  border-color: var(--acec-gold);
  color: var(--acec-dark);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(247, 201, 93, 0.3);
  transform: translateX(4px);
}

.aohero-mobile-link:active {
  transform: scale(0.98);
}

.aohero-mobile-link-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  color: var(--acec-gold);
  position: relative;
}

.aohero-mobile-link:hover .aohero-mobile-link-icon {
  transform: scale(1.1);
  color: var(--acec-dark);
}

.aohero-mobile-link-icon i,
.aohero-mobile-link-icon svg {
  font-size: 1.25rem;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aohero-mobile-link-label {
  font-family: var(--font-franklingothic-demi, 'Franklingothic Demi', sans-serif);
  font-size: var(--font-size-small, 14px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
  text-align: left;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: inherit;
}

/* Mobile Icon Link Badge - Positioned on the icon */
.aohero-mobile-link-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 24px;
  height: 24px;
  padding: 0px 4px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-franklingothic-demi, 'Franklingothic Demi', sans-serif);
  background: var(--acec-gold-variant-01);
  color: var(--acec-dark);
  border: 1px solid var(--acec-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.aohero-mobile-link:hover .aohero-mobile-link-badge {
  background-color: var(--acec-dark);
  color: var(--acec-gold);
  border-color: var(--acec-dark);
}

/* Active state for mobile links (current page) */
.aohero-mobile-link.active {
  background-color: var(--acec-gold-variant-01);
  border-color: var(--acec-gold-variant-01);
}

.aohero-mobile-link.active .aohero-mobile-link-icon {
  color: var(--acec-dark);
}

.aohero-mobile-link.active .aohero-mobile-link-icon i,
.aohero-mobile-link.active .aohero-mobile-link-icon svg {
  color: var(--acec-dark);
}

.aohero-mobile-link.active .aohero-mobile-link-label {
  color: var(--acec-dark);
}

.aohero-mobile-link.active:hover {
  background-color: var(--acec-gold);
  border-color: var(--acec-gold);
}

/* Annual Certification button in mobile drawer — reset default button styles */
button.aohero-mobile-link {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  text-align: left;
}

/* Prevent body scroll when drawer is open */
body.aohero-drawer-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Smooth scrollbar for drawer */
.aohero-mobile-drawer-content::-webkit-scrollbar {
  width: 6px;
}

.aohero-mobile-drawer-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.aohero-mobile-drawer-content::-webkit-scrollbar-thumb {
  background: var(--acec-gold);
  border-radius: 3px;
}

.aohero-mobile-drawer-content::-webkit-scrollbar-thumb:hover {
  background: var(--acec-gold-hover);
}

/* ============================================
   Media Queries - All max-width, moved to bottom
   ============================================ */

@media (min-width: 768px) {
  .aohero-icon-links {
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
}

@media (max-width: 991.98px) {
  /* Remove margin-top from hero section on mobile */
  .aohero-section {
    margin-top: 0;
  }
  
  /* Remove border-radius from container on mobile */
  .aohero-container {
    position: relative;
    border-radius: 0;
  }
  
  /* Add more vertical padding to content on mobile */
  .aohero-content {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
  /* Show hamburger button on mobile */
  .aohero-mobile-menu-toggle {
    display: flex;
  }
  
  /* Hide desktop icon links on mobile - use !important to override inline styles */
  .aohero-icon-links,
  .aohero-bottom-section .aohero-icon-links {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Hide individual icon links on mobile */
  .aohero-icon-link {
    display: none !important;
  }
  
  /* Hide icon link badge on mobile (both desktop and mobile versions) */
  .aohero-icon-link-badge {
    display: none !important;
  }
  
  /* Hide separator on mobile */
  .aohero-separator {
    display: none !important;
  }
  
  /* Hide bottom section (icon links container) on mobile */
  .aohero-bottom-section {
    display: none !important;
  }
  
  /* Hide edit profile button on mobile */
  .aohero-edit-btn {
    display: none !important;
  }

  /* Hide certification button on mobile */
  .aohero-certification-btn {
    display: none !important;
  }
  
  /* Adjust top section for mobile - no need for padding since edit button is hidden */
  .aohero-top-section {
    padding-right: 0;
    gap: 0.5rem;
  }
  
  /* Disable organization link functionality on mobile (keep styling) */
  .aohero-company-link {
    pointer-events: none;
    cursor: default;
  }
  
  .aohero-company-link:hover {
    text-decoration: none;
  }
}

@media (max-width: 767.98px) {
  /* Further mobile adjustments */
  .aohero-content {
    padding: 1rem 0.75rem;
  }
  
  /* Responsive font sizes for tablet/mobile */
  .aohero-title {
    font-size: 1.25rem; /* Reduced from default for mobile */
    line-height: 1.3;
  }
  
  .aohero-subtitle,
  .aohero-organization-item {
    font-size: 0.85rem; /* Reduced from 0.75rem for better mobile readability */
    line-height: 1.4;
  }
  
  .aohero-badges .badge {
    font-size: 0.7rem; /* Slightly smaller on mobile */
    padding: 0.2rem 0.6rem;
  }
  
  .aohero-mobile-drawer-header {
    padding: 1rem 1.25rem;
  }
  
  .aohero-mobile-drawer-links {
    padding: 1.25rem 1rem;
    gap: 0.625rem;
  }
  
  .aohero-mobile-link {
    width: 100%;
    min-height: 56px;
    padding: 0.875rem 1rem;
  }
  
  .aohero-mobile-link-icon {
    font-size: 1.25rem;
    width: 20px;
  }
  
  .aohero-mobile-link-label {
    font-size: 0.875rem;
  }
}

@media (max-width: 399.98px) {
  /* Small phone view - show mobile badges above photo */
  .aohero-badges-mobile {
    display: flex !important;
  }
  
  .aohero-badges-desktop {
    display: none !important;
  }
  
  /* Adjust top section to flex-wrap for proper stacking */
  .aohero-top-section {
    flex-wrap: wrap;
  }
  
  /* Mobile badges take full width */
  .aohero-badges-mobile {
    order: -1;
    flex: 1 1 100%;
  }
  
  /* Reduce avatar size for small screens */
  .aohero-avatar-wrapper .avatar {
    width: 3rem !important;
    height: 3rem !important;
  }
  
  /* Adjust camera button size proportionally */
  .avatar-camera-btn {
    width: 1.25rem !important;
    height: 1.25rem !important;
    bottom: -0.25rem;
    right: -0.25rem;
  }
  
  .avatar-camera-btn i,
  .avatar-camera-btn svg {
    width: 0.65rem !important;
    height: 0.65rem !important;
  }
}

@media (max-width: 575.98px) {
  /* Phone view - further reduced font sizes */
  .aohero-title {
    font-size: 1.125rem; /* Even smaller for phones */
    line-height: 1.2;
  }
  
  .aohero-subtitle,
  .aohero-organization-item {
    font-size: 0.8rem; /* Smaller for phones */
    line-height: 1.3;
  }
  
  .aohero-badges .badge {
    font-size: 0.65rem; /* Smaller badge text for phones */
    padding: 0.15rem 0.5rem;
  }
  
  /* Keep text left-aligned on all screen sizes */
  .aohero-info {
    text-align: left;
  }
  
  .aohero-header {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
  
  .aohero-badges {
    justify-content: flex-start;
    margin: 0;
  }
}

@media (max-width: 575.98px) {
  /* Extra small mobile adjustments */
  .aohero-title {
    font-size: 1.125rem; /* Even smaller for very small screens */
  }
  
  .aohero-subtitle,
  .aohero-organization-item {
    font-size: 0.8rem;
  }
  
  /* Keep text left-aligned on all screen sizes */
  .aohero-info {
    text-align: left;
  }
  
  .aohero-header {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
  
  .aohero-badges {
    justify-content: flex-start;
    margin: 0;
  }
}

/* ============================================
   Global Bootstrap Tooltip Overrides
   Applied here because AOHero is loaded on every page
   ============================================ */

.tooltip .tooltip-inner {
  background-color: var(--acec-navy);
  color: var(--acec-gold);
}

/* Arrow — all four directions */
.tooltip.bs-tooltip-top    .tooltip-arrow::before { border-top-color:    var(--acec-navy); }
.tooltip.bs-tooltip-bottom .tooltip-arrow::before { border-bottom-color: var(--acec-navy); }
.tooltip.bs-tooltip-start  .tooltip-arrow::before { border-left-color:   var(--acec-navy); }
.tooltip.bs-tooltip-end    .tooltip-arrow::before { border-right-color:  var(--acec-navy); }

