/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* Body Styling */
body, html {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #333;
    background-color: #fdfdfd;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.75rem; font-weight: 500; }
h4 { font-size: 1.5rem; font-weight: 500; }
h5 { font-size: 1.25rem; font-weight: 400; }
h6 { font-size: 1rem; font-weight: 400; }

p, li, span, input {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

/* Link Styling */
a {
    text-decoration: none;
    color: #8c0000;
    font-size: inherit;
    transition: color 0.2s ease-in-out;
}
a:hover {
    color: #ff6666; /* Lighter red for hover effect */
}

/* Header Styling */
header {
    background-color: #B90909;
    color: white;
    padding: 16px 0 !important;
    text-align: center;
}

/* Header Aside Styling */
#header-aside .table-cell-mid .header-aside-custom {
  height: 25px;
  font-size:12px;
  font-family: 'Poppins', sans-serif;
  color: white;
}
/* Styling for the main branding container */
#branding {
  height: 25px;
  }


/* Navigation */
nav {
    justify-content: center;
    background-color: #000;
}
nav a {
    color: #ffffff;
    padding: 15px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 300;
    transition: color 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}
nav a:hover {
    background-color: #B90909;
}

/* Dropdown Menu */
.dropdown-menu {
		list-style-type: none;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    position: absolute;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    list-style: none; /* Remove bullets in dropdown */
    padding: 0;
    margin: 0;
}
.dropdown:hover .dropdown-menu {
		list-style-type: none;
    opacity: 1;
    visibility: visible;
	 color: white;
}
    #menu-item-37703,
		#menu-item-37703,
    #menu-item-21103,
    #menu-item-33418,
    #menu-item-24251,
    #menu-item-33424,
    #menu-item-33422,
    #menu-item-34683,
		#menu-item-33919,
		#menu-item-33920,
		#menu-item-34209,
		#menu-item-34221,
		#menu-item-33921,
		#menu-item-35024, 
		#menu-item-35025,
		#menu-item-37506,
		#menu-item-37695,
		#menu-item-31990,
		#menu-item-37696 {
				list-style-type: none;
				color: #ffffff;
}

.menu-item a:hover {
		list-style-type: none;
    color: #ff0000;
    background-color: rgba(255, 0, 0, 0.1);
}

/* Buttons */
.button, .btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    background: linear-gradient(135deg, #B90909, #cc0000);
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.button:hover, .btn:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

/* Container and Card Styling */
.container, .card, .job-ad-container {
    background-color: #fdfdfd;    
    margin: 20px auto;
    border-radius: 10px;
    max-width:900px;
    cursor: pointer;
}
.card:hover, .container:hover, .job-ad-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

    background-color: #fdfdfd;    
    max-width: 900px;
    cursor: pointer;
}
.card:hover, .container:hover, .job-ad-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Job Board Styling */
.job-board {
    max-width: 900px;
    margin: 20px auto;
    padding: 30px;
    background-color: #fdfdfd;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Job Listing */
.job-listing, .job-ad-container section {
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}
.job-listing:hover, .job-ad-container section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Job Title */
.job-title {
    font-size: 3em;
    font-weight: 700;
    color: #B90909; /* Talentlush red */
    margin-bottom: 12px;
    transition: color 0.3s ease;
}
.job-title:hover {
    color: #8c0000; /* Darker red on hover */
}

/* Company Name and Location */
.company-location, .job-company {
    font-size: 2em;
    font-weight: 800;
    color: #333333; /* Dark gray for contrast */
    margin-bottom: 20px;
}
.job-location {
    font-size: 1em;
    color: #7f8c8d; /* Subtle gray */
    font-style: italic;
    margin-bottom: 15px;
}

/* Job Description & Requirements */
.job-description, .job-requirements {
    font-size: 1.5em;
	  color: #34495e;
    line-height: 1.6;
    margin-bottom: 20px;
	max-width: 900px; /* Adjust as needed */
    margin: 20px; 
    padding: 20px; /* Adds space within the container */
    box-sizing: border-box; /* Ensures padding is included in the total width */
}
}
.job-requirements ul {
    padding-left: 20px;
    list-style: disc;
}

