* {
	font-family: 'Vazir', sans-serif;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-color: #eb2121;
	--text-dark: #333;
	--bg-light: #efefef;
	--page-padding: 1rem;
}

html, body {
	background: var(--bg-light);
	color: var(--text-dark);
	overflow-x: hidden;
}

section,
.container,
.content,
main {
	padding: 0 var(--page-padding);
	max-width: 1300px;
	margin: 0 auto;
	box-sizing: border-box;
}
.featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	display: block;
}

.top-bar {
	height: 0.25rem;
	background: var(--primary-color);
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
}

.custom-header {
	background: var(--primary-color);
	width: 100%;
	max-width: 1100px;
	height: 4.134rem;
	display: flex;
	align-items: center;
	padding: 0 1rem;
	box-shadow: 0 0.125rem 0.3125rem rgba(0,0,0,0.1);
	position: absolute;
	top: 1.25rem; 
	left: 0;
	right: 0;
	margin: 0 auto;
	z-index: 9998; 
	overflow: visible;
}


.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 5.5rem;
}

.site-logo img {
	width: 104px;
	height: auto;
	object-fit: contain;
	display: block;
	margin-right:0;
}

.main-menu,
.main-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-menu > ul {
	display: flex;
	gap: 1.5rem;
}

.main-menu > ul > li {
	position: relative;
}

.main-menu li a {
	display: block;
	text-decoration: none;
	color: #fff;
	font-size: 0.875rem;
	padding: 0.5rem 0.75rem;
	transition: color 0.3s ease;
	position: relative;
}

.main-menu li a::after {
	content: "";
	position: absolute;
	bottom: -0.125rem;
	height: 1px;
	width: 0;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	transition: width 0.3s ease;
}

.main-menu li a:hover::after,
.main-menu li.current-menu-item > a::after,
.main-menu li.current_page_item > a::after {
	width: 120%;
}

.main-menu li a:hover {
	color: #ffb7b7;
}

.main-menu li.menu-item-has-children {
	position: relative;
}

.main-menu li.menu-item-has-children > ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	flex-direction: column;
	background: #fff;
	min-width: 10rem;
	padding: 0.5rem 0;
	border-radius: 0.25rem;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	z-index: 1000;
}

.main-menu li.menu-item-has-children:hover > ul,
.main-menu li.menu-item-has-children > ul:hover {
	display: flex;
}

.main-menu li.menu-item-has-children > ul li a {
	color: #333;
	padding: 0.5rem 1.25rem;
	font-size: 0.8125rem;
	white-space: nowrap;
	transition: all 0.3s ease;
}

.main-menu li.menu-item-has-children > ul li a:hover {
	background: var(--primary-color);
	color: #fff;
}

.header-right {
	display: flex;
	gap: 1rem;
	margin-left: 1.25rem;
}

.top-btn-single {
	color: #fff;
	width: 8.25rem;
	height:2rem;
	padding: 0.25rem 1rem 0.25rem 1rem ;
	font-size: 0.9rem;
	text-align: center;
	text-decoration: none;
	transition: all 0.3s ease;
}

.auth-btn:hover {
	background: #ffb7b7;
	color: #fff;
}



.site-content,
.page,
.single,
.post,
.entry-content,
.archive,
.blog,
.home {
	width: calc(100% - 1rem);
	max-width: 1100px;
	margin: 0 auto;
	margin-top: calc(0.25rem + 1rem + 4.134rem + 1rem);
}
.hide-desktop-banner {
	padding: 10px;	
	display: flex;
  justify-content: center;
}
.single-post .entry-content.entry.clearfix {
  margin: 0;
	width: 100%;
}
@media (min-width: 769px) {
	.hide-desktop-banner {
		display:none;
	}
	.header-mobile .hide-desktop {
		display:none;
	}
	.archive-container {
		padding: 0;
	}
	.sidebar-btn {
		width:97% !important;
	}
	.custom-header,
	.desktop-header,
	.main-menu,
	.auth-buttons {
		display: flex !important;
	}
	.header-mobile,
	.mobile-full-menu,
	.mobile-full-search,
	.mobile-menu-overlay,
	.mobile-next-match {
		display: none;
	}
}

