.posts-and-layouts {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  padding: 0 !important;
}
.all-content {
  border: none !important;
  width: 100%;
  padding: 0 !important;
}
.all-container {
  width: 100%;
  max-width: var(--maxw);
}
.hero_site {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 55px;
  border-radius: var(--border-r);
  background-image: url("img/new/home-banner.jpg");
  background-position: top;
  background-size: cover;
  color: white;
}
.hero_site .ins_hero {
  max-width: 500px;
}
.hero_site .ins_hero * {
  text-align: center;
}
.hero_site .ins_hero h1 {
  font-size: 2rem;
  margin: 0 !important;
}
.top_sec_1 {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-flow: row wrap;
}
.top_sec_tion_p {
  text-align: center;
  margin: 25px 0;
}
.top_sec_1 .main_se_tion {
  padding: 25px;
  border-radius: var(--border-r);
  min-height: 225px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 300px;
  border-width: 1px;
  border-style: solid;
  height: 254px;
}
.top_sec_1 .main_se_tion:first-child {
  background: linear-gradient(145deg, #97f8e5, #a2f7de);
  border-color: #69debb;
}
.top_sec_1 .main_se_tion:nth-child(2) {
  background: linear-gradient(145deg, #bed7ff, #9ec3ff);
  border-color: #7aa1e0;
}
.top_sec_1 .main_se_tion:last-child {
  background: linear-gradient(145deg, #ffd9b6, #ffdab9);
  border-color: #deac80;
}
.top_sec_1 .main_se_tion .first_epierance {
  display: flex;
  justify-content: space-between;
}
.top_sec_1 .main_se_tion .first_epierance .mtn1 .bx_titl {
  font-size: 1rem;
  font-weight: 900;
  text-shadow: 0 0 black;
}
.top_sec_1 .main_se_tion .first_epierance .mtn1 .bx_disc {
  font-size: 0.85rem;
  color: #343434;
  margin-top: 12px;
}
.top_sec_1 .main_se_tion .first_epierance .nbr_1 {
  color: #054b3d;
}
.top_sec_1 .main_se_tion .first_epierance .nbr_2 {
  color: #052860;
}
.top_sec_1 .main_se_tion .first_epierance .nbr_3 {
  color: #653407;
}
.top_sec_1 .main_se_tion .first_epierance .img1 {
  display: flex;
  height: fit-content;
}
.top_sec_1 .main_se_tion .first_epierance img {
  width: 80px;
}
.mosh_am_btn {
  margin-top: auto;
  display: flex;
  justify-content: center;
}
.mosh_am_btn > span {
  color: #111;
  padding: 5px 10px;
  background: #fff;
  border-radius: var(--btn-border);
  font-size: var(--btn-1);
  cursor: pointer;
}
.in_lnks {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 15px;
}
.in_lnks a {
  padding: 7px 13px;
  border: var(--btn-border);
  background: #fff;
  color: #111;
  border-radius: var(--btn-border);
  cursor: pointer;
  transition: 0.25s;
}

.diveinto_sec {
  display: flex;
  justify-content: space-evenly;
  background: #fff;
  border-radius: 8px;
  margin-top: 30px;
}
.diveinto_sec .same_stl_div {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  padding-left: 10px;
}
.diveinto_sec .same_stl_div img {
  display: flex;
  width: 30px;
  margin-left: 7px;
}
.diveinto_sec .same_stl_div span {
  font-weight: 900;
}
.active_btm_border {
  border-bottom: 3px solid green;
  color: #0a721a;
}
.active_btm_border span::before {
  content: "\2190";
  color: green;
  font-size: 1.4rem;
  position: relative;
  top: 4px;
}
.hl_section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(216px, 1fr));
  gap: 15px;
  width: var(--box-width);
  margin: auto;
  grid-auto-flow: dense;
  place-items: start center;
}
.indiv_post {
  border: 1px solid #ccc;
  border-radius: var(--border-r);
  padding-bottom: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  max-width: 300px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.indiv_post .img_p {
  height: 150px;
  overflow: hidden;
  position: relative;
}
.indiv_post .img_p span {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 7px;
  border-radius: var(--border-absulute);
  color: white;
  font-size: 0.8rem;
  opacity: 0.9;
}
.indiv_post .img_p .pishnahadi_abs {
  background: #538012;
}
.indiv_post .img_p .portarafdar_abs {
  background: #04564d;
}

.indiv_post .img_p .porfrosh_abs {
  background: #a01cb2;
}
.indiv_post .img_p .raygan_abs {
  background: #c21555;
}
.indiv_post .img_p img {
  width: 100%;
  border-radius: var(--border-r) var(--border-r) 0 0;
}
.indiv_post .p_h4 {
  padding: var(--padding-in-box);
}
.indiv_post .p_h4 h4 {
  font-size: 0.9rem;
}
.maghlat {
  margin-top: auto;
}
.descp_p .detailsss {
  display: flex;
  justify-content: space-between;
  padding: var(--padding-in-box);
  font-size: 0.8rem;
  color: #444 !important;
}
.descp_p .detailsss div {
  display: flex;
  align-items: center;
}
.descp_p .detailsss div img {
  display: flex;
  margin-left: 3px;
}
.descp_p .detailsss div:last-child span {
  direction: ltr;
}
.maghalats .detailsss div:last-child span {
  direction: rtl;
}
.hachepith {
  display: none !important;
}
.ddshduo,
.ray_ganalarm,
.final_fees {
  justify-content: flex-start !important;
  color: #037746;
  padding: var(--padding-in-box);
  font-weight: 900;
  font-size: 1.1rem;
}
.ray_ganalarm {
  color: #555;
  font-size: 1rem;
}
.mah_titr {
  display: flex;
  justify-content: space-between;
  width: var(--box-width);
  margin: 25px auto;
  font-size: 1rem;
}
.mah_titr a {
  color: #03633a;
  font-size: inherit;
}
.mah_titr h3 {
  font-size: inherit;
}
.gheymat_and_botton {
  margin-top: auto;
}
.my_fncy_btn {
  font-size: 0.9rem !important;
  display: block;
  margin: 0 14px;
  padding: 6px 5px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: var(--btn-border);
  color: #022d24;
}
.tkh_line_through {
  text-decoration: line-through;
  color: #848484;
  padding: 0 var(--padding-in-box);
}
.final_fees {
  padding-top: 0;
}
.first_footer {
  background: #ebfff6;
  padding: 15px 5px;
  margin-top: 60px;
  border-radius: var(--border-r) var(--border-r) 0 0;
}
.nice_footer {
  display: flex;
  justify-content: space-between;
  max-width: var(--box-width);
  margin: auto;
  flex-flow: row wrap;
}
.nice_footer .first_footer_divs {
  display: flex;
  justify-content: center;
}
.first_footer .cherakoobdar {
  text-shadow: 0 0 black;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 900;
}
.forTabletzirLayout {
  display: none;
}
@media (max-width: 800px) {
  .mah_titr {
    font-size: 0.9rem;
  }
  .mob_span {
    display: none;
  }
  .nice_footer .first_footer_divs {
    flex-direction: column;
    max-width: 123px;
    justify-content: flex-start;
  }
  .top_sec_1 .main_se_tion {
    max-width: unset;
    min-height: unset;
    width: 100%;
    height: unset;
  }
  .top_sec_1 {
    gap: 5px;
  }
  .img_footer_clas {
    margin-left: 0;
  }
  .first_footer_divs .insdhfh span {
    text-align: center;
  }
  .hl_section {
    grid-template-columns: repeat(4, 1fr);
    overflow: auto;
  }
  .indiv_post {
    min-width: 207px;
  }
  .hero_site {
    padding: 30px;
    margin: 0 7px;
  }
  .hero_site .ins_hero h1 {
    font-size: 1.6rem;
  }
  .diveinto_sec .same_stl_div span {
    text-wrap: nowrap;
  }
  .diveinto_sec {
    border-radius: 0;

    overflow: auto;
  }
  .diveinto_sec .same_stl_div {
    margin-left: 15px;
  }
}
@media (width > 1000px) {
  .hl_section {
    place-items: start;
  }
}
.first_footer_divs .insdhfh {
  display: flex;
  flex-direction: column;
}
.first_footer_divs .insdhfh span:first-child {
  font-weight: 900;
  font-size: 0.9rem;
}
.first_footer_divs .insdhfh span:last-child {
  font-size: 0.8rem;
  color: #555;
  display: block;
  max-width: 150px;
}
.img_footer_clas {
  margin-left: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.show_box_2 .detailsss div:last-child span {
  direction: rtl;
}
.in_lnks a span {
  display: inline-block;
  transition: transform 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .main_se_tion {
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease;
  }

  .main_se_tion:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
  }

  .img1 img {
    transition: transform 0.35s ease;
  }

  .main_se_tion:hover .img1 img {
    transform: scale(1.06);
  }
  .indiv_post {
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease;
  }

  .indiv_post:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
  }

  .img_p {
    overflow: hidden;
  }

  .img_p img {
    transition: transform 0.35s ease;
  }

  .indiv_post:hover .img_p img {
    transform: scale(1.04);
  }
  .img_p .keep_pinned_post {
    position: absolute !important;
    top: -2px !important;
    right: -6px;
    left: unset !important;
    opacity: 1 !important;
  }
  .img_p .keep_pinned_post img {
    width: 30px;
    transform: rotate(45deg);
  }
  .my_fncy_btn,
  .in_lnks a {
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      background-color 0.25s ease,
      color 0.25s ease;
  }

  .my_fncy_btn:hover,
  .in_lnks a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  .in_lnks a:hover span {
    transform: translateX(-5px);
  }
}

/* زیر بخش ها */
.hero-card {
  width: 95%;
  margin: 25px auto;
  padding: 15px;
  border-radius: var(--border-r);
  background: linear-gradient(220deg, #134e5e 0%, #71b280 100%);
  border: 1px solid #107720;
  color: #fff;
  margin-top: 0;
}
.hero-card-texts {
  display: grid;
  grid-template-columns: 1fr 205px;
  gap: 15px;
}
.hero-card-pics {
  grid-row: span 2;
  place-self: center;
  display: flex;
}
.hero-card-pics img {
  width: 100%;
  border-radius: var(--border-r);
}
.hero-card-texts-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #111;
  flex-flow: row wrap;
  gap: 5px;
}
.hero-card-texts-1,
.hero-card-texts-2 {
  max-width: 600px;
}
.hero-card-texts-1 p {
  font-size: 0.8rem;
  color: inherit;
}
.hero-card-texts-1 h1 {
  font-size: 1.5rem;
}
.hero-card-texts-2 span {
  padding: 7px 10px;
  background-color: #fff;
  border-radius: var(--btn-border-reduse);
  font-size: 0.8rem;
  display: inline-flex;
  border: 1px solid #f1f1f1;
  text-wrap: nowrap;
}
.all-products {
  width: 95%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(216px, 1fr));
  gap: 15px;
  width: var(--box-width);
  margin: 30px auto;
  grid-auto-flow: dense;
  place-items: start center;
}
@media (width <600px) {
  .hero-card-pics {
    grid-row: span 1;
  }
  .hero-card-texts-2 {
    grid-column: 1 / -1;
  }
}
@media (width <640px) {
  .hero-card-texts-1 {
    grid-column: 1 / -1;
  }
  .hero-card-texts-1 h1,
  .hero-card-texts-1 p {
    text-align: center;
  }
  .hero-card-pics {
    grid-column: 1 / -1;
    width: 50%;
  }
  .hero-card {
    padding: 15px 5px;
  }
  .hero-card-texts-2 {
    grid-column: 1 / -1;
  }
  .hero-card-texts-2 div {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-flow: row wrap;
  }
}
.nav_top_sys {
  color: #333;
  width: 95%;
  margin: 10px auto;
  font-size: 0.8rem;
}
.nav_top_sys a {
  color: #111;
  font-size: inherit;
  display: inline-block;
}
.nav_top_sys .htm_entts {
  display: inline-block;
  margin: 0 5px;
}