/* Apply Button */
.apply-now-btn, .apply-button {
    display: inline-block;
    background: #B90909;
    color: #ffffff;
    padding: 12px 20px;
    font-size: 1em;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}
.apply-now-btn:hover, .apply-button:hover {
    background-color: #8c0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

div.single_job_listing {
    max-width: 900px; /* Adjust as needed */
    margin: 0 auto;
    padding: 20px; /* Adds space within the container */
    box-sizing: border-box; /* Ensures padding is included in the total width */
}

/*Tablet and Mobile Phone View of Position in Single Job Listing */
@media (max-width: 480px) {
    .loop-title.entry-title {
        margin-left:6px; /* Adds space on the left */
        margin-right: 6px; /* Adds space on the right */
			margin-top: 0px;
    }

    .loop-title.entry-title:hover {
        transform: scale(1.01); /* Subtle effect */
        color: #B90909; /* Maintain hover color */
    }

    div.company {
        font-size: 16px; /* Mobile-friendly size */
        font-weight: 600;
        margin: 0 6px 6px 6px; /* Adds left/right margins and bottom spacing */
        line-height: 1.4; /* Good readability */
    }
}


/* Blog Post Styling */
.blog-post {
    background-color: #fdfdfd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.blog-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #B90909;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}
.blog-title:hover {
    color: #ff0000;
}

/* Hero Section */
.hero {
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fdfdfd;
    padding: 80px 20px;
    text-align: center;
}
.hero h1 {
    font-size: 2.2rem;
}

/* Content Styling */
.blog-post-content {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #333333;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Headings Spacing */
.blog-post-content h2 {
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 600;
}
.blog-post-content h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 500;
}
.blog-post-content h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Responsive Design */
/* Tablet View */
@media (max-width: 1024px) {
    .blog-title {
        font-size: 1.6rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .blog-post-content {
        font-size: 17px;
        line-height: 1.6;
    }
    .blog-post-content h2 {
        font-size: 1.5rem;
    }
    .blog-post-content h3 {
        font-size: 1.3rem;
    }
    .blog-post-content h4 {
        font-size: 1.1rem;
    }
}

/* Mobile Phone View */
@media (max-width: 768px) {
    .blog-title {
        font-size: 1.4rem;
    }
    .hero h1 {
        font-size: 1.8rem;
        padding: 40px 10px;
    }
    .blog-post-content {
        font-size: 16px;
        line-height: 1.5;
    }
    .blog-post-content h2 {
        font-size: 1.4rem;
        margin-top: 20px;
        margin-bottom: 15px;
    }
    .blog-post-content h3 {
        font-size: 1.2rem;
        margin-top: 15px;
        margin-bottom: 10px;
    }
    .blog-post-content h4 {
        font-size: 1rem;
        margin-top: 10px;
        margin-bottom: 5px;
    }
}


/* Footer Styling */
footer {
    background-color: #000;
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 5px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.1rem; }
    h6 { font-size: 1rem; }

    .button, .btn {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }

    nav {
        flex-direction: column;
			list-style-type: none;
    }
    nav a {
			list-style-type: none;
        padding: 10px;
        font-size: 1rem;
        max-width: 992px;
    }
	
   @media (max-width: 768px) {
    .menu-item, .dropdown-menu, .dropdown-menu li {
        list-style-type: none;
    }
}
    .dropdown-menu {
        list-style-type: none; /* Remove bullets in dropdown menu */
        min-width: 200px;
        border-radius: 0;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }
}

/* Mobile menu styling for specific items */
@media (max-width: 768px) {
    #menu-item-37703,
		#menu-item-37703,
    #menu-item-21103,
    #menu-item-33418,
    #menu-item-24251,
    #menu-item-33424,
    #menu-item-33422,
    #menu-item-34683,
		#menu-item-33919,
		#menu-item-33920,
		#menu-item-34209,
		#menu-item-34221,
		#menu-item-33921,
		#menu-item-35024, 
		#menu-item-35025,
		#menu-item-37506,
		#menu-item-37695,
		#menu-item-31990,
		#menu-item-37696 {
				list-style-type: none;
			   display: block;
        padding: 2px 5px;
        font-family: 'Poppins', sans-serif;
        font-size: 12px
        color: #ffffff;
        background-color: #000;
        text-align: left;
        text-decoration: none;
        transition: color 0.3s ease, background-color 0.3s ease;
        width: 100%; /* Full width for better alignment */
        box-sizing: border-box;
    }

    /* Styling for submenu items */
    .dropdown-menu {
        list-style-type: none;
        background-color: #333;
				color: #ffffff;
        border-radius: 4px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    /* Each submenu link */
    .dropdown-menu li a {
				list-style-type: none;
        display: block;
        padding: 8px 12px;
        font-size: 12px;
        color: #ffffff;
        background-color: #333;
        text-align: left;
        text-decoration: none;
    }

    /* Submenu hover effect */
    .dropdown-menu li a:hover {
				list-style-type: none;
        background-color: #B90909;
			  text-align: left;
				
    }
    
    /* Ensuring submenu visibility and alignment */
    .dropdown:hover .dropdown-menu
	{
				list-style-type: none;
        opacity: 1;
        visibility: visible;
        position: relative; /* Keeps submenu items aligned under their parent */
        left: 1;
    }
}

/* Global */
/* Log in desktop and web */
#menu-item-22910,
#menu-item-21801,
#menu-item-22901 {
  font-size: 13px; /* Adjust to a readable size */
  color: gray;
  text-align: center;
	align-items: middle;
	}

#topbar {
  height: 35px; /* Remove the comma */
}
.searchtext {
		 height: 35px;
  font-size: 13px;
	}
