/* ==========================================================================
   JEOMATEE NIGERIA LIMITED - CORE STYLES & SKELETON CSS (FOUC PREVENTION)
   ========================================================================== */

/* Critical Hero Layout: strictly preserve 520px height & prevent vertical stacking */
.hero-carousel-container {
  position: relative;
  width: 100%;
  height: 520px !important;
  min-height: 520px;
  overflow: hidden;
  background-color: #071D3A;
}

/* Strict FOUC Shield: Force inactive slides to stay hidden before & during load */
.cat-hero-slide:not(.active) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.cat-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.cat-hero-slide.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: block !important;
  z-index: 2 !important;
}

/* Hero Skeleton Loading Placeholder */
.hero-skeleton-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #071D3A 0%, #0d284f 35%, #133b73 50%, #0d284f 65%, #071D3A 100%);
  background-size: 300% 100%;
  animation: jnl-hero-skeleton 1.8s ease infinite;
  z-index: 10;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  display: flex;
  align-items: center;
  padding: 60px 48px;
  box-sizing: border-box;
}

.hero-skeleton-card {
  width: 44%;
  min-width: 320px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-skeleton-line {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.hero-skeleton-line::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 205, 17, 0.28), transparent);
  animation: jnl-shimmer 1.4s infinite;
}

.hero-skeleton-line.short {
  width: 110px;
  height: 14px;
  background: rgba(255, 205, 17, 0.25);
}

.hero-skeleton-line.title {
  width: 88%;
  height: 40px;
}

.hero-skeleton-line.desc {
  width: 95%;
  height: 48px;
}

.hero-skeleton-line.btn {
  width: 190px;
  height: 42px;
  background: rgba(255, 205, 17, 0.35);
  border-radius: 4px;
  margin-top: 8px;
}

