/* Homepage quick-post request flow v4.
   Loaded after the existing homepage styles and scoped only to the homepage lead form. */

.ccs-home .ccs-home-lead-card-v4{
  grid-template-columns:minmax(0,1fr) 350px;
}

.ccs-home .ccs-home-lead-head-v4{
  grid-template-columns:minmax(0,1fr) 164px;
}

.ccs-home .ccs-home-lead-head-v4 h2{
  max-width:700px;
  font-size:clamp(30px,2.7vw,42px);
}

.ccs-home .ccs-home-lead-head-v4 p{
  max-width:720px;
  font-size:14.5px;
}

.ccs-home .ccs-home-lead-step-title-v4{
  margin-bottom:22px;
}

.ccs-home .ccs-home-lead-step-title-v4>span{
  width:40px;
  height:40px;
  font-size:11px;
}

.ccs-home .ccs-home-lead-step-title-v4 strong{
  font-size:18px;
}

.ccs-home .ccs-home-lead-step-title-v4 small{
  max-width:720px;
  font-size:13px;
  line-height:1.55;
}

.ccs-home .ccs-home-lead-fields-3{
  grid-template-columns:1.15fr .9fr .85fr;
}

.ccs-home .ccs-home-lead-contact-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.ccs-home .ccs-home-lead-email-field{
  grid-column:1/-1;
}

.ccs-home .ccs-home-lead-step label{
  font-size:12.5px;
}

.ccs-home .ccs-home-lead-step input,
.ccs-home .ccs-home-lead-step select,
.ccs-home .ccs-home-lead-step textarea{
  border-radius:13px;
  font-size:15.5px;
}

.ccs-home .ccs-home-required{
  color:#c64d46;
  font-size:13px;
}

.ccs-home .ccs-home-field-help{
  color:#71847f;
  font-size:10.5px;
  font-weight:650;
  line-height:1.45;
}

.ccs-home .ccs-home-lead-summary{
  display:grid;
  grid-template-columns:1.35fr 1fr .8fr;
  gap:10px;
  margin-bottom:22px;
  padding:12px;
  border:1px solid #dce9e5;
  border-radius:16px;
  background:#f7fbfa;
}

.ccs-home .ccs-home-lead-summary>div{
  display:grid;
  gap:4px;
  min-width:0;
  padding:10px 12px;
  border-right:1px solid #e2ece9;
}

