/**
 * Front page extracted styles and responsive layout.
 */

@keyframes iranDrift {
  from {
    transform: translateX(70px);
  }

  to {
    transform: translateX(-70px);
  }
}

@keyframes iranPulse {

  0%,
  100% {
    opacity: .55;
  }

  50% {
    opacity: 1;
  }
}

.ka-fp-s001 {
  min-height: 100vh;
  background: #ffffff;
  color: #1a1816;
  transition: background 0.6s ease;
  font-family: 'Vazirmatn', system-ui, sans-serif;
}

.ka-fp-s002 {
  position: relative;
  min-height: 280px;
  z-index: 4;
  background: #083240;
}

.ka-fp-s003 {
  position: absolute;
  inset: 0px;
  overflow: hidden;
}

.ka-fp-s004 {
  position: absolute;
  inset: 0px;
}

.ka-fp-s005 {
  position: absolute;
  inset: 0px;
  overflow: hidden;
  background: linear-gradient(rgb(10, 74, 95) 0%, rgb(11, 84, 107) 55%, rgb(8, 60, 77) 100%);
}

.ka-fp-s006 {
  position: absolute;
  inset: -60px -120px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: 46s ease-in-out 0s infinite alternate none running iranDrift;
}

.ka-fp-s007 {
  width: 40%;
  height: 100%;
}

.ka-fp-s008 {
  animation: 5s ease-in-out 0s infinite normal none running iranPulse;
}

.ka-fp-s009 {
  animation: 6s ease-in-out 0.4s infinite normal none running iranPulse;
}

.ka-fp-s010 {
  animation: 7s ease-in-out 0.8s infinite normal none running iranPulse;
}

.ka-fp-s011 {
  animation: 8s ease-in-out 1.2s infinite normal none running iranPulse;
}

.ka-fp-s012 {
  animation: 9s ease-in-out 1.6s infinite normal none running iranPulse;
}

.ka-fp-s013 {
  animation: 5s ease-in-out 2s infinite normal none running iranPulse;
}

.ka-fp-s014 {
  animation: 6s ease-in-out 2.4s infinite normal none running iranPulse;
}

.ka-fp-s015 {
  animation: 7s ease-in-out 2.8s infinite normal none running iranPulse;
}

.ka-fp-s016 {
  animation: 8s ease-in-out 3.2s infinite normal none running iranPulse;
}

.ka-fp-s017 {
  animation: 9s ease-in-out 3.6s infinite normal none running iranPulse;
}

.ka-fp-s018 {
  animation: 5s ease-in-out 4s infinite normal none running iranPulse;
}

.ka-fp-s019 {
  animation: 6s ease-in-out 4.4s infinite normal none running iranPulse;
}

.ka-fp-s020 {
  animation: 7s ease-in-out 4.8s infinite normal none running iranPulse;
}

.ka-fp-s021 {
  animation: 8s ease-in-out 5.2s infinite normal none running iranPulse;
}

.ka-fp-s022 {
  animation: 9s ease-in-out 5.6s infinite normal none running iranPulse;
}

.ka-fp-s023 {
  animation: 5s ease-in-out 6s infinite normal none running iranPulse;
}

.ka-fp-s024 {
  animation: 6s ease-in-out 6.4s infinite normal none running iranPulse;
}

.ka-fp-s025 {
  animation: 7s ease-in-out 6.8s infinite normal none running iranPulse;
}

.ka-fp-s026 {
  animation: 8s ease-in-out 7.2s infinite normal none running iranPulse;
}

.ka-fp-s027 {
  animation: 9s ease-in-out 7.6s infinite normal none running iranPulse;
}

.ka-fp-s028 {
  animation: 5s ease-in-out 8s infinite normal none running iranPulse;
}

.ka-fp-s029 {
  animation: 6s ease-in-out 8.4s infinite normal none running iranPulse;
}

.ka-fp-s030 {
  animation: 7s ease-in-out 8.8s infinite normal none running iranPulse;
}

.ka-fp-s031 {
  animation: 8s ease-in-out 9.2s infinite normal none running iranPulse;
}

.ka-fp-s032 {
  animation: 9s ease-in-out 9.6s infinite normal none running iranPulse;
}

.ka-fp-s033 {
  animation: 5s ease-in-out 10s infinite normal none running iranPulse;
}

.ka-fp-s034 {
  animation: 6s ease-in-out 10.4s infinite normal none running iranPulse;
}

.ka-fp-s035 {
  animation: 7s ease-in-out 10.8s infinite normal none running iranPulse;
}

.ka-fp-s036 {
  animation: 8s ease-in-out 11.2s infinite normal none running iranPulse;
}