.fas.fa-search { /* Add a dot before class selectors */
  font-size: 13px; /* Adjust to a readable size */
  color: gray;
	}

#topbar-right {
  height: 40px;
}

#topbar-right-inner { /* Add a hash for ID or dot for class */
  height: 40px;
}
/* logo branding background */
table.hgrid-span-12 {
  height: 40px;
}

/* Mobile menu styling for specific items */
@media (max-width: 768px) {
  #menu-item-22910,
  #menu-item-21801,
  #menu-item-22901 {
    font-size: 12px; /* Adjust to a readable size */
    color: gray;
  }
.searchtext {
  font-size: 12px;
	}
  .fas.fa-search {
    font-size: 12px; /* Adjust to a readable size */
    color: gray;
  }
		.screen-reader-text {
  font-size: 12px; /* Added the missing semicolon */
}
  #topbar {
    height: 80px;
  }

  #topbar-right {
    height: 80px;
  }

  #topbar-right-inner {
    height: 80;
  }
}

/* Mobile and Tablet View Styling */
@media (max-width: 768px) {
  /* Header Styling for Mobile and Tablet */
  header {
    padding: 12px 0 !important; /* Reduce padding for smaller screens */
    font-size: 14px; /* Adjust font size if necessary */
  }

  /* Header Aside Styling for Mobile and Tablet */
  #header-aside .table-cell-mid .header-aside-custom {
    height: 116px; /* Reduce height */
    font-size: 14px; /* Adjust font size */
  }

  /* Main branding container for Mobile and Tablet */
  #branding {
    height: 116px; /* Adjust height */
  }
}

@media (max-width: 480px) {
  /* Additional Styling for Smaller Mobile Screens */
  header {
    padding: 10px 0 !important;
    font-size: 14px; /* Further reduce font size */
  }

  #header-aside .table-cell-mid .header-aside-custom {
    font-size: 14px; /* Smaller font size */
  }

  #branding {
    height: 116px; /* Further reduce height */
  }
}

/* Additional Class Styling */

.entry-header {
    font-size: 20px; /* Main heading */
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.5; /* Improved readability */
}

.entry-byline {
    font-size: 15px;
}

span.entry-author {
    font-size: 15px;
}
time.entry-published.updated {
    font-size: 15px;
}
.entry-byline-block .entry-byline-label {
    /* Your desired styles */
    font-size: 15px;
}

.entry-byline-block .entry-published.updated {
    /* Your desired styles */
    font-size: 15px;
}
span[itemprop="name"] {
    /* Your desired styles */
    font-size: 15px;
    color: #B90909; /* Example color */
}


