.box {
  direction: rtl;
  margin: 30px auto;
  background: #000;
  border-radius: 15px;
  overflow: hidden;
    width: 700px !important;
}

.box img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.cta-box {
  padding: 15px;
  text-align: right;
  color: #fff;
}

.cta-box__header {
  font-size: 25px !important;
  font-weight: 700;
  margin-bottom: 15px;
}

/* ✅ استایل ورودی سفارشی فرم */
/* حالت پیش‌فرض: فرم شماره تلفن */
/*.custom-phone-submit {*/
/*  display: flex !important;*/
/*  flex-direction: row !important;*/
/*  background: #fff !important;*/
/*  width: 100% !important;*/
  /*margin: 0 auto !important;*/
/*  border: 1px solid #ccc !important;*/
/*  border-radius: 6px !important;*/
/*  overflow: hidden !important;*/
/*  padding: 5px !important;*/
/*}*/

/* ورودی فرم */
/*.custom-phone-submit input[type="tel"] {*/
/*  flex: 1 !important;*/
/*  border: none !important;*/
/*  padding: 10px !important;*/
/*  font-size: 16px !important;*/
/*}*/

/* دکمه فرم */
/*.custom-phone-submit button {*/
/*  background-color: #9BFF00 !important;*/
/*  color: #000 !important;*/
/*  border: none !important;*/
/*  padding: 0 20px !important;*/
/*  font-size: 16px !important;*/
/*  cursor: pointer !important;*/
/*  transition: background 0.3s ease !important;*/
/*  border-radius: 6px !important;*/
/*}*/

/*.custom-phone-submit button:hover {*/
/*  background-color: #005a87;*/
/*  color: #fff !important;*/
/*}*/

/* حالت فقط دکمه تماس */
.custom-phone-submit.full-button {
  display: block !important;
  background: transparent;
  border: none;
  max-width: none;
  padding: 0;
  margin: 0 auto;
  text-align: center;
}

.custom-phone-submit.full-button a {
  display: block;
  text-decoration: none;
}

.custom-phone-submit.full-button button {
  width: 100%;
  font-family: inherit !important;
  background-color: #9BFF00 !important;
  color: #000 !important;
  font-size: 18px;
  padding: 12px 0;
  border-radius: 8px !important;
  border: none;
}


/* ✅ مخفی‌سازی دکمه اصلی گرویتی فرم */
/*.gform_legacy_markup_wrapper {*/
/*  padding-right: 0 !important;*/
/*}*/

/*.gform_footer {*/
/*  height: 0 !important;*/
/*  overflow: hidden !important;*/
/*  opacity: 0 !important;*/
/*  pointer-events: none !important;*/
/*  position: absolute !important;*/
/*  z-index: -1 !important;*/
/*}*/

/* ✅ placeholder ورودی تلفن */
input[id^="input_"][id$="_2"]::placeholder {
  text-align: left !important;
  font-size: 18px !important;
}

/* ✅ استایل حالت شماره تماس */
.cta-phone-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 10px 15px;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 8px;
  color: #000;
}

.cta-phone-box a {
  display: inline-block;
  padding: 10px 20px;
  background: #9BFF00;
  border-radius: 6px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-phone-box a:hover {
  background: #005a87;
  color: #fff;
}

