/*
Theme Name: Xbox Guide
Template: generatepress
*/



/* Apply full-width header */
    .site-header {
        width: 100%;
    }


	/* Add padding to content */
	    .site-content {
	        padding-left: 20px; /* Adjust the padding value as needed */
			padding-right: 10px; 
			padding-top: 0px; 
			padding-bottom: 20px;
			background-color: white; /* White background for central content */
	    color: black; /* Text color */
	    }
		
	@media (max-width: 767px) {
	.site-content {
	        padding-left: 20px; /* Adjust the padding value as needed */
			padding-right: 20px; 
			padding-right: 20px; 
	}}
	


.site.grid-container.container.hfeed {
	
	margin-top: 0px !important;
	margin-bottom: 0px !important;
}

.site {
    background-color: #ececec; /* Light grey background for outer section */
}

.home {
    background-color: #ececec; /* Black background for the homepage */
}


:root {
    --base-2: #ececec !imporant; /* Default background color */
}


/* List Post Styles (Second post onwards) */
.list-post {
    margin-bottom: 0px;
}

.list-content {
    display: flex;
    align-items: left;
    width: 100%; /* Ensure the content stretches across the full width */
}

.list-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.list-thumbnail {
    margin-right: 0px;
    flex-shrink: 0;
}

.list-thumbnail img {
    height: 50px;
    width: auto;
    margin-right: 10px;
	padding-right: 10px;
    flex-shrink: 0;
}

.list-title h3 {
    font-size: 1.0em;
    margin: 0;
    line-height: 1.2;
}


.entry-content {
    padding: 0px; /* Adjust this value to your desired padding */
}

.inside-article {
    padding: 10px !important; /* Adjust this value to your desired padding */
}




.recent-posts-slideshow .slide-image {
    width: 100%;
    height: 200px; /* Set the height of the container */
    overflow: hidden; /* Hide the overflow to crop the image */
}

.recent-posts-slideshow .slide-image img {
    width: 100%; /* Ensure the image fills the container horizontally */
    height: auto; /* Allow the browser to adjust the image height while maintaining aspect ratio */
    object-fit: cover; /* Scale the image to cover the container while preserving aspect ratio */
    object-position: center; /* Position the center of the image at the top */
}


.recent-posts-slideshow .slide {
    position: relative; /* Ensure the slide container is positioned */
}


.recent-posts-slideshow .slide .title-overlay a {
    color: white !important; /* Set text color to white */
    text-decoration: none; /* Remove underline from links */
}

.recent-posts-slideshow .slide .title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    font-family: "Helvetica Neue", Helvetica, Liberation Sans, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    white-space: normal; /* Allow text to wrap onto multiple lines */
    overflow: hidden; /* Ensure text doesn't overflow outside the container */
    text-overflow: ellipsis; /* Show ellipsis (...) for overflowed text */
    max-width: 100%;
}



.recent-posts-slideshow .slide .slide-title {
    font-size: 14px; /* Define the font size */
}

.slideshow-wrapper {
    position: relative;
    overflow: hidden; /* Hide overflowing slides */
}

.slideshow-container {
    display: flex; /* Ensure slides are displayed in a row */
    transition: transform 0.3s ease; /* Smooth transition for slide movement */
}

.slide {
    flex: 0 0 auto; /* Ensure each slide has equal width */
    width: 100%; /* Full width */
    /* Add other styling for slides */
}

/* Style for navigation arrows */
.prev-slide, .next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    /* Add other styling for arrows */
}


/*POSTS */


/* Styling for post date */

.list-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.post-date {
text-transform: uppercase; /* Convert text to uppercase */
    color: #888888; /* Mid-grey color */
    font-size: 14px; /* Customize the font size for the date header */
    margin-bottom: 15px; /* Add margin below the date header */
    font-weight: bold;}
	
.post-date-yt {
text-transform: uppercase; /* Convert text to uppercase */
    color: #888888; /* Mid-grey color */
    font-size: 14px; /* Customize the font size for the date header */
    margin-bottom: 15px; /* Add margin below the date header */
	padding-top: 10px;
    font-weight: bold;}	
	
	.post-date-news {
text-transform: uppercase; /* Convert text to uppercase */
    color: #888888; /* Mid-grey color */
    font-size: 14px; /* Customize the font size for the date header */
    padding-left: 10px; /* Add margin below the date header */
    font-weight: bold;
    margin-top: 5px;
    flex-shrink: 0; /* Prevent the date from shrinking */

}

