/*
Theme Name: CricBites
Theme URI: https://cricbites.com
Author: Togwe
Author URI: https://www.togwe.com/
Description: News related to sports.
Version: 1.0
Text Domain: cricbites
*/
.series-news-container a {
    text-decoration: none;
}
.regular-three-post .news-thumbnail {
    height: 125px;
}
.image-match-title {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    padding: 0 10px;
}
#footer-menu {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer-menu li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
}
/* Basic reset */
ul.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Hide submenu by default */
ul.sub-menu {
  display: none;
  position: absolute;
  background: #fff; /* dropdown background */
  padding: 10px 0;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 999;
}

/* Show submenu on hover */
.menu-item-has-children:hover > .sub-menu {
  display: block;
}

/* Submenu item styles */
.sub-menu li {
  position: relative;
}

.sub-menu li a {
  display: block;
  padding: 8px 15px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}

.sub-menu li a:hover {
  background: #f2f2f2;
}

/* Ensure parent li positions children correctly */
.menu-item-has-children {
  position: relative;
}

/* For nested submenus (like your ICC Rankings > Women) */
.sub-menu .sub-menu {
  top: 0;
  left: 100%; /* Push it to the right of parent menu */
}

@media (max-width: 767px) {
	.featured-full-post .lates-news-inner {
		padding: 15px !important;
		flex-direction: column !important;
	}

	.featured-full-post .lates-news-inner .news-image {
		width: 100% !important;
	}
	.news-text {
		padding: 15px 0 !important;
	}
	.featured-full-post, .regular-three-post {
		padding: 0;
	}

	.regular-three-post {
		margin-bottom: 20px;
	}
	.series-news-status {
		flex-wrap: wrap !important;
		align-items: center;
		justify-content: center;
	}
	#footer-menu {
		flex-direction: column;
		margin-top: 35px;
	}
}