/*!
Theme Name: rahino
Theme URI: https://github.com/AmirheydaripourOdin1133
Author: Amir Hossein Heydaripour
Author URI: https://github.com/AmirheydaripourOdin1133
Description: Elementor-friendly WordPress theme for custom page building.
Version: 1.0.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: rahino
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, rtl-language-support

rahino is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
*/

/*--------------------------------------------------------------
# Minimal reset (Elementor-friendly — no global typography/forms)
--------------------------------------------------------------*/

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
	scroll-behavior: smooth;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	padding: 0;
}

main {
	display: block;
}

img,
video,
embed,
iframe {
	height: auto;
	max-width: 100%;
	border-style: none;
}

/* Layout
--------------------------------------------- */
.site {
	min-height: 100vh;
}

.site-main,
.rahino-full-width {
	width: 100%;
}

.custom-logo-link {
	display: inline-block;
}

/* Fallback navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

/* WordPress content helpers
--------------------------------------------- */
.updated:not(.published) {
	display: none;
}

.page-links {
	clear: both;
}

.comment-content a {
	overflow-wrap: break-word;
}

.bypostauthor {
	display: block;
}

.wp-caption,
.gallery {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	display: block;
	text-align: center;
}

.alignleft {
	float: left;
	margin-right: 1.5rem;
	margin-bottom: 1.5rem;
}

.alignright {
	float: right;
	margin-left: 1.5rem;
	margin-bottom: 1.5rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin-right: auto;
	margin-left: auto;
}



/* Elementor compatibility
--------------------------------------------- */
.rahino-elementor-page .site-main,
.rahino-elementor-page .post,
.rahino-elementor-page .page,
.rahino-elementor-page .entry-content,
.rahino-full-width .page {
	margin: 0;
	max-width: none;
}

.rahino-elementor-content > .elementor {
	margin-top: 0;
}



/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

body {
	direction: rtl;
	background-color: #fff;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	font-size: 14px;
	font-family: PeydaFaNumWeb, sans-serif;
	margin: 0 !important;
  }