.mobile-menu-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9998;
	transition: opacity 0.3s ease;
	background-color: rgba(0,0,0,.8);
	pointer-events: all;
}

.mobile-menu-overlay.active {
	display: block;
}
.next-match {
	display: flex;
	flex-direction: column;
	direction: rtl;
	padding: 1rem;
	background: #fff;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	min-height: 420px;
	padding-bottom: 1rem;
}

.next-match-header {
	background: var(--primary-color);
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.25rem 2rem;
	font-size: 12px;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
}

.next-match-content {
	padding: 1.5rem 1rem 1rem;
	text-align: center;
}

.match-date {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: #003366;
}

.teams-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-top: 0;
}

.team {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 45%;
}

.team-left {
	flex-direction: row;
}

.team-right {
	flex-direction: row-reverse;
}

.team img {
	width: 35px;
	height: 35px;
	object-fit: cover;
	border-radius: 50%;
}

.team-name {
	font-size: 0.8rem;
	font-weight: 400;
	color: #6C6C6C;
}

.match-time {
	font-size: 0.9rem;
	font-weight: 600;
	color: #111;
	width: 20%;
	text-align: center;
}

.match-timer {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.2rem;
	margin-top: 0.4rem;
	flex-wrap: nowrap;
	flex-direction: row-reverse;
}


.timer-card {
	background: var(--primary-color);
	color: #fff;
	width: 24px;
	height: 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border-radius: 2px;
	text-align: center;
	box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.timer-card .time {
	font-size: 0.75rem;
	font-weight: bold;
}

.timer-card .label {
	font-size: 0.42rem;
	margin-top: 0.02rem;
	opacity: 0.9;
}

.timer-card:hover {
	transform: translateY(-1px);
}

.timer-end {
	background-color: #444;
	color: #fff;
	padding: 0.17rem 0.22rem;
	border-radius: 2px;
	text-align: center;
	font-weight: bold;
	margin-top: 0.22rem;
}

@media (min-width: 769px) {
	.top-btn-single {
		position: static;
		transform: none;
		margin-right: 0;
		margin-left: 0;
		background-color: #FFF;
		color: rgb(237, 27, 36);
		display: flex;
		justify-content: center;
		align-items: center;
	}
}

@media (max-width: 768px) {
	.header-mobile .hide-mobile {
		display:none
	}
	.mobile-next-match.open .match-date {
		color: var(--primary-color);
		font-weight: 500;
		font-size: 17px;
		margin-bottom:0 !important;	
	}
	.mobile-next-match.open .teams-row {
		width: 100%;
		text-align: center;
		justify-content: center;
		align-items: center;
	}
	.mobile-next-match.open .team.team-left {
		justify-content: flex-end;
	}
	.mobile-next-match.open .next-match-content .team {
		justify-content: space-between;
	}
	.mobile-next-match.open .team.team-right {
		flex-direction: row;
	}
	.mobile-next-match.open  .next-match-content .team-name {
		font-weight:400 !important;
	}
	.mobile-next-match.open .match-time {
		font-size: 15px;
		color: #000630;
		font-weight: 400;
	}
	.mobile-next-match .next-match-header {
		font-size:14px !important;
		font-weight:400;
	}
	.mobile-next-match.open .teams-row {
		gap:0.5rem;
	}
	.header-right {
		margin-left: 0;
	}
	.arrows-wort {
		margin-left: 0.75rem;
	}
	.footer-container {
		flex-direction: column;
		gap: 1rem;
	}
	.app-buttons {
		grid-template-columns: repeat(2, 1fr);
		justify-content: center;
	}
	.footer-buttons {
		justify-content: center;
	}
	.footer-right-text {
		text-align: center;
	}
	.main-menu,
	.auth-btn,
	.custom-header {
		display: none;
	}
	.header-mobile {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		max-width: 100%;
		height: 60px;
		padding: 0 0.8rem;
		position: absolute;
		top: 0;
		left: 0;
		background-color: var(--primary-color);
		z-index: 99999;
	}
	.header-left {
		gap: 0.8rem;
	}
	.header-right {
		gap: 1.2rem;
		transform: translateY(-3px);
	}
	.header-right img,
	.search-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 24px;
		width: 24px;
	}
	.menu-toggle {
		color: #fff;
		font-size: 1.6rem;
		cursor: pointer;
		user-select: none;
		display: flex;
		align-items: center;
	}
	.header-right img {
		filter: brightness(0) invert(1);
	}
	.header-mobile .calendar img,
	.header-mobile .search-toggle img {
		width: 20px;
		height: 20px;
		object-fit: contain;
	}
	.search-toggle {
		cursor: pointer;
		margin-left: 0;
	}
	.calendar {
		margin-left: 0.75rem;
	}
	.logo img {
		width: 6rem;
		height: auto;
		display: block;
	}
}



