/*!
Theme Name: fortiTRUST
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fortitrust
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

fortiTRUST is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
*/
.forti-marquee img.deensimc-marquee-image {
    width: auto !important;
}
/* Hide on Desktop */
.menu-class {
    display: none !important;
}
/* Spacing */
.menu-responsive.fort-trust a {
    margin-left: 16px !important;
    margin-right: 16px !important;
}
.policy-styling a:hover {
    color: #001e39 !important;
}
.menu-responsive.fort-trust ul {
    padding-bottom: 6px !important;
}

/* Remove default Elementor underline */
.menu-responsive.fort-trust .e--pointer-underline .elementor-item:before { 
    content: none !important; 
}

/* Base menu item + FIX for dropdown icon */
.menu-responsive.fort-trust .elementor-nav-menu--main .elementor-item { 
    position: relative; 
    display: inline-flex !important;
    align-items: center;
    gap: 0px;
    transition: all 0.3s ease-in-out; 
    font-weight: 500; /* keep consistent → no jerk */
}

/* Ensure icon stays aligned */
.menu-responsive.fort-trust .elementor-nav-menu--main .elementor-item .sub-arrow {
    display: inline-flex;
    align-items: center;
}

/* Optional icon alignment */
.menu-responsive.fort-trust .elementor-nav-menu--main .sub-arrow i,
.menu-responsive.fort-trust .elementor-nav-menu--main .sub-arrow svg {
    vertical-align: middle;
}

/* Custom underline */
.menu-responsive.fort-trust .elementor-nav-menu--main .elementor-item::after {
    content: ""; 
    position: absolute;  
    bottom: -6px; 
    height: 2px !important;
    width: 0; 
    background: #00B18F;
    transition: width 0.3s ease-in-out; 
}

/* Hover (no font-weight change → no shift) */
.menu-responsive.fort-trust .elementor-nav-menu--main .elementor-item:hover::after { 
    width: 100%; 
}

/* Active */
.menu-responsive.fort-trust .elementor-nav-menu--main .elementor-item.elementor-item-active { 
    color: #00B18F !important; 
}

.menu-responsive.fort-trust .elementor-nav-menu--main .elementor-item.elementor-item-active::after { 
    width: 100%; 
    background: #00B18F !important; 
}
/* Parent active when child (dropdown) is active */
.menu-responsive.fort-trust 
.elementor-nav-menu--main 
.menu-item-has-children.current-menu-ancestor > .elementor-item {
    color: #00B18F !important;
}

/* Underline also active */
.menu-responsive.fort-trust 
.elementor-nav-menu--main 
.menu-item-has-children.current-menu-ancestor > .elementor-item::after {
    width: 100%;
    background: #00B18F !important;
}

.case-content h3 {
    margin-bottom: -10px;
    font-size: 22px !important;
    font-weight: 700;
    font-family: 'Inter';
    color: #2E2E2E !important;
    margin-top: 25px;
}
.case-content b {
    font-weight: 600;
}
}
/* Wrapper */
.pagination-arrows .elementor-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  position: relative;
}

/* Page numbers */
.pagination-arrows .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: #f1f1f1;
  color: #555;
  text-decoration: none;
  font-size: 14px;

}

/* Active */
.pagination-arrows .page-numbers.current {
  background: #16a085;
  color: #fff;
}
/* Dots */
.pagination-arrows .page-numbers.dots {
  background: transparent;
  width: auto;
}
.forti-container {
    cursor: pointer;
}
.pagination-arrows a.page-numbers.next {
    color: #00B18F !important;
}
.pagination-arrows span.page-numbers.prev {
    color: rgba(0, 0, 0, 0.3) !important;
}
.pagination-arrows .heading-grid {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}
@media (min-width: 992px) {
    .post-heading {
        min-height: 70px;
    }
}
/* Mobile + Tablet */
@media (max-width: 1024px){

  .menu-responsive.fort-trust .elementor-nav-menu--dropdown .elementor-item::after{
      content: none !important;
      display: none !important;
  }

  .menu-responsive.fort-trust .elementor-nav-menu--dropdown .elementor-item{
      text-decoration: none;
      transition: all 0.3s ease;
  }

  .menu-responsive.fort-trust .elementor-nav-menu--dropdown .elementor-item:hover{
      color: #000 !important;
      text-decoration-line: underline;
      text-decoration-color: #00B18F;
      text-decoration-thickness: 2px;
      text-underline-offset: 6px;
  }

  .menu-responsive.fort-trust .elementor-nav-menu--dropdown .elementor-item.elementor-item-active{
      color: #000 !important;
      text-decoration-line: underline;
      text-decoration-color: #00B18F;
      text-decoration-thickness: 2px;
      text-underline-offset: 6px;
  }
.case-content h3 {
    font-size: 18px !important;
    font-weight: 700;
    font-family: 'Inter';
    color: #2E2E2E !important;
}

}
/* Show on Mobile + Tablet */
@media (max-width: 1024px){
    .menu-class li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-29 {
        display: block !important;
    }
}
@media (max-width: 767px) {
  .case-content h3 {
    font-size: 16px !important;
    font-weight: 700;
    font-family: 'Inter';
    color: #2E2E2E !important;
}
.menu-class {
    display: block !important;
}
}
