/* Hide header main area */
.header-main-area.hm-header-bg-holder {
    display: none;
}

/* Customize Jetpack search widget */
.custom-jetpack-search-widget .jetpack-search-results .jetpack-search-results-header,
.custom-jetpack-search-widget .jetpack-search-results .jetpack-search-results-list a {
    color: lightblue;
}



/* Button styles */
#hm-search-form .search-form .search-submit, 
.search-form .search-submit, 
.th-readmore, 
.wp-block-search .wp-block-search__button, 
a.hm-viewall, 
button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"] {
    background-color: #7b3637;
}

/* Global hyperlink styles, excluding menu links */
a {
    color: #ffffff !important; /* White text */
    text-decoration: none !important; /* Remove underline */
}

a:hover, a:focus {
    color: #FBBC3D !important; /* Yellow on hover/focus */
}

/* Menu links retain default styles */
nav a, .menu a {
    color: #ffffff !important; /* White text */
    text-decoration: none !important;
}

nav a:hover, .menu a:hover, nav a:focus, .menu a:focus {
    color: #ffffff !important; /* No change on hover/focus */
    text-decoration: none !important;
}

/* Site header and navigation bar styling */
.site-header, .hm-header-bg-holder, .sticky-wrapper {
    background-color: #002746 !important;
}

/* Fixed navigation bar with shadow */
.hm-nav-container.clearfix {
    background: #1d2428 !important;
    height: 45px !important;
    z-index: 9999 !important;
    margin: 0 auto !important;
    border-bottom: 0px solid #dadada !important;
    width: 100% !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

/* Adjust for admin bar presence */
.admin-bar .hm-nav-container.clearfix {
    top: 32px !important;
}

/* Ensure consistent margin-top to prevent jumping */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    position: relative;
    margin-top: 45px !important; /* Space for the fixed nav bar */
}

/* Remove potential extra padding or borders */
body {
    padding: 0 !important; /* Remove extra padding */
}

/* Widget styling */
.widgettitle, .is-style-hitmag-widget-title {
    font-size: 18px;
    font-size: 1.125rem;
    border-bottom: 1px solid #e74c3c;
    margin-top: 1px;
    margin-bottom: 1px;
}

.widget {
    margin: 0 0 10px;
    display: block;
}

/* Hide footer 
footer {
    display: none;
}*/

/* Hide search button icon */
.hm-search-button-icon {
    visibility: hidden;
}

/* Visited links color */
a:visited {
    color: #8ED1FC;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    nav.main-navigation {
        opacity: 1;
    }

    .widget.widget_block.widget_media_image {
        margin-top: 45px !important;
    }

    body {
        margin-top: 45px !important; /* Maintain margin on mobile */
    }
}

/* Change underline color for all heading elements */
h1, h2,  {
    border-bottom: 3px solid #FBBC3D; /* Yellow color for underline */
}

/* If you want to apply it only to specific classes or elements */
.widgettitle, .is-style-hitmag-widget-title {
    border-bottom: 2px solid #FBBC3D; /* Yellow color for specific widget title underline */
}

/* General button styling - applies smooth transition */
.wp-block-button__link {
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effects */
}

/* Button hover effects */
.wp-block-button__link:hover {
    background-color: #FBBC3D !important; /* Change background to yellow on hover */
    color: #002746 !important; /* Change text color to dark blue on hover */
    transform: scale(1.05); /* Slightly increase the button size on hover */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3); /* Enhance shadow on hover */
}

/* Remove yellow highlight effect for these buttons */
.wp-block-button__link a {
    color: inherit !important; /* Ensure link color inherits from the button */
}

.wp-block-button__link a:hover, .wp-block-button__link a:focus {
    color: inherit !important; /* Disable color change on hover or focus */
    text-decoration: none !important; /* Remove underline */
}




/* Sparkles container */
#sparkles {
  position: fixed;
  pointer-events: none; /* Allows interaction with underlying elements */
  z-index: 9999; /* Ensure it's on top of other elements */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}


/* Sparkles container */
#sparkles {
  position: fixed;
  pointer-events: none; /* Allows interaction with underlying elements */
  z-index: 9999; /* Ensure it's on top of other elements */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Hide Jetpack related posts on single posts */
#jp-relatedposts {
    display: none !important;
}

.post-navigation,
.nav-previous,
.nav-next {
    display: none !important;
}

/* Change the color of all comment author names */
.comment-author .fn {
    color: #ffcc00;   /* pick any color you like */
    font-weight: bold; /* optional: make it stand out */
}

/* Make all links underlined */
a {
    text-decoration: underline;
}