/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
.entry-content a {
    font-weight: 700;
    font-family: "Times New Roman";
}

/* This line-height makes bulletpoint lists mobile-friendly */
@media (max-width: 768px) {
	.entry-content ul li a {
		line-height: 2.7;
	}
}

/* Footer Styling */
.main-navigation {
	width: 100%;
	background: inherit;
}

.main-navigation li:first-child{
	margin-left: auto;
}

.main-navigation li:last-child{
	margin-right: auto;
}

#primary-menu {
	width: 100%;
}

.main-navigation .main-nav ul li a {
  font-size: 18px;
  
	/* color: inherit; */
	background: inherit; 
    
}
/* End Footer Styling */

/* Giving excerpts and their custom links some breathing room */
.entry-summary {
    margin-bottom: 20px; 
}
/* End excerpt breathing room  */

/* Styles and positions GP's search modal */
/* *** */
.secondary-navigation {
    position: relative;
}

.secondary-nav-search-wrapper {
    position: absolute;
    right: 40%;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .secondary-navigation .inside-navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .secondary-navigation .main-nav {
        flex-grow: 1;
    }

    .secondary-nav-search-wrapper {
        position: static;
        transform: none;
        order: 2; /* Moves the search to the end of the flex container */
    }

    /* Center the menu toggle */
    .secondary-navigation .menu-toggle-wrapper {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Ensure there's space for the centered menu toggle */
    .secondary-navigation .inside-navigation {
        padding-left: 30px; /* Adjust based on your menu toggle width */
        padding-right:30px;  /*  Adjust based on your search icon width */
    }
}

/* Additional styles to ensure proper spacing */
.secondary-navigation .menu-toggle {
    margin: 0;
}

.secondary-nav-search-wrapper {
    padding-top: 10px; /* Adjust as needed */
    padding-right: 10px; /* Adjust as needed */
}

/* Style the search icon */
.secondary-nav-search-wrapper .gp-icon svg {
    fill: #FFF; /* Change this to your desired color */
    transition: fill 0.3s ease; /* Smooth transition for hover effect */
    width: 1.5em; /* Increase icon size */
    height: 1.5em; /* Increase icon size */
}

/* Style the search icon on hover */
.secondary-nav-search-wrapper .gp-icon:hover svg {
    fill: #048515; /* Change this to your desired hover color */
}

/* Ensure the SVG icon itself changes color, not just its container */
.secondary-nav-search-wrapper .gp-icon svg path {
    fill: inherit;
}

/* Move Back-to-Top button inward; numbers may be different per site */
@media (min-width: 769px) {
    .generate-back-to-top,
    .generate-back-to-top:visited {
        bottom: 25px !important; /* 10px from the bottom of your screen */
        right: 190px !important; /* 190px from the right of your screen */
    }
}