.hero-loaded .hero-skeleton-placeholder {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@keyframes jnl-hero-skeleton {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* Content Skeleton Helpers */
.skeleton-shimmer {
  position: relative;
  overflow: hidden;
  background: #E2E8F0;
}
.skeleton-shimmer::after {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 100%);
  animation: jnl-shimmer 1.5s infinite;
  content: '';
}
@keyframes jnl-shimmer {
  100% { transform: translateX(100%); }
}

/* Smooth page transition on load */
body {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Mobile Sidebar Slide Drawer */
  #custom-mobile-sidebar {
    position: fixed;
    top: 0;
    left: -330px;
    width: 320px;
    max-width: 86vw;
    height: 100vh;
    background-color: #FFFFFF;
    z-index: 9999999;
    box-shadow: 6px 0 25px rgba(0,0,0,0.3);
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 0;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #custom-mobile-sidebar.open {
    left: 0;
  }
  #custom-mobile-sidebar .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 2px solid #FFCD11;
    background: #071D3A;
  }
  #custom-mobile-sidebar .sidebar-logo {
    max-height: 44px;
    width: auto;
  }
  #custom-mobile-sidebar .close-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #FFFFFF;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
  }
  #custom-mobile-sidebar .close-btn:hover {
    color: #FFCD11;
  }
  #custom-mobile-sidebar .sidebar-search {
    padding: 14px 18px;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
  }
  #custom-mobile-sidebar .sidebar-nav-links {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  #custom-mobile-sidebar a.sidebar-nav-item,
  #custom-mobile-sidebar .sidebar-accordion-header {
    text-decoration: none;
    color: #0F172A;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease, color 0.2s ease;
    border-bottom: 1px solid #F1F5F9;
    cursor: pointer;
    background: #FFFFFF;
  }
  #custom-mobile-sidebar a.sidebar-nav-item:hover,
  #custom-mobile-sidebar .sidebar-accordion-header:hover,
  #custom-mobile-sidebar .sidebar-accordion.open > .sidebar-accordion-header {
    background: #F1F5F9;
    color: #0056B3;
  }
  #custom-mobile-sidebar a.sidebar-nav-item i:first-child,
  #custom-mobile-sidebar .sidebar-accordion-header i:first-child {
    width: 26px;
    font-size: 16px;
    color: #0056B3;
  }
  #custom-mobile-sidebar a.sidebar-nav-item span,
  #custom-mobile-sidebar .sidebar-accordion-header span {
    flex: 1;
  }
  #custom-mobile-sidebar a.sidebar-nav-item i.arrow,
  #custom-mobile-sidebar .sidebar-accordion-header i.arrow {
    font-size: 12px;
    color: #94A3B8;
    transition: transform 0.25s ease;
  }
  #custom-mobile-sidebar .sidebar-accordion.open > .sidebar-accordion-header i.arrow {
    transform: rotate(90deg);
    color: #0056B3;
  }
  #custom-mobile-sidebar .sidebar-accordion-body {
    display: none;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    padding: 6px 0;
  }
  #custom-mobile-sidebar .sidebar-accordion.open > .sidebar-accordion-body {
    display: block;
  }
  #custom-mobile-sidebar .sidebar-sublink {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 40px;
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  }
  #custom-mobile-sidebar .sidebar-sublink:hover {
    background: #E2E8F0;
    color: #0056B3;
    padding-left: 44px;
  }
  #custom-mobile-sidebar .sidebar-sublink i {
    font-size: 12px;
    color: #64748B;
    width: 16px;
  }
  #custom-mobile-sidebar .sidebar-lang-card {
    margin: 16px 20px 24px 20px;
    padding: 12px 16px;
    background: #071D3A;
    border: 1.5px solid #FFCD11;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: #FFFFFF;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  #custom-mobile-sidebar .sidebar-lang-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 29, 58, 0.25);
  }
  #custom-mobile-sidebar .sidebar-lang-card .lang-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  #custom-mobile-sidebar .sidebar-lang-card .lang-left i {
    font-size: 20px;
    color: #FFCD11;
  }
  #custom-mobile-sidebar .sidebar-lang-card .lang-name {
    font-weight: 700;
    font-size: 14px;
    color: #FFFFFF;
  }
  #custom-mobile-sidebar .sidebar-lang-card .lang-badge {
    font-size: 11px;
    padding: 3px 8px;
    background: #FFCD11;
    color: #071D3A;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
  }
  #custom-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 29, 58, 0.7);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 9999998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  #custom-mobile-overlay.open {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  /* Professional Enterprise Mega-Dropdown Styling */
  .cat-nav-list {
    position: relative;
  }

  .cat-nav-item.has-dropdown {
    position: relative;
  }

  .cat-nav-item .nav-caret {
    font-size: 11px;
    margin-left: 5px;
    transition: transform 0.25s ease;
  }

  .cat-nav-item.has-dropdown:hover .nav-caret,
  .cat-nav-item.has-dropdown.active .nav-caret {
    transform: rotate(180deg);
  }

  .cat-mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 840px;
    max-width: 90vw;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(15, 23, 42, 0.05);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
    z-index: 99999;
    overflow: hidden;
  }

  #dropdown-company { left: 0; }
  #dropdown-services { left: -100px; }
  #dropdown-operations { left: -220px; }
  #dropdown-engineering { left: -340px; }
  #dropdown-careers { left: -460px; }

  .cat-nav-item.has-dropdown:hover .cat-mega-dropdown,
  .cat-nav-item.has-dropdown.active .cat-mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(4px);
  }

  .mega-dropdown-inner {
    display: flex;
    background: #FFFFFF;
  }

  .mega-col {
    flex: 1;
    padding: 24px;
    box-sizing: border-box;
    text-align: left;
  }

  .mega-col.mega-featured {
    flex: 1.15;
    background: #F8FAFC;
    border-right: 1px solid #F1F5F9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .mega-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0056B3;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
  }

  .mega-featured-title {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 10px 0;
    line-height: 1.3;
  }

  .mega-featured-desc {
    font-size: 13px;
    line-height: 1.55;
    color: #475569;
    margin: 0 0 20px 0;
  }

  .mega-featured-link {
    font-size: 13px;
    font-weight: 700;
    color: #0056B3;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
  }

  .mega-featured-link:hover {
    color: #003366;
    text-decoration: underline;
  }

  .mega-col-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #64748B;
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #F1F5F9;
  }

  .mega-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mega-link-list li a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .mega-link-list li a:hover {
    background: #F1F5F9;
    transform: translateX(3px);
  }

  .mega-link-list li a i {
    font-size: 15px;
    color: #0056B3;
    margin-top: 3px;
    width: 18px;
    text-align: center;
  }

  .mega-link-list li a div strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
  }

  .mega-link-list li a div small {
    display: block;
    font-size: 11.5px;
    color: #64748B;
    margin-top: 2px;
  }

