*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body.azingasht-theme {
  margin: 0;
  font-family: var(--ag-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ag-text);
  background: var(--ag-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.azingasht-theme.elementor-page .site-main {
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ag-transition), opacity var(--ag-transition);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ag-text);
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ag-container {
  width: min(100% - 48px, var(--ag-container));
  margin-inline: auto;
}

.ag-container--wide {
  width: min(100% - 48px, var(--ag-container-wide));
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Elementor canvas cleanup for homepage */
.elementor-location-header,
.elementor-location-footer {
  width: 100%;
}

body.azingasht-theme .elementor-section.elementor-section-boxed > .elementor-container,
body.azingasht-theme .e-con > .e-con-inner {
  max-width: var(--ag-container);
}

body.azingasht-theme .ag-section-con > .e-con-inner {
  max-width: var(--ag-container);
}