.ka-fp-s037 {
  position: absolute;
  inset: 0px;
  background: linear-gradient(rgba(8, 50, 64, 0.35) 0%, rgba(8, 50, 64, 0.05) 55%, rgba(8, 50, 64, 0) 100%);
  pointer-events: none;
}

.ka-fp-s038 {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 220px;
  background: linear-gradient(transparent, transparent);
  pointer-events: none;
}

.ka-fp-s039 {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 41px;
  border-radius: 0px;
  position: absolute;
  left: -2px;
  top: 186px;
  background: linear-gradient(rgba(9, 73, 94, 0), rgb(10, 69, 90));
  justify-content: center;
  align-items: center;
}

.ka-fp-s040 {
  position: relative;
  max-width: 1048px;
  margin: 0 auto;
  padding: 44px 24px 0;
  text-align: center;
  padding-bottom: 6px;
}

.ka-fp-s041 {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.5;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.ka-fp-s042 {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.ka-fp-s043 {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 4px;
}

.ka-fp-s044 {
  border: none;
  cursor: pointer;
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  background: #f26a21;
  color: #ffffff;
  transition: all 0.2s;
}

.ka-fp-s045 {
  border: none;
  cursor: pointer;
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  background: transparent;
  color: #ffffff;
  transition: all 0.2s;
}

.ka-fp-s046 {
  max-width: 648px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #958a7f;
  border-radius: 9999px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
}

.ka-fp-s047 {
  flex: none;
  border: none;
  cursor: pointer;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 14px;
  white-space: nowrap;
  color: #1a1816;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.ka-fp-s048 {
  width: 1px;
  height: 22px;
  background: #e4e4e2;
  flex: none;
}

.ka-fp-s049 {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 12px;
  color: #1a1816;
  outline: none;
  padding: 7px 4px;
  min-width: 0;
}

.ka-fp-s050 {
  flex: none;
  border: none;
  cursor: pointer;
  background: #f26a21;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.ka-fp-s051 {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.ka-fp-s052 {
  margin: 2px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px;
  backdrop-filter: blur(4px);
  width: fit-content;
  max-width: 100%;
  margin-top: 0px;
  margin-bottom: 9px;
  border-width: 1px;
  border-radius: 14px;
}

.ka-fp-s053 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  padding: 8px 14px;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.15s ease;
}

.ka-fp-s054 {
  width: 1px;
  align-self: center;
  height: 18px;
  background: rgba(255, 255, 255, 0.12);
}

.ka-fp-s055 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #ffd0ab;
  border-radius: 10px;
  padding: 8px 14px;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.15s ease;
}