/* Official Caterpillar Header Layout Styling */
  .experiencefragment.header-xf {
    background: #FFFFFF !important;
    position: relative !important;
    width: 100% !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    padding: 0 !important;
    margin-top: -14px !important;
  }

  .cat-official-header-container {
    position: relative !important;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

  .cat-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 2px 0;
    gap: 24px;
  }

  .cat-logo-area .cat-brand-logo {
    max-height: 90px;
    width: auto;
    display: block;
    padding: 0;
    transition: max-height 0.3s ease;
  }

  .cat-search-area {
    flex: 1;
    max-width: 820px;
    margin: 0 16px 0 8px;
  }

  .cat-search-form {
    display: flex;
    align-items: center;
    width: 100%;
    height: 42px;
    border: 1.5px solid #0056B3;
    border-radius: 4px;
    box-sizing: border-box;
    background: #FFFFFF;
    overflow: hidden;
  }

  .cat-search-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    outline: none;
    padding: 0 16px;
    font-size: 15px;
    color: #111111;
    background: transparent;
    text-overflow: ellipsis;
  }

  .cat-search-btn {
    width: 48px;
    height: 100%;
    background: #0056B3;
    border: none;
    border-left: 1.5px solid #003366;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 16px;
    transition: background 0.2s ease;
  }

  .cat-search-btn:hover {
    background: #003366;
  }

  .cat-utility-area {
    display: flex;
    align-items: center;
  }

  .cat-contact-link {
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .cat-contact-link:hover {
    color: #0056B3;
  }

  .cat-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 4px 0;
  }

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

  .cat-nav-item a {
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
  }

  .cat-nav-item a:hover {
    color: #0056B3;
    text-decoration: underline;
  }

  .cat-nav-item a i {
    font-size: 11px;
    margin-top: 1px;
  }

  .cat-lang-selector a {
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  /* 8px Blue Accent Divider Stripe */
  .cat-yellow-divider {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 8px;
    background: #0056B3;
  }

  /* Caterpillar Hero Carousel & Header Overlay Styles */
  .herocomponent {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000000;
  }

  .hero-carousel-container {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
  }

  .cat-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .cat-hero-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: block !important;
    z-index: 2 !important;
  }

  .cat-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* Caterpillar Dark Left Panel overlay */
  .cat-slide-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 44%;
    min-width: 360px;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.82) 75%, rgba(0,0,0,0) 100%);
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFFFFF;
    box-sizing: border-box;
    z-index: 2;
  }

  .cat-slide-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.18;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: -0.5px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

  .cat-yellow-line {
    width: 48px;
    height: 5px;
    background: #0056B3;
    margin: 16px 0;
  }

  .cat-slide-desc {
    font-size: 15px;
    line-height: 1.5;
    color: #E2E8F0;
    margin: 0 0 24px 0;
    max-width: 380px;
  }

  .cat-btn-yellow {
    display: inline-block;
    background: #0056B3;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 12px 28px;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.2s ease;
    align-self: flex-start;
  }

  .cat-btn-yellow:hover {
    background: #003366;
    color: #FFFFFF;
  }

  /* Caterpillar Arrow & Play/Pause Controls */
  .cat-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.6);
    color: #FFFFFF;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s ease;
  }

  .cat-hero-arrow:hover {
    background: #0056B3;
    color: #FFFFFF;
  }

  .cat-hero-arrow.prev { left: 20px; }
  .cat-hero-arrow.next { right: 20px; }

  .cat-hero-pause {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(0,0,0,0.6);
    color: #FFFFFF;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
  }

  .cat-hero-pause:hover {
    background: #0056B3;
    color: #FFFFFF;
  }

  .cat-hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .cat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .cat-dot.active {
    background: #0056B3;
    width: 12px;
    height: 12px;
  }

  .cat-mobile-contact-item {
    display: none !important;
  }

  /* Mobile Hamburger Button Styling */
  .cat-mobile-hamburger-btn {
    display: none;
  }

  @media (max-width: 992px) {
    .cat-mobile-hamburger-btn {
      display: flex !important;
      align-items: center;
      justify-content: center;
      background: #0056B3 !important;
      color: #FFFFFF !important;
      border: 1.5px solid #0056B3 !important;
      border-radius: 4px;
      width: 38px !important;
      height: 34px !important;
      font-size: 17px !important;
      cursor: pointer;
      margin-left: 6px !important;
      transition: all 0.2s ease;
      flex-shrink: 0 !important;
      z-index: 10000000 !important;
    }
    .cat-mobile-hamburger-btn:hover {
      background: #FFCD11 !important;
      color: #071D3A !important;
      border-color: #FFCD11 !important;
    }

    .cat-utility-area {
      display: flex !important;
      align-items: center !important;
      flex-shrink: 0 !important;
    }

    .cat-utility-area .cat-contact-link {
      display: none !important;
    }

    header,
    .experiencefragment.header-xf {
      margin-top: 0 !important;
      padding-top: max(8px, env(safe-area-inset-top)) !important;
      background: #FFFFFF !important;
      position: relative !important;
      z-index: 9999999 !important;
    }

    .cat-official-header-container {
      position: relative !important;
      z-index: 9999999 !important;
      padding: 6px 10px 8px 10px !important;
    }

    #custom-mobile-overlay {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      pointer-events: none !important;
    }

    /* Mobile Vertical Dropdown Navigation (Toggled by the 3-Bar Button) - Crisp Sharp White Theme */
    .cat-nav-bar {
      display: none !important;
      position: absolute !important;
      top: 100% !important;
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      max-width: 100% !important;
      background: #FFFFFF !important;
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16) !important;
      border-top: 3px solid #FFCD11 !important;
      border-bottom: 4px solid #0056B3 !important;
      border-radius: 0 0 12px 12px !important;
      z-index: 9999999 !important;
      padding: 16px 14px 22px 14px !important;
      box-sizing: border-box !important;
      max-height: calc(100vh - 75px) !important;
      overflow-y: auto !important;
      -webkit-overflow-scrolling: touch !important;
      white-space: normal !important;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      filter: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
    }

    .cat-nav-bar.mobile-open {
      display: flex !important;
      flex-direction: column !important;
      animation: catVerticalDropdownAnim 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    @keyframes catVerticalDropdownAnim {
      from {
        opacity: 0;
        transform: translateY(-8px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .cat-nav-bar .cat-main-nav {
      display: block !important;
      width: 100% !important;
    }

    .cat-nav-bar .cat-nav-list {
      display: flex !important;
      flex-direction: column !important;
      gap: 8px !important;
      margin: 0 !important;
      padding: 0 !important;
      list-style: none !important;
      width: 100% !important;
    }

    .cat-nav-bar .cat-nav-item {
      display: block !important;
      width: 100% !important;
      position: static !important;
    }

    .cat-nav-bar .cat-nav-item > a {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      width: 100% !important;
      padding: 12px 15px !important;
      background: #F8FAFC !important;
      color: #071D3A !important;
      border: 1px solid #E2E8F0 !important;
      border-radius: 8px !important;
      font-size: 14.5px !important;
      font-weight: 700 !important;
      text-decoration: none !important;
      box-sizing: border-box !important;
      transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
      line-height: 1.2 !important;
    }

    .cat-nav-bar .cat-nav-item > a:hover,
    .cat-nav-bar .cat-nav-item.active > a {
      background: #0056B3 !important;
      color: #FFFFFF !important;
      border-color: #0056B3 !important;
    }

    .cat-nav-bar .cat-nav-item > a .nav-caret {
      font-size: 12px !important;
      color: #64748B !important;
      transition: transform 0.25s ease, color 0.2s ease !important;
    }

    .cat-nav-bar .cat-nav-item.active > a .nav-caret {
      transform: rotate(180deg) !important;
      color: #FFCD11 !important;
    }

    /* Sub-menu inside the vertical dropdown */
    .cat-nav-bar .cat-mega-dropdown {
      display: none !important;
      position: static !important;
      width: 100% !important;
      max-width: 100% !important;
      background: #F1F5F9 !important;
      border: 1px solid #CBD5E1 !important;
      border-radius: 8px !important;
      box-shadow: none !important;
      padding: 10px 10px !important;
      margin-top: 6px !important;
      box-sizing: border-box !important;
      opacity: 1 !important;
      visibility: visible !important;
      pointer-events: auto !important;
      transform: none !important;
    }

    .cat-nav-bar .cat-nav-item.active .cat-mega-dropdown {
      display: block !important;
    }

    .cat-nav-bar .mega-dropdown-inner {
      display: flex !important;
      flex-direction: column !important;
      background: transparent !important;
      gap: 10px !important;
    }

    .cat-nav-bar .mega-col.mega-featured {
      display: none !important;
    }

    .cat-nav-bar .mega-col {
      padding: 0 !important;
    }

    .cat-nav-bar .mega-col-title {
      color: #0056B3 !important;
      font-size: 11.5px !important;
      font-weight: 800 !important;
      text-transform: uppercase !important;
      letter-spacing: 0.5px !important;
      margin: 6px 0 4px 6px !important;
    }

    .cat-nav-bar .mega-link-list {
      display: flex !important;
      flex-direction: column !important;
      gap: 4px !important;
      margin: 0 !important;
      padding: 0 !important;
      list-style: none !important;
    }

    .cat-nav-bar .mega-link-list li a {
      display: flex !important;
      align-items: center !important;
      gap: 10px !important;
      padding: 9px 12px !important;
      border-radius: 6px !important;
      background: #FFFFFF !important;
      border: 1px solid #E2E8F0 !important;
      color: #0F172A !important;
      text-decoration: none !important;
      font-size: 13px !important;
      transition: all 0.2s ease !important;
    }

    .cat-nav-bar .mega-link-list li a:hover {
      background: #EBF3FC !important;
      color: #0056B3 !important;
      border-color: #0056B3 !important;
      padding-left: 14px !important;
    }

    .cat-nav-bar .mega-link-list li a i {
      color: #0056B3 !important;
      font-size: 14px !important;
      width: 18px !important;
      text-align: center !important;
    }

    .cat-nav-bar .mega-link-list li a div strong {
      display: block !important;
      color: #0F172A !important;
      font-size: 13px !important;
      font-weight: 600 !important;
    }

    .cat-nav-bar .mega-link-list li a div small {
      display: none !important;
    }

    /* Vertical Dropdown "Contact Us" Button */
    .cat-nav-bar .cat-mobile-contact-item {
      display: block !important;
      width: 100% !important;
      margin-top: 4px !important;
    }

    .cat-nav-bar .cat-mobile-contact-item a {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 8px !important;
      width: 100% !important;
      padding: 12px 16px !important;
      background: #FFCD11 !important;
      color: #071D3A !important;
      border-radius: 8px !important;
      font-size: 14.5px !important;
      font-weight: 800 !important;
      text-decoration: none !important;
      border: none !important;
      box-sizing: border-box !important;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
      transition: background 0.2s ease !important;
    }

    .cat-nav-bar .cat-mobile-contact-item a:hover {
      background: #E5B80E !important;
    }

    /* Vertical Dropdown Language Selector Button */
    .cat-nav-bar .cat-lang-selector {
      display: block !important;
      width: 100% !important;
      margin: 8px 0 0 0 !important;
      padding-top: 8px !important;
      border-top: 1px solid #E2E8F0 !important;
    }

    .cat-nav-bar .cat-lang-selector a {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 8px !important;
      width: 100% !important;
      padding: 12px 16px !important;
      background: #0056B3 !important;
      border: 1.5px solid #0056B3 !important;
      border-radius: 8px !important;
      color: #FFFFFF !important;
      font-size: 14px !important;
      font-weight: 700 !important;
      text-decoration: none !important;
      box-sizing: border-box !important;
      transition: all 0.2s ease !important;
    }

    .cat-nav-bar .cat-lang-selector a:hover {
      background: #071D3A !important;
      border-color: #071D3A !important;
      color: #FFFFFF !important;
    }

    /* Compact Header Bar for Mobile Screens */
    .cat-top-bar {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      padding: 6px 0 !important;
      gap: 6px !important;
      flex-wrap: nowrap !important;
      width: 100% !important;
    }

    .cat-logo-area {
      flex-shrink: 0 !important;
      display: flex !important;
      align-items: center !important;
    }

    .cat-logo-area .cat-brand-logo,
    .cat-brand-logo {
      max-height: 40px !important;
      width: auto !important;
      display: block !important;
    }

    .cat-search-area {
      flex: 1 1 auto !important;
      min-width: 0 !important;
      margin: 0 4px !important;
      max-width: none !important;
    }

    .cat-search-form {
      display: flex !important;
      width: 100% !important;
      min-width: 0 !important;
      height: 34px !important;
      border-radius: 4px !important;
      overflow: hidden !important;
    }

    .cat-search-input {
      flex: 1 1 auto !important;
      min-width: 0 !important;
      width: 100% !important;
      font-size: 11.5px !important;
      padding: 0 8px !important;
      height: 100% !important;
    }

    .cat-search-btn {
      width: 34px !important;
      height: 34px !important;
      font-size: 12px !important;
      flex-shrink: 0 !important;
      padding: 0 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
    }

    .cat-slide-panel {
      width: 65% !important;
      min-width: 320px !important;
      padding: 40px 32px !important;
    }
  }

  @media (max-width: 767px) {
    html, body {
      overflow-x: hidden !important;
      width: 100% !important;
    }

    .cat-official-header-container {
      padding: 6px 8px 8px 8px !important;
    }

    .cat-top-bar {
      padding: 5px 0 !important;
      gap: 5px !important;
    }

    .cat-logo-area .cat-brand-logo,
    .cat-brand-logo {
      max-height: 34px !important;
    }

    .cat-search-area {
      margin: 0 4px !important;
    }

    .cat-search-form {
      height: 32px !important;
    }

    .cat-search-input {
      font-size: 11px !important;
      padding: 0 6px !important;
    }

    .cat-search-btn {
      width: 32px !important;
      height: 32px !important;
      font-size: 12px !important;
    }

    .cat-mobile-hamburger-btn {
      width: 36px !important;
      height: 32px !important;
      font-size: 15px !important;
      margin-left: 4px !important;
    }

    .hero-carousel-container {
      height: 440px !important;
    }

    .cat-slide-panel {
      width: 100% !important;
      min-width: 100% !important;
      background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.95) 100%) !important;
      padding: 24px 20px !important;
    }

    .cat-slide-title {
      font-size: 22px !important;
      line-height: 1.25 !important;
    }

    .cat-slide-desc {
      font-size: 13px !important;
      margin-bottom: 16px !important;
    }

    .cat-btn-yellow {
      padding: 10px 22px !important;
      font-size: 12px !important;
      width: 100% !important;
      text-align: center !important;
    }

    .cat-hero-arrow {
      width: 34px !important;
      height: 34px !important;
      font-size: 13px !important;
    }
    .cat-hero-arrow.prev { left: 10px !important; }
    .cat-hero-arrow.next { right: 10px !important; }

    .cat-hero-dots {
      bottom: 12px !important;
      gap: 6px !important;
    }
    .cat-dot {
      width: 8px !important;
      height: 8px !important;
    }
    .cat-dot.active {
      width: 10px !important;
      height: 10px !important;
    }

    /* Grid layout mobile stacking */
    .aem-GridColumn {
      width: 100% !important;
      float: none !important;
      clear: both !important;
    }

    .cmp-tabs__tablist {
      flex-direction: column !important;
      align-items: stretch !important;
    }

    .cmp-tabs__tab {
      width: 100% !important;
      text-align: center !important;
    }
  }

  /* Clean Footer Brand Logo (No box-shadow, no borders, no white background) */
  #image-7a00dddc39 {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }
  #image-7a00dddc39 .cmp-image__image,
  .cmp-image #image-7a00dddc39 img,
  .cmp-image__image[alt="Jeomatee Logo"] {
    width: 220px !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: inline-block !important;
    margin: 10px 0 !important;
    filter: none !important;
  }
/* ==========================================================================
   PAGE HERO & STANDALONE PAGE STYLING
   ========================================================================== */
.jnl-page-hero {
  position: relative;
  width: 100%;
  min-height: 280px;
  background-color: #071D3A;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.jnl-page-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(7,29,58,0.96) 0%, rgba(7,29,58,0.88) 55%, rgba(7,29,58,0.65) 100%);
  z-index: 1;
}
.jnl-page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 40px 24px;
  box-sizing: border-box;
}
.jnl-page-badge {
  display: inline-block;
  background: #FFCD11;
  color: #071D3A;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.jnl-page-title {
  font-size: 36px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 10px 0;
  line-height: 1.2;
}
.jnl-page-subtitle {
  font-size: 16px;
  color: #CBD5E1;
  margin: 0 0 18px 0;
  max-width: 800px;
  line-height: 1.5;
}
.jnl-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94A3B8;
}
.jnl-breadcrumb a {
  color: #FFCD11;
  text-decoration: none;
  font-weight: 600;
}
.jnl-breadcrumb a:hover {
  text-decoration: underline;
}
.jnl-breadcrumb i {
  font-size: 10px;
  color: #64748B;
}