.ccs-home .ccs-home-lead-summary>div:last-child{border-right:0}
.ccs-home .ccs-home-lead-summary small{color:#78908a;font-size:9.5px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}
.ccs-home .ccs-home-lead-summary strong{overflow:hidden;color:#1d4841;font-size:13.5px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}

.ccs-home .ccs-home-lead-finish-actions{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
  gap:12px;
}

.ccs-home .ccs-home-lead-finish-actions[hidden]{display:none!important}

.ccs-home .ccs-home-lead-submit-primary{
  min-height:58px;
  border-radius:14px;
  font-size:14px;
}

.ccs-home .ccs-home-lead-add-more{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:58px;
  padding:0 18px;
  border:1px solid #bdd8d1;
  border-radius:14px;
  background:#fff;
  color:#246055;
  font:inherit;
  font-size:13px;
  font-weight:850;
  cursor:pointer;
}

.ccs-home .ccs-home-lead-add-more:hover{
  border-color:#75ae9f;
  background:#f4faf8;
}

.ccs-home .ccs-home-lead-add-more span{
  display:grid;
  place-items:center;
  width:23px;
  height:23px;
  border-radius:7px;
  background:#e7f5f1;
  color:#117964;
}

.ccs-home .ccs-home-lead-extra{
  margin-top:4px;
  padding:20px;
  border:1px solid #d8e7e3;
  border-radius:18px;
  background:#f9fcfb;
}

.ccs-home .ccs-home-lead-extra[hidden]{display:none!important}

.ccs-home .ccs-home-lead-extra-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}

.ccs-home .ccs-home-lead-extra-head>div{display:grid;gap:4px}
.ccs-home .ccs-home-lead-extra-head strong{color:#1f4942;font-size:15px}
.ccs-home .ccs-home-lead-extra-head small{max-width:620px;color:#71847f;font-size:11.5px;line-height:1.5}
.ccs-home .ccs-home-lead-extra-head>button{display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;border:1px solid #d5e4e0;border-radius:9px;background:#fff;color:#5c746e;font-size:19px;cursor:pointer}

.ccs-home .ccs-home-lead-extra-grid{
  grid-template-columns:.7fr 1.3fr;
}

.ccs-home .ccs-home-lead-photo-field input[type="file"]{
  min-height:52px;
  padding:10px 12px;
  font-size:12px;
  font-weight:650;
}

.ccs-home .ccs-home-lead-step3-back{
  margin-top:12px;
}

.ccs-home .ccs-home-lead-step3-back[hidden]{display:none!important}

.ccs-home .ccs-home-lead-trust-v4{
  padding:38px 30px;
}

.ccs-home .ccs-home-lead-trust-v4 h3{
  font-size:24px;
}

.ccs-home .ccs-home-lead-trust-v4 .ccs-home-lead-trust-list{
  gap:18px;
}

.ccs-home .ccs-home-lead-trust-v4 .ccs-home-lead-trust-list i{
  border-radius:9px;
}

.ccs-home .ccs-home-lead-trust-v4 .ccs-home-lead-trust-list strong{
  font-size:12.5px;
}

.ccs-home .ccs-home-lead-trust-v4 .ccs-home-lead-trust-list small{
  font-size:11px;
}

@media(max-width:1100px){
  .ccs-home .ccs-home-lead-card-v4{grid-template-columns:minmax(0,1fr) 310px}
  .ccs-home .ccs-home-lead-fields-3{grid-template-columns:1fr 1fr}
  .ccs-home .ccs-home-lead-fields-3 label:first-child{grid-column:1/-1}
}

@media(max-width:860px){
  .ccs-home .ccs-home-lead-card-v4{grid-template-columns:1fr}
  .ccs-home .ccs-home-lead-trust-v4{border-left:0;border-top:1px solid #d9e8e3}
}

@media(max-width:620px){
  .ccs-home .ccs-home-lead-head-v4{grid-template-columns:1fr}
  .ccs-home .ccs-home-lead-head-v4 h2{font-size:30px}
  .ccs-home .ccs-home-lead-head-v4 p{font-size:13.5px}
  .ccs-home .ccs-home-lead-step-title-v4{grid-template-columns:38px minmax(0,1fr);gap:11px;margin-bottom:18px}
  .ccs-home .ccs-home-lead-step-title-v4>span{width:38px;height:38px}
  .ccs-home .ccs-home-lead-step-title-v4 strong{font-size:17px}
  .ccs-home .ccs-home-lead-step-title-v4 small{font-size:12.5px}
  .ccs-home .ccs-home-lead-fields-3,
  .ccs-home .ccs-home-lead-contact-grid,
  .ccs-home .ccs-home-lead-extra-grid{grid-template-columns:1fr}
  .ccs-home .ccs-home-lead-fields-3 label:first-child,.ccs-home .ccs-home-lead-email-field{grid-column:auto}
  .ccs-home .ccs-home-lead-step label{font-size:12.5px}
  .ccs-home .ccs-home-field-help{font-size:10.5px}
  .ccs-home .ccs-home-lead-summary{grid-template-columns:1fr;padding:8px}
  .ccs-home .ccs-home-lead-summary>div{padding:9px 10px;border-right:0;border-bottom:1px solid #e2ece9}
  .ccs-home .ccs-home-lead-summary>div:last-child{border-bottom:0}
  .ccs-home .ccs-home-lead-summary strong{font-size:13px;white-space:normal}
  .ccs-home .ccs-home-lead-finish-actions{grid-template-columns:1fr}
  .ccs-home .ccs-home-lead-submit-primary,.ccs-home .ccs-home-lead-add-more{width:100%;min-height:54px}
  .ccs-home .ccs-home-lead-extra{padding:16px 13px;border-radius:15px}
  .ccs-home .ccs-home-lead-extra-head strong{font-size:14px}
  .ccs-home .ccs-home-lead-extra-head small{font-size:11px}
  .ccs-home .ccs-home-lead-trust-v4{padding:26px 19px}
}
