/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ریست فاصله ها */
html, body, div, section, article,
header, footer, nav, main, aside,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, figcaption,
blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

input, button, textarea, select {
  margin: 0;
  padding: 0;
  border: none;
  font: inherit;
}

/* نمایش فوتر در پایین صفحه */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.elementor-location-single {
    flex: 1;
}


/* قرار گرفتن فوتر در پایین صفحات خالی */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* فقط جلوگیری از اسکرول افقی */
}

/* wrapper اصلی المنتور */
body > .elementor {
  display: flex;
  flex-direction: column;
}

/* محتوای اصلی صفحه */
body > .elementor > main {
  flex: 1; /* فضای وسط پر بشه */
}

/* فوتر */
.elementor-location-footer {
  margin-top: auto;
}


.wp-element-button, .wp-block-button__link {
    background-color: #D01110;
    color: white !important;
    border-radius: 6px;
}

.wp-element-button:hover, .wp-block-button__link:hover {
    background-color: #A70E0D;
}