.loop-title.entry-title {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4; /* Improved readability */
    transition: color 0.3s ease, transform 0.3s ease; /* Added smooth transform */
}

.loop-title.entry-title:hover {
    color: #B90909; /* Adds a modern hover color */
    transform: scale(1.02); /* Subtle zoom effect on hover */
}

div.company {
    font-size: 22px; /* Secondary heading */
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4; /* Improved readability */
    transition: color 0.3s ease; /* Hover effect for color */
}

div.company:hover {
    color: #B90909; /* Hover color for secondary headings */
}

.name {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4; /* Improved readability */
    transition: color 0.3s ease;
}

.name:hover {
    color: #B90909; /* Hover effect */
}

.tagline {
    font-size: 20px; /* Subheading */
    font-weight: 400;
    color: #555;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4; /* Improved readability */
}

.position {
    font-size: 24px; /* Highlighted title */
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4; /* Improved readability */
    transition: color 0.3s ease;
}

.position:hover {
    color: #B90909; /* Hover effect */
}

.location, .date {
    font-size: 18px; /* Standard detail text */
    font-weight: 400;
    color: #444;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4; /* Improved readability */
}

.job_description {
    font-size: 18px;
    font-weight: 400;
    color: #444;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6; /* Improved readability */
}

/* Responsive Design */
@media (max-width: 768px) {
    div.company,
    .name,
    .position {
        font-size: 20px; /* Adjusted for tablet view */
        line-height: 1.4;
        margin-bottom: 10px; /* Adjusted spacing for tablet */
    }
    .tagline {
        font-size: 18px; /* Adjusted for tablet view */
        line-height: 1.4;
    }
    .location, .date {
        font-size: 16px; /* Adjusted for tablet view */
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    div.company,
    .name,
    .position {
        font-size: 18px; /* Adjusted for mobile view */
        line-height: 1.4;
        margin-bottom: 8px; /* Reduced spacing for mobile */
    }
    .tagline {
        font-size: 16px; /* Adjusted for mobile view */
        line-height: 1.4;
    }
    .location, .date {
        font-size: 14px; /* Adjusted for mobile view */
        line-height: 1.4;
    }
}
.company_logo {
  width: 300x; /* Adjust as needed */
  height: auto; /* Maintains aspect ratio */
}


/* Base styling for desktop and web app */
#branding {
    height: 60px; /* Adjusted height for desktop and web app */
    padding: 0; /* Remove extra padding */
    margin: 0; /* Ensure no extra margin */
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Center content vertically */
    overflow: hidden; /* Prevent content overflow */
}

/* Styling for child elements */
#branding .site-logo-mixedcustom,
#branding .table,
#branding .table-cell-mid {
    height: 100%; /* Match the parent container's height */
    display: flex; /* Flex layout for alignment */
    align-items: center; /* Center content vertically */
}

/* Logo styling for web and desktop */
#site-logo img {
    width: 250px; /* Optimal width for web and desktop */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Ensure the logo doesn't exceed container width */
}

/* Adjustments for tablet view */
@media (max-width: 768px) {
    #branding {
        height: 50px; 
        justify-content: center; /* Center content horizontally */
    }

    #site-logo img {
        width: 200px; /* Optimal width for tablets */
    }
}

/* Adjustments for mobile phone view */
@media (max-width: 480px) {
    #branding {
        height: 50px; 
        justify-content: center; /* Center content horizontally */
    }

    #site-logo img {
        width: 150px; /* Optimal width for mobile */
    }
}


/* Mobile menu styling for specific items */
@media (max-width: 768px) {
  #menu-item-22910,
  #menu-item-21801,
  #menu-item-22901 {
    font-size: 12px; /* Adjust to a readable size */
    color: gray;
  }

  .searchtext {
    font-size: 12px;
  }

  .fas.fa-search {
    font-size: 12px; /* Adjust to a readable size */
    color: gray;
  }

  .screen-reader-text {
    font-size: 12px; /* Added the missing semicolon */
  }

  .text-tight {
    line-height: 1.2; /* Tighter line spacing */
    letter-spacing: -0.5px; /* Closer letter spacing */
    word-spacing: -1px; /* Reduce space between words */
  }
}

