:root {
  --first-color: #e2441a;
}
/* CSS Reset - Resetting default styles applied by browsers */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
main,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}

/* Remove list styles for ul, ol */
ul,
ol {
  list-style: none;
}

/* Remove default link styles */
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  color: inherit;
}
body {
  font-family: "Vazirmatn", sans-serif;
  background-color: #faf6f4;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-wrap: break-word !important;
}

@media (max-width: 500px) {
  body {
    background-color: white;
  }
}
main {
  flex: 1;
}
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.titleSection .title {
  margin: auto;
  margin-bottom: 40px;
  max-width: 500px;
  width: 100%;
  font-size: 30px;
  font-weight: 600;
  color: black;
  line-height: 45px;
  padding: 8px 0px 10px;
  height: 60px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(
    90deg,
    rgba(212, 55, 20, 0) 0%,
    rgba(255, 178, 159, 1) 50%,
    rgba(228, 95, 62, 0) 100%
  );
}
body[dir="ltr"] .btnHome .btn span {
  height: 20px;
}
/* news */
/*PhotoStory*/
.news .imageRight {
  height: 400px;
}
.news img {
  border-radius: 20px;
}
.news .subImage {
  height: 200px;
}
.news .Rightcontant .title {
  font-size: 35px;
  font-weight: 600;
  line-height: 60px;
  max-height: 180px;
  overflow: hidden;
}
.news .Rightcontant .des {
  margin-top: 10px;
  font-size: 20px;
  line-height: 40px;
  max-height: 192px;
  overflow: hidden;
}
.news .line {
  width: calc(100% - 24px);
  margin: auto;
  padding: 20px;
  border-bottom: 1px rgb(200, 200, 200) solid;
}
.news .subnewsTitle {
  font-size: 20px;
  font-weight: 600;
  line-height: 35px;
  margin: 5px 0px;
  height: 70px;
  overflow: hidden;
}
.news .dateSubnews {
  color: #e2441a;
  font-size: 16px;
  line-height: 28px;
  font-weight: 600;
  margin: 12px 0px 6px 0px;
  height: 28px;
  overflow: hidden;
}
/*headerTitle*/

.headerTitle .title {
  border-right: 6px solid #e2441a;
  max-width: 100%;
  flex: 1;
  font-size: 30px;
  font-weight: 600;
  color: black;
  line-height: 45px;
  padding: 10px 10px;
  height: 65px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(228, 95, 62, 0) 80%,
    rgba(255, 178, 159, 1) 100%
  );
}
body[dir="ltr"] .headerTitle .title {
  background: linear-gradient(
    -90deg,
    rgba(228, 95, 62, 0) 80%,
    rgba(255, 178, 159, 1) 100%
  );
  border-right: initial;
  border-left: 6px solid #e2441a;
}
@media (max-width: 500px) {
  .headerTitle .title {
    background: linear-gradient(
      90deg,
      rgba(228, 95, 62, 0) 20%,
      rgba(255, 178, 159, 1) 100%
    );
  }
  body[dir="ltr"] .headerTitle .title {
    background: linear-gradient(
      -90deg,
      rgba(228, 95, 62, 0) 20%,
      rgba(255, 178, 159, 1) 100%
    );
  }
}
.btnHome .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2441a;
  padding: 5px 10px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 10px;
}
.btnHome .btn:hover {
  background-color: #e2441a;
  color: white;
}
/*pagination*/
.pagination a {
  color: red;
}
.pagination .right a {
  border-radius: 0px 10px 10px 0px !important;
}
.pagination .left a {
  border-radius: 10px 0px 0px 10px !important;
}
body[dir="ltr"] .pagination .right a {
  border-radius: 10px 0px 0px 10px !important;
}
body[dir="ltr"] .pagination .left a {
  border-radius: 0px 10px 10px 0px !important;
}