.mobile-full-menu {
	display: flex;
	position: fixed;
	top: 0;
	right: 0;
	width: 80%;
	max-width: 300px;
	height: 100dvh;
	background: #fff;
	z-index: 9999;
	flex-direction: column;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-sizing: border-box;
	overflow:hidden;
	z-index: 9999999 !important;
}
.mobile-full-menu.active {
	transform: translateX(0);
}
.menu-top {
	width: 100%;
	height: 185px;
	position: relative;
	overflow: hidden;
	background: red;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.menu-top img {
	height: 81px;
	object-fit: cover;
	width: 81px;
	border-radius: 500px 500px 500px 500px;
	border: 4px solid #fff;
}
.top-btn-singlee {
	position: absolute;
	bottom: 0;
	right: 50%;
	transform: translateX(50%);
	padding: 0.6rem 1.2rem;
	/* 	background-color: var(--primary-color); */
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	text-align: center;
	width: 150px;
}

.mobile-menu-items {
	list-style: none;
	padding: 0.5rem 0;
	margin: 0;
	width: 100%;
}
.mobile-menu-items li {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding-bottom: calc(35px/2);
	margin-top: calc(35px/2);

}
.mobile-menu-items li:not(:last-child)::after {
	content: "";
	width: 90%;
	height: 1px;
	background-color: #e0e0e0;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}
.mobile-menu-items li a {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	text-decoration: none;
	color: #222;
	font-size: 0.8rem;
	font-weight: 500;
	width: 100%;
	padding: 0 1rem 0 1rem;
	transition: color 0.2s ease;
}
.mobile-menu-items li a img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	margin: 0 0 0 0.9375rem;
}
.mobile-menu-items li a:hover {
	color: var(--primary-color);
}
.mobile-full-search {
	display: none;
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100vh;
	background: #fff;
	z-index: 10001;
	padding: 1rem;
	overflow-y: auto;
}
.mobile-full-search.active {
	display: block;
}
.mobile-full-search .close-btn {
	font-size: 1.2rem;
	cursor: pointer;
	position: absolute;
	top: 0.5rem;
	right: 0.8rem;
	background: transparent;
	border: none;
}
.mobile-full-search .search-box {
	display: flex;
	gap: 0.5rem;
	margin: 3rem auto 0;
	width: 100%;
	max-width: 400px;
	position: relative;
}
.mobile-full-search .search-box input {
	width: 100%;
	padding-left: 3rem;
	height: 2.5rem;
	border-radius: 5px;
	border: 1px solid #ccc;
	font-size: 0.85rem;
	box-sizing: border-box;
}
.mobile-full-search .search-box button {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	padding: 0 0.5rem;
	border-radius: 5px 0 0 5px;
	background-color: var(--primary-color);
	color: #fff;
	border: none;
	cursor: pointer;
	font-size: 1rem;
}
.mobile-full-menu .social-icons {
	display: flex !important;
	justify-content: center;
	align-items: center;
	gap: 0.7rem;
}
.social-icons a {
	width: 33px;
	height: 33px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 2px;
	overflow: hidden;
	text-decoration: none;
	background-color: #e0e0e0;
	transition: background-color 0.2s ease;
	padding:7px;
}
.social-icons a:hover,.social-icons a:active {
	background: red !important;
}
.social-icons a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.social-icons a:hover {
	background-color: #ccc;
}
body.hide-header .header-mobile {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}
.mobile-next-match {
	display: none;
	position: fixed;
	inset: 0;
	width: 100%;
	z-index: 9999;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	pointer-events: auto;
}
.mobile-next-match.open {
	display: flex;
}
.mobile-next-match .next-match {
	width: 100%;
	max-width: 100%;
	background: #fff;
	display: flex;
	flex-direction: column;
	direction: rtl;
	border-radius: 0;
	min-height: 250px;
	padding: 0;
	margin: 0;
}


.mobile-next-match .next-match-header {
	background: var(--primary-color);
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.25rem 0.5rem;
	font-size: 13px;
	width: 100%;
}
.mobile-next-match .next-match-content {
	padding: 0.8rem 0.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.8rem;
	text-align: center;
}
.mobile-next-match .next-match-content .team {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.mobile-next-match .next-match-content .team img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}
.mobile-next-match .next-match-content .team-name {
	font-size: 0.93rem;
	font-weight: 600;
}
.mobile-next-match .match-timer-cards {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0;
	width: 100%;
	flex-wrap: nowrap;
	margin-top: auto;
}
.mobile-next-match .match-timer-cards .timer-card {
	background: var(--primary-color);
	color: #fff;
	padding: 0.5rem 0.8rem;
	border-radius: 0.3rem;
	text-align: center;
	min-width: 50px;
	flex: 1;
	font-weight: 600;
	font-size: 0.9rem;
}
.footer {
	background-color: var(--primary-color);
	color: #fff;
	position: absolute;
	left: 0;
	right: 0;
	width: 100%;
	max-width: 100vw;
	height: 10.5rem;
	box-shadow: 0 -0.125rem 0.3125rem rgba(0,0,0,0.1);
	z-index: 9998;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: row;
	padding: 1.5rem 12.5rem;
	font-size: 0.85rem;
}
.footer-right,
.footer-left {
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
}
.footer-right { order: 1; }
.footer-left { order: 2; }
.footer-links {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	justify-content: start;
	width: 100%;
}
.footer-links a {
	background-color: #b40000;
	color: #fff;
	padding: 0.25rem 0.7rem;
	font-size: 0.75rem;
	border-radius: 4px;
	text-decoration: none;
	transition: 0.3s ease;
}
.footer-links a:hover {
	background-color: #fff;
	color: #000;
}
.footer-links a.about {
	background-color: #fff;
	color: #000;
}
.footer-text {
	margin-top: 0.5rem;
	font-size: 0.85rem;
}
.footer-download-title {
	margin-bottom: 0.4rem;
	font-size: 0.95rem;
	line-height: 1.6;
}
.download-buttons {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.2rem;
	justify-content: center;
	align-items: center;
}
.download-btn {
	background-color: #fff;
	color: #090909;
	padding: 0.5rem 1.8rem;
	font-size: 0.85rem;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	transition: 0.3s ease;
	min-width: 8rem;
	text-align: center;
}
.download-btn img {
	width: 15px;
	height: 15px;
	object-fit: contain;
}
.download-btn:hover {
	background-color: #f0f0f0;
}
@media (max-width: 768px) {
	.mobile-menu-items a {
		font-size: 15px !important;
		font-weight: 400 !important;
	}
	.mobile-full-menu .social-icons {
		position: absolute;
		bottom: 29px;
		right: 50%;
		transform: translateX(50%);
	}
	.footer {
		flex-direction: column;
		padding: 1rem 1rem;
		height: auto;
		text-align: center;
		width: 100%;
	}
	.footer-right,
	.footer-left {
		width: 100%;
	}
	.footer-links {
		justify-content: center;
		flex-wrap: wrap;
		gap: 0.5rem;
	}
	.download-buttons {
		justify-content: center;
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
		gap: 0.5rem;
	}
}
.fixed-footer {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3.5rem;
	background-color: #eb2121;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	z-index: 99;
	padding: 0 0.5rem;
	box-sizing: border-box;
}
.hide-header {
	height: 100vh;
	overflow: hidden !important
}
.footer-icon {
	display: flex;
	flex:1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
	font-size: 0.9rem;
}
.footer-icon img {
	width: 20px;
	height: 20px;
	margin-bottom: 0.3rem;
	object-fit: contain;
	transition: 0.3s;
	filter: brightness(0) invert(1);
}
.footer-icon:hover img {
	transform: scale(1.2);
}
.footer-icon span {
	display: block;
	white-space: nowrap;
	color: #fff;
	font-size: 0.9rem;
}
.fixed-footer .footer-icon:not(:last-child) {
	margin-right: 1rem;
}
@media (max-width: 480px) {
	.fixed-footer {
		gap: 0.8rem;
		padding: 0 0.5rem;
	}
	.footer-icon img {
		width: 1.25rem;
		height: 1.25rem;
	}
	.footer-icon span {
		font-size: 0.8rem;
	}
	.fixed-footer .footer-icon:not(:last-child) {
		margin-right: 0;
	}
}
@media (max-width: 768px) {
	.footer {
		display: none;
	}
	.fixed-footer {
		display: flex;
		flex-direction:row-reverse;
	}
}
@media (min-width: 769px) {
	.fixed-footer {
		display: none;
	}
}
.wrapper-footer {
	width: 1100px;
	display: flex;
	justify-content: space-between;
	margin: 0 aUTO;
	align-items: center;
}

/* لودر */
.loading-spinner {
	text-align: center;
	padding: 20px;
	color: #888;
	font-size: 14px;
}

.loading-spinner::after {
	content: '';
	display: inline-block;
	width: 24px;
	height: 24px;
	border: 3px solid #ddd;
	border-top-color: #e53e3e;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	margin-right: 10px;
	vertical-align: middle;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

.loading-trigger {
	height: 10px;
	width: 100%;
	opacity: 0;
}

/* فقط موبایل */
@media (max-width: 768px) {
	.load-more-wrapper {
		display: none !important;
	}
}
.menu-top a {
	position: absolute;
	bottom: 8px;
}

/*استایل صفحات درباره ما و افتخارات و تاریخچه*/

#primary .entry-title,#primary h2.wp-block-heading {
	font-size: 17px;
	font-weight: 400;
	letter-spacing: 0px;
	word-spacing: 0px;
	color: #4E5468;
}
#primary .entry-contents {
	text-align: justify;
	color: #4E5468;
	font-size: 15px;
	font-weight: 300;
	line-height: 31px;
}
#primary .entry-contents strong {
	color: #000;
}
#primary {
	max-width: 1300px;
	background: #fff;
	padding: 20px;
}
@media(max-width:768px){

	#primary {
		padding-top: 60px;
		padding-right: 0;
		padding-left: 0;
	}   
	#primary .entry-title, #primary h2.wp-block-heading {
		margin-top: 0 !important;
		font-weight: 600;
		color: #4E5468;
		font-size: 15px;
		line-height: 1.7em;
		padding: 5px 10px 0px 10px;
	}
	#primary .entry-contents {
		font-weight: 300;
		font-size: 14px;
		line-height: 2.2em;
		text-align: justify;
		color: #4E5468;
		padding: 5px 10px 0px 10px;
	}
	#primary .post-thumbnail img {
		width: 100%;
	}
}
.st0.st1 {
	stroke: #fff;
	fill: transparent;
}
.st0.st1 + g {
	stroke: red;
	fill: #fff;
}