/* Styling for post content */
.post-content {
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack items vertically */
}

/* Styling for post header */
.post-header {
    margin-bottom: 10px; /* Add margin below header */
}


/* Styling for post header */
.post-title {
    font-size: 1.3em; /* Add margin below header */
	margin: 0;
}

/* Styling for post header */
.post-title-list {
    font-size: 1.0em; /* Add margin below header */
	margin: 0;
}

/* Styling for post title link */
.post-title a {
    color: #222; /* Dark grey color */
    text-decoration: underline; /* Remove underline */
}

/* Hover effect for post title link */
.post-title a:hover {
    color: #888; /* Darken color on hover */
	text-decoration: underline;
}

/* Styling for post title link */
a {
    color: #222; /* Dark grey color */
    text-decoration: underline; /* Remove underline */
}

/* Hover effect for post title link */
a:hover {
    color: #888; /* Darken color on hover */
}



/* Styling for post details */
.post-details {
    display: flex; /* Use flexbox for layout */
    flex-direction: row; /* Stack items horizontally */
}

/* Styling for post thumbnail */
.post-thumbnail {
    margin-right: 20px; /* Add space between thumbnail and excerpt */
}

.post-thumbnail img {
    max-width: 100%; /* Ensure image doesn't exceed its container */
    height: auto; /* Maintain aspect ratio */
}



/* Styling for post excerpt */
.post-excerpt {
    flex: 1; /* Allow excerpt to expand and fill remaining space */
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Center items vertically */
	font-size: 1em;
}

/* Styling for post excerpt */
.post-excerpt p{
 margin-bottom: 0px; !important}

/* Styling for post excerpt on mobile */
@media screen and (max-width: 768px) {
    .post-excerpt {
        font-size: 0.9em; /* Reduce font size for mobile */
    }
}

/* MAIN NAVIGATION */

/* General styles for list items within the main navigation */
.main-navigation .main-nav > ul > li {
    flex-shrink: 0;
    padding: 0;
    font-size: 0.9em;
    font-weight: 400;
    position: relative; /* Ensure the pseudo-elements are positioned correctly */
}

/* Add thinner and shorter dividers using the before and after pseudo-elements */
.main-navigation .main-nav > ul > li::before{
    content: ""; /* This generates the pseudo-element */
    position: absolute;
    top: 50%; /* Start positioning from the middle */
    transform: translateY(-50%); /* Center the divider vertically */
    height: 55%; /* Set the height to 75% of the list item */
    width: 1px; /* Thinner divider */
    background-color: #0b5f0b; /* Darker green for the divider */
}

.main-navigation .main-nav > ul > li::before {
    left: 0px; /* Position to the left of the element */
}

.main-navigation .main-nav > ul > li::after {
    right: 0px; /* Position to the right of the element */
}

/* Ensure the left divider for the first item and right divider for the last item are shown */
.main-navigation .main-nav > ul > li:last-child::after {
    display: block; /* Ensure the dividers are visible */
	content: ""; /* This generates the pseudo-element */
    position: absolute;
    top: 50%; /* Start positioning from the middle */
    transform: translateY(-50%); /* Center the divider vertically */
    height: 75%; /* Set the height to 75% of the list item */
    width: 1px; /* Thinner divider */
    background-color: #0b5f0b; /* Darker green for the divider */
}

/* Styles for the links within the list items */
.main-navigation .main-nav > ul > li > a {
    flex-shrink: 0;
    padding: 0 20px; /* Only horizontal padding for consistent height */
    font-size: 1.2em;
    font-weight: 400;
    line-height: 45px; /* Match the height of the nav bar */
    display: block; /* Ensure full height clickable area */
    text-align: center; /* Center the text within each button */
}

/* Styles for the unordered list within the main navigation */
.main-navigation .main-nav > ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
    padding: 0;
    margin: 0; /* Ensure no default margin */
    align-items: center; /* Center items vertically */
    justify-content: flex-start; /* Align items to the left horizontally */
}

/* Hide scrollbar for WebKit browsers */
.main-navigation .main-nav > ul::-webkit-scrollbar {
    display: none;
}