@media (max-width: 480px) {
  #menu-item-22910,
  #menu-item-21801,
  #menu-item-22901 {
    font-size: 12px; /* Adjust to a readable size */
    color: gray;
  }

  .searchtext {
    font-size: 12px;
  }

  .fas.fa-search {
    font-size: 12px; /* Adjust to a readable size */
    color: gray;
  }

  .screen-reader-text {
    font-size: 12px; /* Added the missing semicolon */
  }

  .text-tight {
    line-height: 1.2; /* Tighter line spacing */
    letter-spacing: -0.5px; /* Closer letter spacing */
    word-spacing: -1px; /* Reduce space between words */
  }

  #topbar,
  #topbar-right,
  #topbar-right-inner {
    height: 80px; /* Correct height declaration */
  }
}

/* Mobile and tablet view adjustments */
@media (max-width: 768px) {
  #menu-item-22910 {
    display: inline-block; /* Ensure item is inline */
    margin-right: 5px; /* Adjust spacing as needed */
    vertical-align: middle; /* Align with the input */
  }

  .searchtext {
    display: inline-block; /* Ensure the input is inline */
    vertical-align: middle; /* Align with the menu item */
    width: calc(100% - 60px); /* Adjust width to fit next to the menu item */
  }

  /* Ensure container wraps them if needed */
  .menu-container {
    display: flex; /* Use flexbox for container */
    align-items: center; /* Align items vertically */
    flex-wrap: nowrap; /* Prevent wrapping */
  }
}

/* Mobile-specific adjustments */
@media (max-width: 480px) {
  #menu-item-22910 {
    display: inline-block;
    margin-right: 5px;
		margin-bottom:5px;
    vertical-align: middle;
  }

  .searchtext {
    display: inline-block;
		margin-bottom: 0px;
    vertical-align: middle;
    width: calc(100% - 60px); /* Adjust based on available space */
  }

  .menu-container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }
}

/* Override Header and Menu for Page ID 20857 */
#20857 
menu {
	font-size: 15px;
}

/* Mobile-specific overrides */
@media (max-width: 768px) {
  .page-id-20857 .header, 
  .page-id-20857 .menu {
    padding: 8px 15px; /* Reduce padding for smaller screens */
    font-size: 14px; /* Adjust font size */
  }
}


div.topbar-right-inner {
    margin-left: 20px; /* Default for larger screens */
    padding-left: 20px; /* Default for larger screens */
}

/* Adjust for tablet view */
@media (max-width: 768px) {
    div.topbar-right-inner {
        margin-left: 5px; /* Adjust as needed for tablet */
        padding-left: 5px; /* Adjust as needed for tablet */
    }
}

/* Adjust for mobile phone view */
@media (max-width: 480px) {
    div.topbar-right-inner {
        margin-left: 2px; /* Adjust as needed for mobile */
        padding-left: 2px; /* Adjust as needed for mobile */
    }
}

li#menu-item-22901 {
    margin-right: 5px; /* Adjust as needed */
    padding-right: 5px; /* Adjust as needed */
}

/* Adjust for tablet view */
@media (max-width: 768px) {
    li#menu-item-22901 {
        margin-right: 10px; /* Adjust as needed for tablet */
        padding-right: 8px; /* Adjust as needed for tablet */
    }
}

/* Adjust for mobile phone view */
@media (max-width: 480px) {
    li#menu-item-22901 {
        display: inline-flex;
        align-items: center;
        margin-right: 5px; /* Adjust as needed */
        padding-right: 5px; /* Adjust as needed */
    }
}

i.fas.fa-search {
    margin-left: 2px; /* Default for desktop */
    padding-left: 0; /* Default for desktop */
    margin-right: 5px; /* Consistent spacing */
    display: inline-block;
}

/* Adjust for tablet view */
@media (max-width: 768px) {
    i.fas.fa-search {
        margin-left: 1px; /* Adjust for tablet */
        margin-right: 3px; /* Adjust for tablet */
    }
}