.jnl-page-body {
  max-width: 1360px;
  margin: 0 auto;
  padding: 48px 24px 64px 24px;
  box-sizing: border-box;
}
.jnl-page-main-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
}
@media (max-width: 992px) {
  .jnl-page-main-grid {
    grid-template-columns: 1fr;
  }
}
.jnl-main-content {
  background: #FFFFFF;
}
.jnl-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.jnl-sidebar-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
}
.jnl-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #071D3A;
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #0056B3;
}
.jnl-sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.jnl-sidebar-links li {
  margin-bottom: 10px;
}
.jnl-sidebar-links li a {
  color: #334155;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  padding: 6px 8px;
  border-radius: 4px;
}
.jnl-sidebar-links li a:hover,
.jnl-sidebar-links li a.active {
  background: #E2E8F0;
  color: #0056B3;
  padding-left: 12px;
}
.jnl-sidebar-cta {
  background: #071D3A;
  color: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}
.jnl-sidebar-cta h4 {
  font-size: 18px;
  margin: 0 0 10px 0;
  color: #FFFFFF;
}
.jnl-sidebar-cta p {
  font-size: 13px;
  color: #94A3B8;
  margin: 0 0 20px 0;
  line-height: 1.5;
}
.jnl-cta-banner {
  background: linear-gradient(135deg, #071D3A 0%, #0056B3 100%);
  border-radius: 8px;
  padding: 36px 32px;
  color: #FFFFFF;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.jnl-cta-text h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: #FFFFFF;
}
.jnl-cta-text p {
  margin: 0;
  color: #E2E8F0;
  font-size: 14.5px;
}
.jnl-lead-text {
  font-size: 16px;
  line-height: 1.65;
  color: #1E293B;
  font-weight: 500;
  margin-bottom: 28px;
}
.jnl-content-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 8px;
  margin: 24px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ==========================================================================
   ADVANCED MOBILE & TABLET RESPONSIVENESS ENHANCEMENTS
   ========================================================================== */

/* Tablet & Smaller Laptops (<= 992px) */
@media (max-width: 992px) {
  .jnl-page-main-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .jnl-sidebar-col {
    order: 2;
  }
  .jnl-main-content {
    order: 1;
  }
  .jnl-page-hero-content {
    padding: 36px 20px !important;
  }
  .jnl-page-title {
    font-size: 30px !important;
  }
}

/* Mobile Phones (<= 767px) */
@media (max-width: 767px) {
  .jnl-page-hero {
    min-height: 200px !important;
  }
  .jnl-page-hero-content {
    padding: 24px 16px !important;
  }
  .jnl-page-title {
    font-size: 24px !important;
    line-height: 1.25 !important;
  }
  .jnl-page-subtitle {
    font-size: 14px !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
  }
  .jnl-breadcrumb {
    font-size: 12px !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .jnl-page-body {
    padding: 24px 16px 48px 16px !important;
  }
  .jnl-lead-text {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
  }
  .jnl-content-img {
    max-height: 220px !important;
    margin: 16px 0 !important;
  }
  .jnl-grid-2,
  .jnl-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .jnl-card {
    padding: 18px 16px !important;
  }
  .jnl-ceo-card {
    padding: 20px 16px !important;
  }
  .jnl-ceo-card h3 {
    font-size: 20px !important;
  }
  .jnl-specs-table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .jnl-cta-banner {
    padding: 24px 16px !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
    margin-top: 32px !important;
  }
  .jnl-cta-text h3 {
    font-size: 20px !important;
  }
  .jnl-cta-banner .cat-btn-yellow {
    width: 100% !important;
    text-align: center !important;
  }
}

/* Small Smart Phones (<= 480px) */
@media (max-width: 480px) {
  .cat-official-header-container {
    padding: 6px 6px 6px 6px !important;
  }
  .cat-top-bar {
    padding: 5px 0 !important;
    gap: 4px !important;
  }
  .cat-logo-area .cat-brand-logo,
  .cat-brand-logo {
    max-height: 28px !important;
  }
  .cat-search-area {
    margin: 0 3px !important;
  }
  .cat-search-form {
    height: 30px !important;
  }
  .cat-search-input {
    font-size: 10.5px !important;
    padding: 0 5px !important;
  }
  .cat-search-btn {
    width: 30px !important;
    height: 30px !important;
    font-size: 11px !important;
  }
  .cat-mobile-hamburger-btn {
    width: 34px !important;
    height: 30px !important;
    font-size: 14px !important;
    margin-left: 2px !important;
  }
  .jnl-page-title {
    font-size: 21px !important;
  }
  .jnl-page-subtitle {
    font-size: 13px !important;
  }
}

/* ==========================================================================
   JEOMATEE CORPORATE NEWS & DEVELOPMENTS UI SYSTEM
   ========================================================================== */
.jnl-news-section {
  padding: 64px 0 72px 0;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.jnl-news-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.jnl-news-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 20px;
}

.jnl-news-tagline {
  display: inline-block;
  background: #FFCD11;
  color: #071D3A;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.jnl-news-main-title {
  font-size: 32px;
  font-weight: 800;
  color: #071D3A;
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.jnl-news-sub-title {
  font-size: 15.5px;
  color: #64748B;
  margin: 0;
  max-width: 620px;
  line-height: 1.5;
}

.jnl-news-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #071D3A;
  color: #FFCD11;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  border: 1.5px solid #071D3A;
}

.jnl-news-all-btn:hover {
  background: #0056B3;
  color: #FFFFFF;
  border-color: #0056B3;
  gap: 14px;
}

/* 3-Column News Grid */
.jnl-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

@media (max-width: 640px) {
  .jnl-news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Individual News Card */
.jnl-news-card {
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  box-shadow: 0 3px 12px rgba(7, 29, 58, 0.05);
  position: relative;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.jnl-news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: transparent;
  transition: background 0.25s ease;
  z-index: 5;
}

.jnl-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(7, 29, 58, 0.12);
  border-color: #CBD5E1;
}

.jnl-news-card:hover::before {
  background: #FFCD11;
}

/* Image Thumbnail Box */
.jnl-news-img-box {
  position: relative;
  width: 100%;
  height: 220px;
  background: #071D3A;
  overflow: hidden;
}

.jnl-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.jnl-news-card:hover .jnl-news-img {
  transform: scale(1.06);
}

.jnl-news-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 29, 58, 0.94);
  color: #FFCD11;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  border-left: 3px solid #FFCD11;
  z-index: 2;
}