.ka-fp-s056 {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.ka-fp-s057 {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 400px;
  position: relative;
}

.ka-fp-s058 {
  position: absolute;
  top: 16px;
  left: 16px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.ka-fp-s059 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 800;
}

.ka-fp-s060 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ka-fp-s061 {
  font-size: 13px;
  font-weight: 700;
}

.ka-fp-s062 {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-top: 6px;
  font-family: inherit;
}

.ka-fp-s063 {
  width: 100%;
  padding: 12px;
  background: #f26a21;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

.ka-fp-s064 {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}

.ka-fp-s065 {
  position: sticky;
  top: 76px;
  border: 1px solid #D7D7D6;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background-color: #FFFFFF10;
}

.ka-fp-s066 {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ka-fp-s067 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ka-fp-s068 {
  font-size: 14.5px;
  font-weight: 800;
  color: #1a1816;
}

.ka-fp-s069 {
  border: none;
  cursor: pointer;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: #7c7772;
  padding: 2px;
}

.ka-fp-s070 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #5b5652;
}

.ka-fp-s071 {
  border: 1.5px solid #e4e4e2;
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 13px;
  color: #1a1816;
  background: #fbfbfa;
  outline: none;
  font-family: inherit;
}

.ka-fp-s072 {
  display: flex;
  gap: 8px;
}

.ka-fp-s073 {
  width: 50%;
  min-width: 0;
  border: 1.5px solid #e4e4e2;
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 13px;
  background: #fbfbfa;
  outline: none;
  font-family: inherit;
}

.ka-fp-s074 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #1a1816;
}

.ka-fp-s075 {
  font-size: 12.5px;
  font-weight: 700;
  color: #5b5652;
}

.ka-fp-s076 {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.ka-fp-s077 {
  accent-color: #f26a21;
  width: 16px;
  height: 16px;
}

.ka-fp-s078 {
  border: none;
  cursor: pointer;
  background: transparent;
  color: #0B546B;
  font-size: 12.5px;
  font-weight: 700;
  text-align: right;
  padding: 0;
  font-family: inherit;
}

.ka-fp-s079 {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.ka-fp-s080 {
  border: none;
  cursor: pointer;
  background: #f26a21;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  padding: 11px 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  font-family: inherit;
}

.ka-fp-s081 {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.ka-fp-s082 {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ka-fp-s083 {
  border: 1px solid #0B546B;
  cursor: pointer;
  background: #0B546B;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: inherit;
  box-shadow: none;
}

.ka-fp-s084 {
  border: 1px solid #e4e4e2;
  cursor: pointer;
  background: #ffffff;
  color: #1a1816;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: inherit;
  box-shadow: none;
}

.ka-fp-s085 {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e4e4e2;
  cursor: pointer;
  background: #ffffff;
  color: #f26a21;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: inherit;
  box-shadow: none;
  text-decoration: none;
}

.ka-fp-s086 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ka-fp-s087 {
  font-size: 13px;
  color: #7c7772;
}

.ka-fp-s088 {
  color: #1a1816;
  font-weight: 800;
}

.ka-fp-s089 {
  border: 1.5px solid #e4e4e2;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #1a1816;
  background: #ffffff;
  outline: none;
  font-family: inherit;
}

.ka-fp-s090 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ka-fp-s091 {
  grid-column: 1/-1;
}

.scp7:hover {
  box-shadow: rgba(0, 0, 0, 0.2) 0 0 8px 0, rgba(0, 0, 0, 0.14) 0 4px 14px 0 !important;
  color: rgb(26, 24, 22) !important;
}

.ka-fp-s092 {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.ka-fp-s093 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ka-fp-s094 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #1a1816;
}

.ka-fp-s095 {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #7c7772;
}

.ka-fp-s096 {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ka-fp-s097 {
  font-size: 12.5px;
  font-weight: 700;
  color: #0B546B;
  text-decoration: underline;
  white-space: nowrap;
}

.ka-fp-s098 {
  background: #0B546B;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 20px;
  padding: 8px 20px;
  border-radius: 48px;
  white-space: nowrap;
  text-decoration: none;
}

.ka-fp-s099 {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08), 0px 1px 4px 0px rgba(0, 0, 0, 0.16);
  color: #1a1816;
  text-decoration: none;
  transition: all 0.15s ease;
}

.ka-fp-s100 {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
}

.ka-fp-s101 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: #7c7772;
  margin-top: 3px;
  height: 18px;
  overflow: hidden;
}

.ka-fp-s102 {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
  background: #faf9f8;
  border: 1px solid #f2f1f0;
  border-radius: 12px;
  padding: 4px 12px;
}

.ka-fp-s103 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
}

.ka-fp-s104 {
  font-size: 11px;
  color: #9a938d;
}

.ka-fp-s105 {
  font-size: 12px;
  font-weight: 700;
  color: #1a1816;
}

.ka-fp-s106 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-top: 1px solid #eceae8;
}

.ka-fp-s107 {
  display: block;
  margin-top: 12px;
}

.ka-fp-s108 {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.ka-fp-s109 {
  font-size: 11px;
  font-weight: 700;
  color: #0B546B;
  white-space: nowrap;
}

.ka-fp-s110 {
  font-size: 11px;
  font-weight: 700;
  color: #f26a21;
  white-space: nowrap;
}

.ka-fp-s111 {
  display: flex;
  height: 6px;
  border-radius: 99px;
  overflow: hidden;
  gap: 2px;
}

.ka-fp-s112 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 13px;
}

.ka-fp-s113 {
  font-size: 12px;
  font-weight: 800;
  color: #0B546B;
  white-space: nowrap;
  border-top: 1px solid #f2f1f0;
  display: block;
  width: 100%;
  text-align: left;
  padding-top: 11px;
}

.ka-fp-s114 {
  position: relative;
  display: block;
  height: 142px;
  background: #f2f0ef;
}

.ka-fp-s115 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa5aa;
  font-size: 12px;
}

.ka-fp-s116 {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  height: 21px;
  background: #0B546B;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 14px;
  padding: 0 9px;
  border-radius: 48px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.ka-fp-s117 {
  padding: 12px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ka-fp-s118 {
  font-size: 14px;
  font-weight: 800;
  color: #1a1816;
}

.ka-fp-s119 {
  font-size: 11.5px;
  color: #7c7772;
}

.ka-fp-s120 {
  display: flex;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #5b5652;
  border-top: 1px solid #f2f1f0;
  padding-top: 9px;
  margin-top: 6px;
}

.ka-fp-s121 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
}

.ka-fp-s122 {
  background: #fdeee4;
  border: 1px solid #f8d2b8;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.ka-fp-s123 {
  font-size: 14.5px;
  font-weight: 800;
  color: #1a1816;
  margin-bottom: 2px;
}

.ka-fp-s124 {
  font-size: 12.5px;
  color: #5b5652;
}

.ka-fp-s125 {
  flex: none;
  background: #f26a21;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
}

.ka-fp-s126 {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.ka-fp-s127 {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.ka-fp-s128 {
  border: 1px solid #0B546B;
  cursor: pointer;
  background: #ffffff;
  color: #0B546B;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  min-height: 46px;
  padding: 10px 24px;
  border-radius: 48px;
  white-space: nowrap;
  text-decoration: none;
}

.ka-fp-s129 {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.ka-fp-s130 {
  font-size: 11.5px;
  font-weight: 700;
  color: #7c7772;
}

.ka-fp-s131 {
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 24px 0;
}

.ka-fp-s132 {
  border: 1.5px solid #f26a21;
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  background-color: #1A1816;
}

.ka-fp-s133 {
  position: absolute;
  left: -70px;
  top: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(242, 106, 33, 0.15);
}

.ka-fp-s134 {
  position: relative;
  max-width: 640px;
}

.ka-fp-s135 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, #f26a21, #d95a15);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.ka-fp-s136 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.ka-fp-s137 {
  font-size: 13px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.75);
}

.ka-fp-s138 {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.ka-fp-s139 {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.ka-fp-s140 {
  position: relative;
  flex: none;
  background: #f26a21;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  padding: 13px 30px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(242, 106, 33, 0.4);
  text-decoration: none;
}

.ka-fp-s141 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: #1a1816;
}

.ka-fp-s142 {
  margin: 0 0 18px;
  font-size: 13px;
  color: #7c7772;
}

.ka-fp-s143 {
  background: #ffffff;
  border: 1px solid #e4e4e2;
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.ka-fp-s144 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ka-fp-s145 {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fdeee4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ka-fp-s146 {
  font-size: 15.5px;
  font-weight: 800;
  color: #1a1816;
}

.ka-fp-s147 {
  font-size: 12.5px;
  line-height: 1.9;
  color: #7c7772;
}

.ka-fp-s148 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: #0B546B;
  white-space: nowrap;
}

.ka-fp-s149 {
  font-weight: 900;
  color: #f26a21;
}

.ka-fp-s150 {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 24px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ka-fp-s151 {
  background: #fdf0e8;
  border: 1px solid #f7d3bd;
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.ka-fp-s152 {
  position: absolute;
  left: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(242, 106, 33, 0.08);
}

.ka-fp-s153 {
  font-size: 12px;
  font-weight: 800;
  color: #f26a21;
}

.ka-fp-s154 {
  font-size: 17px;
  font-weight: 800;
  color: #1a1816;
}

.ka-fp-s155 {
  font-size: 12.5px;
  line-height: 1.9;
  color: #7a5c4c;
}

.ka-fp-s156 {
  align-self: flex-start;
  margin-top: 8px;
  background: #f26a21;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  padding: 9px 22px;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
}

.ka-fp-s157 {
  background: #f8f7f7;
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ka-fp-s158 {
  font-size: 12px;
  font-weight: 700;
  color: #f26a21;
}

.ka-fp-s159 {
  font-size: 12.5px;
  line-height: 1.9;
  color: #5b5652;
}

.ka-fp-s160 {
  align-self: flex-start;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #0B546B;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  padding: 9px 22px;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
}

.ka-fp-s161 {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 24px 36px;
}

.ka-fp-s162 {
  background: #0B546B;
  border-radius: 20px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.ka-fp-s163 {
  position: absolute;
  left: -90px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.ka-fp-s164 {
  position: absolute;
  left: 120px;
  top: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(242, 106, 33, 0.13);
}

.ka-fp-s165 {
  position: relative;
  max-width: 620px;
}

.ka-fp-s166 {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.ka-fp-s167 {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.ka-fp-s168 {
  font-size: 13px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
}

.ka-fp-s169 {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.ka-fp-s170 {
  position: relative;
  flex: none;
  background: #f26a21;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  padding: 13px 30px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.ka-fp-s047:hover,
.ka-fp-s069:hover,
.ka-fp-s078:hover {
  color: #f26a21;
}

.ka-fp-s050:hover,
.ka-fp-s080:hover,
.ka-fp-s125:hover,
.ka-fp-s140:hover,
.ka-fp-s156:hover,
.ka-fp-s170:hover {
  background: #d95a15;
}

.ka-fp-s053:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.ka-fp-s055:hover {
  background: rgba(242, 106, 33, 0.2);
  color: #ffffff;
}

.ka-fp-s098:hover,
.ka-fp-s160:hover {
  background: #08404f;
}

.ka-fp-s099:hover {
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2), 0 4px 14px 0 rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

.ka-fp-s143:hover {
  border-color: #f26a21;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.ka-fp-s128:hover {
  background: #0B546B;
  color: #ffffff;
}

.ka-partnership-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
}

.ka-partnership-owner .ka-partnership-card-head {
  background: #e6f0f3;
}

.ka-partnership-builder .ka-partnership-card-head {
  background: #fdeee4;
}

.ka-partnership-card-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.ka-partnership-owner .ka-partnership-card-role,
.ka-partnership-owner .ka-partnership-card-want {
  color: #0B546B;
}

.ka-partnership-builder .ka-partnership-card-role,
.ka-partnership-builder .ka-partnership-card-want {
  color: #f26a21;
}

.ka-partnership-card-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: block;
  background: currentColor;
}

.ka-partnership-card-want {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 4px;
  height: 18px;
  overflow: hidden;
}

.ka-share-progress {
  display: block;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 99px;
  overflow: hidden;
  background: #f26a21;
  appearance: none;
}

.ka-share-progress::-webkit-progress-bar {
  background: #f26a21;
}

.ka-share-progress::-webkit-progress-value {
  background: #0B546B;
}

.ka-share-progress::-moz-progress-bar {
  background: #0B546B;
}

.ka-home-results-message {
  background: #fff;
  border: 1px solid #eef1f2;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  color: #5b5652;
  font-size: 13px;
  font-weight: 700;
}

.ka-home-results-message-error {
  color: #c53030;
}

.ka-home-property-card,
.ka-home-building-card,
#ka-normal-view .ka-fp-s090>a {
  min-width: 0;
}

.ka-home-property-card,
.ka-home-building-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08), 0 1px 4px 0 rgba(0, 0, 0, 0.16);
  color: #1a1816;
  text-decoration: none;
  transition: all 0.15s ease;
}

.ka-home-property-card:hover,
.ka-home-building-card:hover {
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2), 0 4px 14px 0 rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

.ka-home-property-media,
.ka-home-building-media {
  position: relative;
  display: block;
  background: #f2f0ef;
  overflow: hidden;
}

.ka-home-property-media {
  aspect-ratio: 3 / 2;
}

.ka-home-building-media {
  height: 142px;
}

.ka-fp-s114 {
  overflow: hidden;
}

.ka-home-property-media .sc-host-x,
.ka-home-property-img,
.ka-home-building-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
}

.ka-home-property-img,
.ka-home-building-img {
  object-fit: cover;
  display: block;
}

.ka-fp-s114 .ka-home-building-img {
  position: absolute;
  inset: 0;
}

.ka-home-property-no-image,
.ka-home-building-no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0aba5;
  font-size: 12px;
  font-weight: 700;
}

.ka-home-property-vip,
.ka-home-building-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  height: 21px;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 14px;
  padding: 0 8px;
  border-radius: 48px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.ka-home-property-vip {
  background: #f26a21;
}

.ka-home-building-badge {
  background: #0B546B;
  padding-inline: 9px;
}

.ka-home-property-body,
.ka-home-building-body {
  padding: 12px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.ka-home-property-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a1816;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}

.ka-home-building-title {
  font-size: 14px;
  font-weight: 800;
  color: #1a1816;
  line-height: 1.6;
}

.ka-home-property-location,
.ka-home-building-text {
  font-size: 11.5px;
  color: #7c7772;
  line-height: 1.6;
}

.ka-home-property-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  color: #5b5652;
  justify-content: space-between;
  min-width: 0;
}

.ka-home-property-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.ka-home-property-meta-item .sc-interp {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ka-home-property-price {
  font-size: 11.5px;
  font-weight: 700;
  color: #7c7772;
  line-height: 1.7;
}

.ka-home-property-status {
  align-self: flex-start;
  margin-top: 6px;
  background: #f2f6f7;
  color: #0B546B;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  padding: 3px 10px;
  border-radius: 48px;
  white-space: nowrap;
}

.ka-home-building-meta {
  display: flex;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #5b5652;
  border-top: 1px solid #f2f1f0;
  padding-top: 9px;
  margin-top: 6px;
}

.ka-home-ajax-results {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ka-home-ajax-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ka-home-ajax-summary-text {
  font-size: 13px;
  color: #7c7772;
}

.ka-home-ajax-summary-text b {
  color: #1a1816;
  font-weight: 800;
}

.ka-home-ajax-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ka-home-ajax-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ka-home-ajax-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ka-home-ajax-section-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f26a21;
  display: block;
  flex: none;
}

.ka-home-ajax-section-name {
  font-size: 16px;
  font-weight: 800;
  color: #1a1816;
}

.ka-home-ajax-section-count {
  font-size: 11.5px;
  font-weight: 700;
  color: #7c7772;
  white-space: nowrap;
}

.ka-home-ajax-section-link {
  font-size: 12.5px;
  font-weight: 700;
  color: #0B546B;
  text-decoration: underline;
  white-space: nowrap;
}

.ka-home-ajax-section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ka-home-ajax-empty {
  background: #fff;
  border: 1px solid #eef1f2;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  color: #5b5652;
}

.ka-home-ajax-empty-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.ka-home-ajax-empty strong {
  display: block;
  color: #1a1816;
  margin-bottom: 6px;
}

.ka-home-ajax-empty span {
  font-size: 12.5px;
}

/* Front page responsive refinements */
#ka-normal-view,
#ka-normal-view * {
  box-sizing: border-box;
}

#ka-normal-view {
  overflow-x: clip;
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

#ka-home-hero-search-form input,
#ka-home-hero-search-form button,
#ka-location-modal select,
#ka-location-modal button {
  font-family: 'Vazirmatn', system-ui, sans-serif;
}

#ka-home-hero-search-form button,
#v3-services a,
[data-screen-label="فیلترها"] button,
[data-screen-label="کارت‌های خدمات"] a,
[data-screen-label="باشگاه و تخمین"] a,
[data-screen-label="پنل مشاوران املاک"] a {
  -webkit-tap-highlight-color: transparent;
}

#v3-services {
  scrollbar-width: none;
}

#v3-services::-webkit-scrollbar,
#ka-tabs-nav::-webkit-scrollbar {
  display: none;
}

@media (hover: hover) {
  #v3-services a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }
}

@media (max-width: 920px) {
  .ka-fp-s090 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .ka-home-ajax-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  [data-screen-label="آگهی‌ها"] {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #ka-normal-view .sidebar-filter {
    position: fixed !important;
    bottom: 0 !important;
    top: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: 85vh !important;
    max-height: 85vh !important;
    background: #fff !important;
    z-index: 1001 !important;
    border-radius: 24px 24px 0 0 !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15) !important;
    overflow-y: auto !important;
    padding: 30px 20px !important;
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.4s !important;
  }

  #ka-normal-view .sidebar-filter.active-mobile-drawer {
    transform: translateY(0);
    visibility: visible;
  }

  [data-screen-label="کارت‌های خدمات"]>div:last-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-screen-label="باشگاه و تخمین"] {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ka-fp-s090 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ka-home-ajax-section-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #ka-normal-view>section:first-of-type {
    min-height: auto;
  }

  #ka-normal-view>section:first-of-type svg[viewBox="0 0 1600 900"] {
    width: 125%;
    opacity: .55;
  }

  #ka-normal-view>section:first-of-type h1 {
    font-size: 18px !important;
    line-height: 1.65;
    margin-bottom: 18px;
    padding: 0 4px;
  }

  #ka-home-hero-search-form {
    background: rgb(255, 255, 255);
    border: 1px solid rgb(149, 138, 127);
    border-radius: 9999px;
    box-shadow: rgba(0, 0, 0, 0.22) 0px 8px 28px;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  #ka-home-hero-search-form>button[type="button"] {
    flex: 0 0 auto;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    cursor: pointer;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: rgb(26, 24, 22);
    padding: 8px 0px 8px 4px;
    margin-right: 10px;
    white-space: nowrap;
  }

  #ka-home-hero-search-form>span {
    display: none;
  }

  #hero_search_query {
    flex: 1 1 0%;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    background: transparent;
    font-size: 12.5px;
    color: rgb(26, 24, 22);
    outline: none;
    padding: 8px 2px;
    min-width: 0px;
  }

  #ka-home-hero-search-form>button[type="submit"] {
    flex: 0 0 auto;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    cursor: pointer;
    background: rgb(242, 106, 33);
    color: rgb(255, 255, 255);
    font-size: 13px;
    font-weight: 800;
    min-height: 42px;
    padding: 0px 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }

  #v3-services {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 5px;
    gap: 6px;
  }

  #v3-services>span {
    display: none;
  }

  #v3-services a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.08);
  }

  #ka-location-modal {
    padding: 14px;
    align-items: flex-end;
  }

  #ka-location-modal>div {
    max-width: none;
    border-radius: 18px 18px 0 0;
    padding: 22px 18px 20px;
  }

  [data-screen-label="آگهی‌ها"],
  [data-screen-label="کارت‌های خدمات"],
  [data-screen-label="باشگاه و تخمین"],
  [data-screen-label="پنل مشاوران املاک"] {
    padding-left: 14px;
    padding-right: 14px;
  }

  [data-screen-label="آگهی‌ها"] {
    display: flex;
    flex-direction: column;
    padding-top: 18px;
  }

  .ka-mobile-filter-btn,
  .ka-mobile-close-filter {
    display: flex !important;
  }

  .ka-fp-s067-mobile {
    flex-direction: row-reverse;
  }

  .ka-fp-s067-mobile .ka-fp-s089 {
    margin-right: 0 !important;
  }

  [data-screen-label="آگهی‌ها"]>.sidebar-filter:not(.active-mobile-drawer) {
    transform: translateY(100%) !important;
    visibility: hidden !important;
  }

  [data-screen-label="فیلترها"] form {
    gap: 12px;
  }

  [data-screen-label="فیلترها"] select,
  [data-screen-label="فیلترها"] input {
    min-height: 42px;
    font-size: 12.5px;
  }

  #ka-tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  #ka-tabs-nav button {
    flex: 0 0 auto;
    min-height: 40px;
  }

  #tab-properties>div,
  #tab-partnership>div:last-child,
  #tab-projects>div:last-child,
  [data-screen-label="کارت‌های خدمات"]>div:last-child,
  [data-screen-label="باشگاه و تخمین"] {
    grid-template-columns: 1fr;
  }

  .ka-home-property-card,
  .ka-home-building-card,
  #ka-normal-view .ka-fp-s090>a {
    width: 100%;
    max-width: 100%;
  }

  .ka-home-property-card,
  .ka-home-building-card,
  .ka-fp-s099 {
    border-radius: 14px;
  }

  .ka-home-property-body,
  .ka-home-building-body {
    padding: 10px 12px 12px;
    gap: 3px;
  }

  .ka-home-property-media {
    height: 96px;
    aspect-ratio: auto;
  }

  /* سازه‌های شاخص صفحه اصلی: فقط کارت‌هایی که ka-fp-s114 دارند */
  .ka-fp-s099:has(.ka-fp-s114) {
    flex-direction: row !important;
    align-items: stretch !important;
    border-radius: 14px !important;
    min-height: 92px;
  }

  .ka-home-building-media,
  .ka-fp-s114 {
    position: relative !important;
    flex: 0 0 auto !important;
    align-self: stretch !important;
    min-height: 92px !important;
    aspect-ratio: 16 / 9 !important;
    width: auto !important;
    height: auto !important;
    overflow: hidden;
  }

  .ka-fp-s114 .ka-home-building-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .ka-home-property-title,
  .ka-home-building-title,
  .ka-fp-s118 {
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.5;
    min-height: unset;
  }

  /* بج پروژه */
  .ka-fp-s116 {
    font-size: 10px !important;
    height: 20px !important;
    padding: 0 8px !important;
    white-space: nowrap;
  }

  /* بدنه کارت سازه */
  .ka-fp-s117 {
    min-width: 0 !important;
    flex: 1 1 0% !important;
    padding: 9px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 4px !important;
  }

  /* لوکیشن و سازنده */
  .ka-fp-s119 {
    font-size: 10px !important;
    color: #7c7772 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* متا: طبقه، واحد، نوع ساخت */
  .ka-fp-s120 {
    font-size: 9.5px !important;
    font-weight: 600 !important;
    gap: 7px !important;
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .ka-fp-s120 span {
    white-space: nowrap;
  }

  .ka-home-property-location,
  .ka-home-building-text {
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ka-home-property-price {
    font-size: 10.5px;
  }

  .ka-home-property-status {
    font-size: 10px;
    padding: 2px 9px;
  }

  .ka-home-property-meta {
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .ka-home-property-meta-item {
    flex: 0 1 auto;
  }

  .ka-fp-s093 {
    align-items: flex-start;
  }

  .ka-fp-s096,
  .ka-fp-s121 {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .ka-fp-s098 {
    text-align: center;
  }

  #tab-properties>div:first-child,
  #tab-partnership>div:first-child,
  #tab-projects>div:first-child {
    align-items: flex-start;
  }

  [data-screen-label="کارت‌های خدمات"]>div:first-child,
  [data-screen-label="پنل مشاوران املاک"]>div {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 22px 20px;
  }

  [data-screen-label="کارت‌های خدمات"]>div:first-child a,
  [data-screen-label="پنل مشاوران املاک"]>div>a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  #ka-normal-view>section:first-of-type h1 {
    font-size: 20px;
  }

  #v3-services a {
    font-size: 11.5px;
    padding-inline: 10px;
  }
}

/* ====================================================
   Mobile Card Layout: flex-row for property & building
   @max-width: 640px
   ==================================================== */
@media (max-width: 640px) {

  /* --- Property Card: flex-row --- */
  .ka-home-property-card {
    flex-direction: row !important;
    align-items: stretch !important;
    border-radius: 14px !important;
    min-height: 92px;
  }

  .ka-home-property-media {
    position: relative !important;
    flex: 0 0 auto !important;
    align-self: stretch !important;
    min-height: 143px;
    aspect-ratio: 163 / 143 !important;
    width: auto !important;
    height: auto !important;
    background: #f2f0ef;
  }

  .kazemi-property-thumbnail {}

  .ka-home-property-media .sc-host-x {
    position: absolute;
  }

  .ka-home-property-img {
    width: 100% !important;
    height: 100% !important;
    min-height: 143px;
    aspect-ratio: 163 / 143 !important;
    object-fit: cover;
  }

  .ka-home-property-no-image {
    position: absolute;
    inset: 0;
    font-size: 10px;
  }

  .ka-home-property-vip {
    top: 8px;
    right: 8px;
    font-size: 10px;
    height: 20px;
    padding: 0 8px;
  }

  .ka-home-property-body {
    min-width: 0 !important;
    flex: 1 1 0% !important;
    padding: 9px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 5px !important;
  }

  .ka-home-property-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    min-height: unset !important;
    -webkit-line-clamp: 2;
  }

  .ka-home-property-location {
    font-size: 10.5px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ka-home-property-meta {
    gap: 9px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    margin-top: 0 !important;
    justify-content: flex-start !important;
  }

  .ka-home-property-meta-item {
    gap: 3px !important;
    flex: 0 0 auto !important;
  }

  .ka-home-property-price {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #7c7772 !important;
  }

  .ka-home-property-status {
    font-size: 10px !important;
    padding: 2px 9px !important;
    margin-top: 0 !important;
  }

  /* --- Building Card: flex-row --- */
  .ka-home-building-card {
    flex-direction: row !important;
    align-items: stretch !important;
    border-radius: 14px !important;
    min-height: 92px;
  }

  .ka-home-building-media {
    position: relative !important;
    flex: 0 0 auto !important;
    align-self: stretch !important;
    min-height: 92px;
    aspect-ratio: 16 / 9 !important;
    width: auto !important;
    height: auto !important;
    background: #f2f0ef;
    overflow: hidden;
  }

  .ka-home-building-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .ka-home-building-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
  }

  .ka-home-building-badge {
    top: 8px;
    right: 8px;
    font-size: 10px;
    height: 20px;
    padding: 0 8px;
    background: #0B546B;
    white-space: nowrap;
  }

  .ka-home-building-body {
    min-width: 0 !important;
    flex: 1 1 0% !important;
    padding: 9px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 4px !important;
  }

  .ka-home-building-title {
    font-size: 12.5px !important;
    font-weight: 800 !important;
    color: #1a1816 !important;
  }

  .ka-home-building-text {
    font-size: 10px !important;
    color: #7c7772 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ka-home-building-meta {
    font-size: 9.5px !important;
    font-weight: 600 !important;
    color: #5b5652 !important;
    gap: 7px !important;
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .ka-home-building-meta span {
    white-space: nowrap;
  }

  /* --- Grid becomes single column on mobile --- */
  .ka-fp-s090 {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .ka-home-ajax-section-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  /* ================================================
     Mobile Hero Section overrides
     ================================================ */
  .ka-fp-s040 {
    padding: 30px 16px 22px !important;
    text-align: center !important;
  }

  .ka-fp-s041 {
    font-size: 19px !important;
    margin: 0 0 16px !important;
    line-height: 1.8 !important;
  }

  /* Hero tab buttons: تنظیم اندازه دکمه‌ها */
  .ka-fp-s040 [data-dc-tpl="49"] button,
  .ka-fp-s040 [style*="border-radius: 999px"][style*="font-weight: 700"] {
    min-height: 38px;
    padding: 0 18px !important;
    font-size: 12.5px !important;
  }

  /* Search bar: pill shape تبدیل به pill مستقیم */
  .ka-fp-s046 {
    border-radius: 9999px !important;
    padding: 5px !important;
    gap: 6px !important;
    max-width: none !important;
  }

  .ka-fp-s047 {
    font-size: 12px !important;
    gap: 5px !important;
    margin-right: 10px !important;
    padding: 8px 0 8px 4px !important;
  }

  .ka-fp-s049 {
    font-size: 12.5px !important;
    padding: 8px 2px !important;
  }

  .ka-fp-s050 {
    font-size: 13px !important;
    font-weight: 800 !important;
    min-height: 42px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    gap: 6px !important;
  }

  /* Quick links زیر سرچ */
  .ka-fp-s051 {
    margin: 16px auto 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 11px 16px !important;
  }

  .ka-fp-s053,
  .ka-fp-s055 {
    font-size: 12px !important;
    font-weight: 600 !important;
    border-bottom: 1.5px dashed rgba(255, 255, 255, 0.25);
    padding-bottom: 3px;
    border-radius: 0;
    background: transparent !important;
    padding-inline: 0 !important;
    min-height: unset !important;
  }

  /* Services strip: horizontal scroll */
  #v3-services {
    margin: 16px auto 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 11px 16px;
    border: none;
    background: transparent;
    padding: 0;
    backdrop-filter: blur(0);
  }

  #v3-services>span {
    display: none;
  }

  #v3-services a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 11px !important;
    border-bottom: 1.5px dashed rgba(255, 255, 255, 0.25);
    border-radius: 0;
    padding-bottom: 3px;
  }
}