/* General styles for the main navigation container */
.main-navigation .main-nav {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for WebKit browsers */
.main-navigation .main-nav::-webkit-scrollbar {
    display: none;
}

/* Styles for the navigation bar container */
#site-navigation.main-navigation {
    background-color: #0e7a0d; /* New background color */
    height: 45px; /* Set the height of the nav bar */
    display: flex; /* Ensure flexbox layout for proper alignment */
    align-items: center; /* Center items vertically */
    justify-content: flex-start; /* Align the menu to the left */
    padding: 0 20px; /* Ensure some padding around the navigation */
    box-sizing: border-box; /* Include padding in the width calculation */
}

/* Adjust the inner container */
.inside-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align navigation to the left */
    width: 100%; /* Ensure full width */
}

 #site-navigation.main-navigation {
        height: 40px; /* Allow height to adjust based on content */
 }
/* Mobile specific styles */
@media (max-width: 768px) {
    .main-navigation .main-nav > ul > li > a {
        padding: 0 9px; /* Reduce padding for touch-friendly size */
        font-size: 0.9em; /* Adjust font size for readability */
    }

    .main-navigation .main-nav > ul > li {
        font-size: 1em; /* Adjust font size */
    }

    .main-navigation .main-nav > ul {
        padding: 0 5px; /* Reduce padding around the menu */
    }

    #site-navigation.main-navigation {
        height: 40px; /* Allow height to adjust based on content */
        padding: 0 10px; /* Adjust padding for mobile */
    }

    .nav-below-header .main-navigation .inside-navigation.grid-container,
    .nav-above-header .main-navigation .inside-navigation.grid-container {
        padding: 0 10px; /* Reduce padding for mobile */
    }
}

@media (max-width: 430px) {
    .main-navigation .main-nav > ul > li > a {
        font-size: 0.85em; /* Adjust font size for readability */
    }

    .main-navigation .main-nav > ul > li {
        font-size: 0.95em; /* Adjust font size */
    }
}

@media (max-width: 390px) {
    .main-navigation .main-nav > ul > li > a {
        font-size: 0.8em; /* Adjust font size for readability */
    }

    .main-navigation .main-nav > ul > li {
        font-size: 0.9em; /* Adjust font size */
    }
}


/* Ensure no other conflicting styles */
.header-aligned-center:not([class*=nav-float-]) .inside-header {
    display: flex;
    justify-content: flex-start !important;
    flex-direction: row !important; /* Ensure items align horizontally */
    text-align: left !important; /* Align text to the left */
}

.inside-header {
    padding: 0px 0px;
}

@media (max-width: 768px) {
    .inside-header {
        padding-right: 0px;
        padding-left: 0px;
    }
}

.site-info {display:none;}

/* CUSTOM FOOTER */

.custom-footer {
    background-color: #0e7a0d;
    padding: 10px; /* Reduced padding */
    text-align: center; /* Centers text within the div */
    color: white;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap onto multiple lines */
    justify-content: center; /* Center items horizontally */
    align-items: center; /* Center items vertically */
    gap: 10px; /* Adds space between elements */
    width: 100%; /* Ensures full width */
}

.custom-footer nav a {
    color: white;
    text-decoration: underline;
    margin: 5px; /* Adjust margin to prevent items from being too close */
}


.menu-dot {
    margin: 0 5px; /* Space around the dots */
    color: white; /* Dot color */
    font-weight: bold;
}

.footer-widgets-container {

padding: 0px;

}

footer-widget-1

{
	
	margin-top: -25px;
	
}

footer.entry-meta {
    display: none;
}

/* Optional: Responsive font size adjustments */
@media (max-width: 600px) {
    .custom-footer {
        font-size: 12px; /* Slightly reduce font size for mobile */
    }
}

.site-footer .footer-widgets .footer-widgets-container .inner-padding {
        padding: 0;
        margin-top: -25px;
    }
}

.wp-block-heading.has-medium-font-size {
    font-weight: bold;
}

.wp-block-preformatted {
    background-color: #0e7a0d;
    color: white;
    font-size: 18px;
	font-weight: 550;
    padding: 10px; /* Optional: Adds some padding for better readability */
    border-radius: 5px; /* Optional: Adds rounded corners */
}


.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icons .social-icon i {
    font-size: 20px;
    color: white; /* Change this color if needed */
}

.footer-social-icons .social-icon:hover i {
    color: white; /* Twitter blue or customize */
}

.post-title-date {
	color: #888888;
	font-weight: 550;
	font-size: 16px;
	
}

@media only screen and (max-width: 768px) {
    .wp-block-media-text>.wp-block-media-text__content {
        padding: 0 1% !important;
    }
}

.review-summary {
	padding-left: 20%;
	padding-right: 20%;
	
}