/* News Content Body */
.jnl-news-body {
  padding: 24px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.jnl-news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: #64748B;
  margin-bottom: 12px;
}

.jnl-news-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.jnl-news-source {
  background: #EFF6FF;
  color: #0056B3;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11.5px;
  border: 1px solid #BFDBFE;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.3px;
}

.jnl-news-meta i {
  color: #0056B3;
  font-size: 12px;
}

.jnl-news-title {
  font-size: 18px;
  font-weight: 800;
  color: #071D3A;
  line-height: 1.4;
  margin: 0 0 10px 0;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jnl-news-card:hover .jnl-news-title {
  color: #0056B3;
}

.jnl-news-text {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.6;
  margin: 0 0 18px 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jnl-news-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0056B3;
  text-decoration: none;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  margin-top: auto;
  transition: gap 0.2s ease, color 0.2s ease;
}

.jnl-news-card:hover .jnl-news-action {
  color: #071D3A;
  gap: 12px;
}

/* Category Filter Tabs for Newsroom */
.jnl-news-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 32px 0;
  align-items: center;
}

.jnl-filter-btn {
  padding: 8px 18px;
  border-radius: 30px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.jnl-filter-btn:hover {
  border-color: #071D3A;
  color: #071D3A;
  background: #F1F5F9;
}

.jnl-filter-btn.active {
  background: #071D3A;
  color: #FFCD11;
  border-color: #071D3A;
  box-shadow: 0 4px 12px rgba(7, 29, 58, 0.15);
}

/* Featured Top Story in Newsroom */
.jnl-featured-story {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(7, 29, 58, 0.08);
  margin-bottom: 36px;
  border-left: 5px solid #FFCD11;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jnl-featured-story:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(7, 29, 58, 0.12);
}

.jnl-featured-img-box {
  position: relative;
  width: 100%;
  min-height: 280px;
  overflow: hidden;
  background: #071D3A;
}

.jnl-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.jnl-featured-story:hover .jnl-featured-img {
  transform: scale(1.05);
}

.jnl-featured-content {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jnl-featured-title {
  font-size: 23px;
  font-weight: 800;
  color: #071D3A;
  line-height: 1.3;
  margin: 10px 0 14px 0;
}

.jnl-featured-desc {
  font-size: 14.5px;
  color: #64748B;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

@media (max-width: 900px) {
  .jnl-featured-story {
    grid-template-columns: 1fr;
  }
  .jnl-featured-img-box {
    height: 220px;
    min-height: auto;
  }
  .jnl-featured-content {
    padding: 24px 20px;
  }
  .jnl-featured-title {
    font-size: 20px;
  }
}

/* Interactive News Article Modal */
.jnl-article-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 29, 58, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}

.jnl-article-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.jnl-article-modal-container {
  background: #FFFFFF;
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.jnl-article-modal-backdrop.active .jnl-article-modal-container {
  transform: translateY(0) scale(1);
}

.jnl-article-modal-header {
  background: #071D3A;
  color: #FFFFFF;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid #FFCD11;
}

.jnl-article-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.jnl-article-modal-close:hover {
  background: #FFCD11;
  color: #071D3A;
  transform: rotate(90deg);
}

.jnl-article-modal-scroll {
  padding: 28px 32px;
  overflow-y: auto;
  line-height: 1.7;
  color: #334155;
}

.jnl-article-modal-img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 22px;
}

.jnl-article-modal-footer {
  padding: 14px 24px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Global & Homepage Footer Visibility Assurance */
footer.experiencefragment.footer-xf,
footer.home-page-footer-xf {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 20 !important;
  width: 100% !important;
  clear: both !important;
}

/* Real-Time Live Feed Status Bar & Timer Ticker */
.jnl-live-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 4px solid #0056B3;
  padding: 10px 18px;
  border-radius: 6px;
  margin: 16px 0 24px 0;
  font-size: 13px;
  color: #334155;
}

.jnl-live-badge-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.jnl-live-tag {
  background: #071D3A;
  color: #FFCD11;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.jnl-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: jnlPulse 1.8s infinite;
}

.jnl-refresh-btn {
  background: #FFFFFF;
  border: 1.5px solid #0056B3;
  color: #0056B3;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.jnl-refresh-btn:hover {
  background: #0056B3;
  color: #FFFFFF;
}

.jnl-refresh-btn.spinning i {
  animation: jnlSpin 1s linear infinite;
}

@keyframes jnlSpin {
  100% { transform: rotate(360deg); }
}

@keyframes jnlPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.cat-search-form {
  position: relative !important;
}

.sidebar-search form {
  position: relative !important;
}

/* ==========================================================================
   JEOMATEE MULTI-LANGUAGE TRANSLATION SYSTEM & MODAL
   ========================================================================== */
.jnl-lang-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 29, 58, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 10000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.jnl-lang-modal-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
}

.jnl-lang-modal-dialog {
  background: #FFFFFF;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border-top: 5px solid #FFCD11;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.jnl-lang-modal-backdrop.open .jnl-lang-modal-dialog {
  transform: translateY(0) scale(1);
}

.jnl-lang-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #071D3A;
  color: #FFFFFF;
  position: relative;
}