/* Adjust for mobile phone view */
@media (max-width: 480px) {
    i.fas.fa-search {
        margin-left: 0; /* Remove for mobile */
        margin-right: 2px; /* Compact spacing for mobile */
        padding-left: 0;
        vertical-align: middle; /* Ensure alignment */
    }
}

/* Default view (desktop) */
li#menu-item-22901 {
    margin-right: 2px; /* Reduced margin for desktop */
    padding-right: 2px; /* Reduced padding for desktop */
}

/* Maintain current styles for tablet view */
@media (max-width: 768px) {
    li#menu-item-22901 {
        margin-right: 5px; /* Original or adjusted value for tablet */
        padding-right: 5px; /* Original or adjusted value for tablet */
    }
}

/* Maintain current styles for mobile view */
@media (max-width: 480px) {
    li#menu-item-22901 {
        margin-right: 5px; /* Original or adjusted value for mobile */
        padding-right: 5px; /* Original or adjusted value for mobile */
    }
}

/* ================================
   CARET ALIGNMENT — DESKTOP ONLY
   (prevents breaking mobile menu)
================================ */

/* DESKTOP / LARGE SCREENS */
@media (min-width: 769px) {

  #site-navigation .menu > li > a,
  .main-navigation .menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
  }

  #site-navigation .menu > li.menu-item-has-children > a::after,
  .main-navigation .menu > li.menu-item-has-children > a::after {
    position: relative;
    top: -1px;
    font-size: 0.75em;
    margin-left: 4px;
  }

  #site-navigation .menu .dropdown-toggle,
  .main-navigation .menu .dropdown-toggle,
  #site-navigation .menu i,
  .main-navigation .menu i {
    display: inline-flex;
    align-items: center;
    line-height: 1;
  }
}

/* =========================
   DESKTOP ONLY: CTA button
   ======================== */
@media (min-width: 992px) {
  #site-navigation .menu,
  .main-navigation .menu {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  #site-navigation .menu > li:last-child,
  .main-navigation .menu > li:last-child {
    margin-left: 14px !important;
    flex: 0 0 auto !important;
  }

  #site-navigation .menu > li:last-child > a,
  #site-navigation ul.menu > li:last-child > a,
  .main-navigation .menu > li:last-child > a,
  .main-navigation ul.menu > li:last-child > a {
    background: #b71c1c !important;
    color: #fff !important;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    border: 1px solid #b71c1c !important;
    white-space: nowrap !important;
    box-shadow: none !important;
  }

  #site-navigation .menu > li:last-child > a:hover,
  .main-navigation .menu > li:last-child > a:hover {
    background: #8f1717 !important;
    border-color: #8f1717 !important;
    color: #fff !important;
  }
}

/* =========================
   MOBILE ONLY: visual polish
   Does NOT change structure
   ======================== */
@media (max-width: 991px) {
  #site-navigation .menu > li,
  .main-navigation .menu > li {
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }

  #site-navigation .menu > li > a,
  .main-navigation .menu > li > a {
    padding: 16px 18px !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.01em !important;
  }

  #site-navigation .sub-menu,
  .main-navigation .sub-menu {
    background: rgba(255,255,255,0.03) !important;
    padding-top: 4px !important;
    padding-bottom: 6px !important;
  }

  #site-navigation .sub-menu li a,
  .main-navigation .sub-menu li a {
    padding: 13px 18px 13px 34px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.94) !important;
  }

  #site-navigation .menu > li:last-child,
  .main-navigation .menu > li:last-child {
    padding: 14px 16px 10px !important;
    border-bottom: 0 !important;
  }

  #site-navigation .menu > li:last-child > a,
  .main-navigation .menu > li:last-child > a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 14px 16px !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, #cb1f1f 0%, #b71c1c 100%) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    border: 1px solid #b71c1c !important;
    box-shadow: 0 10px 24px rgba(183, 28, 28, 0.20) !important;
  }

  #site-navigation .menu > li:last-child > a:hover,
  .main-navigation .menu > li:last-child > a:hover {
    background: linear-gradient(180deg, #cb1f1f 0%, #b71c1c 100%) !important;
    color: #ffffff !important;
  }
}