.jnl-lang-header-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFCD11;
  color: #071D3A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.jnl-lang-header-info {
  flex: 1;
}

.jnl-lang-modal-title {
  margin: 0 0 4px 0;
  font-size: 19px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.2px;
}

.jnl-lang-modal-subtitle {
  margin: 0;
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.4;
}

.jnl-lang-modal-close {
  background: transparent;
  border: none;
  font-size: 28px;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.jnl-lang-modal-close:hover {
  color: #FFCD11;
}

.jnl-lang-modal-search-wrap {
  padding: 14px 24px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  position: relative;
  display: flex;
  align-items: center;
}

.jnl-lang-modal-search-wrap i {
  position: absolute;
  left: 38px;
  font-size: 15px;
  color: #64748B;
  pointer-events: none;
}

.jnl-lang-modal-search-wrap input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border: 1.5px solid #CBD5E1;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #FFFFFF;
}

.jnl-lang-modal-search-wrap input:focus {
  border-color: #0056B3;
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.12);
}

.jnl-lang-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: 480px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  background: #FFFFFF;
}

.jnl-lang-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.jnl-lang-card:hover {
  border-color: #0056B3;
  background: #F0F7FF;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.08);
}

.jnl-lang-card.active {
  border-color: #FFCD11;
  background: #FFFDF0;
  box-shadow: 0 0 0 2px #FFCD11;
}

.jnl-lang-card-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jnl-lang-flag {
  font-size: 24px;
  line-height: 1;
}

.jnl-lang-names {
  display: flex;
  flex-direction: column;
}

.jnl-lang-native {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
}

.jnl-lang-english {
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
}

.jnl-lang-check {
  display: none;
  font-size: 14px;
  color: #D97706;
  font-weight: 800;
}

.jnl-lang-card.active .jnl-lang-check {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 3px 8px;
  background: #FEF3C7;
  border-radius: 12px;
}

.jnl-lang-modal-footer {
  padding: 14px 24px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.jnl-lang-reset-btn {
  background: transparent;
  border: 1.5px solid #CBD5E1;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.jnl-lang-reset-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
  border-color: #94A3B8;
}

.jnl-lang-footer-hint {
  font-size: 12px;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Google Translate Frame Shield (Prevents top bar shifting and iframe disruption) */
.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  position: absolute !important;
  top: -9999px !important;
}

body {
  top: 0px !important;
  position: static !important;
}

#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
}

#google_translate_element {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0.001 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.skiptranslate {
  display: none !important;
}

body > .skiptranslate {
  display: none !important;
}

font > font {
  font: inherit !important;
}
