/* WordPress-generated content bridge. The static design system remains in system.css. */

.alignwide{max-width:var(--container);margin-left:auto;margin-right:auto}
.alignfull{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.wp-caption,.wp-block-image{max-width:100%}
.wp-caption-text,.wp-element-caption{color:var(--text-muted);font-size:.9rem;margin-top:8px}
.newt-plain-link{color:inherit;text-decoration:none}
.newt-plain-link:hover{color:var(--brand-800)}
.newt-post-thumb{display:block;text-decoration:none}
.newt-post-thumb img{width:100%;height:100%;min-height:170px;object-fit:cover}
.article-hero-media img{width:100%;height:auto}
.author-box{display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:start;padding:24px;border:1px solid var(--border-default);border-radius:var(--radius-lg);background:var(--bg-surface)}
.author-box img{border-radius:50%}
.comment-list{padding-left:1.25rem}
.comment-list li+li{margin-top:18px}
.comment-form p{display:grid;gap:8px}
.comment-form input,.comment-form textarea{width:100%;border:1px solid var(--border-default);border-radius:12px;padding:12px;background:#fff;color:var(--text-primary)}
.comment-form .submit{display:inline-flex;width:auto;border:0;border-radius:999px;padding:12px 18px;background:var(--brand-700);color:#fff;font-weight:800;cursor:pointer}
.pagination .page-numbers{text-decoration:none}
.article-content .wp-block-button__link{border-radius:999px;background:var(--brand-700);color:#fff;font-weight:800}
.article-content table{width:100%;border-collapse:collapse}
.article-content th,.article-content td{padding:12px;border:1px solid var(--border-default);text-align:left}

/* WooCommerce keeps ownership of products, subscriptions, cart, checkout and account output. */
.newt-woocommerce .woocommerce{max-width:100%}
.woocommerce .button,.woocommerce button.button,.woocommerce input.button,.woocommerce a.button{border-radius:999px!important;padding:.8em 1.15em!important;background:var(--brand-700)!important;color:#fff!important;font-weight:800!important}
.woocommerce .button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--brand-800)!important}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce select{border:1px solid var(--border-default);border-radius:12px;padding:12px;background:#fff}
.woocommerce table.shop_table{border-color:var(--border-default);border-radius:var(--radius-md)}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:var(--radius-md);background:var(--bg-surface)}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;display:grid;gap:8px}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:10px 12px;border-radius:10px;background:var(--bg-soft);text-decoration:none;font-weight:700}

@media (max-width:700px){.author-box{grid-template-columns:1fr}}

/* Gravity Forms bridges plugin-generated forms into the Newt Labs design system. */
.newt-gravity-form{margin-top:24px}
.newt-gravity-form .gform_wrapper{margin:0}

.newt-gravity-form .gform-theme .gform_fields{
  column-gap:18px !important;
  row-gap:18px !important;
}

.newt-gravity-form .gform-theme .gfield{
  margin:0 !important;
}

/* Labels */
.newt-gravity-form .gform-theme .gfield_label,
.newt-gravity-form .gform-theme .gform-field-label{
  margin:0;
  color:var(--text-primary);
  font-family:inherit !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1.4 !important;
  letter-spacing:normal !important;
}

.newt-gravity-form .gfield_required{
  display:inline !important;
  margin-left:6px !important;
  color:var(--error-600) !important;
  font-family:inherit !important;
  font-size:13px !important;
  font-weight:600 !important;
}

.newt-gravity-form .gfield_required_text::after{
  content:none !important;
}

/* Text fields */
.newt-gravity-form .gform-theme input[type="text"],
.newt-gravity-form .gform-theme input[type="email"],
.newt-gravity-form .gform-theme input[type="url"],
.newt-gravity-form .gform-theme input[type="tel"],
.newt-gravity-form .gform-theme input[type="number"],
.newt-gravity-form .gform-theme input[type="password"],
.newt-gravity-form .gform-theme input[type="file"],
.newt-gravity-form .gform-theme select,
.newt-gravity-form .gform-theme textarea{
  width:100%;
  border:1px solid var(--border-strong);
  border-radius:14px;
  background-color:#fff;
  color:var(--text-primary);
  font-family:inherit !important;
  font-size:16px !important;
  font-weight:400 !important;
  box-shadow:none;
  transition:border-color .18s ease,box-shadow .18s ease;
}

.newt-gravity-form .gform-theme input[type="text"],
.newt-gravity-form .gform-theme input[type="email"],
.newt-gravity-form .gform-theme input[type="url"],
.newt-gravity-form .gform-theme input[type="tel"],
.newt-gravity-form .gform-theme input[type="number"],
.newt-gravity-form .gform-theme input[type="password"]{
  height:52px !important;
  min-height:52px !important;
  padding:0 16px !important;
  line-height:1.6 !important;
}

.newt-gravity-form .gform-theme input::placeholder,
.newt-gravity-form .gform-theme textarea::placeholder{
  color:var(--text-muted);
  font-family:inherit !important;
  font-size:16px !important;
  font-weight:400 !important;
  opacity:1;
}

/* File uploads */
.newt-gravity-form .gform-theme input[type="file"]{
  min-height:52px !important;
  padding:0 16px !important;
}

/* Selects */
.newt-gravity-form .gform-theme select{
  height:52px !important;
  min-height:52px !important;
  padding:0 16px !important;
  line-height:50px !important;
  background-color:#fff !important;
  background-image:none !important;
  appearance:auto !important;
  -webkit-appearance:auto !important;
}

/* Textareas */
.newt-gravity-form .gform-theme textarea{
  height:130px !important;
  min-height:130px !important;
  padding:14px 16px !important;
  line-height:1.6 !important;
  resize:vertical;
}

/* Field interaction */
.newt-gravity-form .gform-theme input:hover,
.newt-gravity-form .gform-theme select:hover,
.newt-gravity-form .gform-theme textarea:hover{
  border-color:var(--neutral-500);
}

.newt-gravity-form .gform-theme input:focus,
.newt-gravity-form .gform-theme select:focus,
.newt-gravity-form .gform-theme textarea:focus{
  outline:none;
  border-color:var(--brand-600);
  box-shadow:var(--focus-ring);
}

/* Help and validation text */
.newt-gravity-form .gform-theme .gfield_description{
  margin:0 !important;
  padding:0 !important;
  color:var(--text-muted);
  font-family:inherit !important;
  font-size:14px !important;
  font-weight:400 !important;
  line-height:1.6 !important;
}

.newt-gravity-form .gform_validation_errors,
.newt-gravity-form .gfield_validation_message{
  border-radius:var(--radius-md);
}

/* Submit button: mirrors .btn + .btn-primary. */
.newt-gravity-form .gform-theme .gform_footer{
  display:grid;
  width:100%;
  margin-top:18px !important;
  padding:0 !important;
}

.newt-gravity-form .gform-theme .gform_button{
  appearance:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  height:48px !important;
  min-height:48px !important;
  margin:0 !important;
  padding:0 18px !important;
  border:1px solid var(--brand-700) !important;
  border-radius:16px !important;
  background:linear-gradient(180deg,var(--brand-700),var(--brand-800)) !important;
  color:#fff !important;
  font-family:inherit !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1 !important;
  box-shadow:var(--shadow-sm) !important;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,color .18s ease;
}

.newt-gravity-form .gform-theme .gform_button:hover{
  border-color:var(--brand-800) !important;
  background:linear-gradient(180deg,var(--brand-800),var(--brand-900)) !important;
  color:#fff !important;
  box-shadow:var(--shadow-md) !important;
}

/* Contact form: retain the original two-column name/email layout. */
.newt-gravity-form-contact #gform_fields_1{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  column-gap:18px !important;
  row-gap:18px !important;
}

.newt-gravity-form-contact #field_1_1{grid-column:1 !important}
.newt-gravity-form-contact #field_1_2{grid-column:2 !important}

.newt-gravity-form-contact #field_1_3,
.newt-gravity-form-contact #field_1_4,
.newt-gravity-form-contact #field_1_5{
  grid-column:1 / -1 !important;
}

@media (max-width:700px){
  .newt-gravity-form-contact #gform_fields_1{
    grid-template-columns:1fr !important;
  }

  .newt-gravity-form-contact #gform_fields_1 > .gfield{
    grid-column:1 / -1 !important;
  }
}

/* Free WordPress Audit: retain the original two-column name/email layout. */
.newt-gravity-form-audit #gform_fields_2{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  column-gap:18px !important;
  row-gap:18px !important;
}

.newt-gravity-form-audit #field_2_1{grid-column:1 !important}
.newt-gravity-form-audit #field_2_2{grid-column:2 !important}

.newt-gravity-form-audit #field_2_3,
.newt-gravity-form-audit #field_2_4{
  grid-column:1 / -1 !important;
}

@media (max-width:700px){
  .newt-gravity-form-audit #gform_fields_2{
    grid-template-columns:1fr !important;
  }

  .newt-gravity-form-audit #gform_fields_2 > .gfield{
    grid-column:1 / -1 !important;
  }
}

/* One-Time Support Enquiry: retain the original mixed two-column layout. */
.newt-gravity-form-one-time-support #gform_fields_3{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  column-gap:18px !important;
  row-gap:18px !important;
}

.newt-gravity-form-one-time-support #field_3_1,
.newt-gravity-form-one-time-support #field_3_6,
.newt-gravity-form-one-time-support #field_3_9{
  grid-column:1 !important;
}

.newt-gravity-form-one-time-support #field_3_2,
.newt-gravity-form-one-time-support #field_3_7,
.newt-gravity-form-one-time-support #field_3_10{
  grid-column:2 !important;
}

.newt-gravity-form-one-time-support #field_3_3,
.newt-gravity-form-one-time-support #field_3_4,
.newt-gravity-form-one-time-support #field_3_5,
.newt-gravity-form-one-time-support #field_3_8,
.newt-gravity-form-one-time-support #field_3_11{
  grid-column:1 / -1 !important;
}

@media (max-width:700px){
  .newt-gravity-form-one-time-support #gform_fields_3{
    grid-template-columns:1fr !important;
  }

  .newt-gravity-form-one-time-support #gform_fields_3 > .gfield{
    grid-column:1 / -1 !important;
  }
}

/* Care Plan Enquiry: retain the original sectioned two-column layout. */
.newt-gravity-form-care-plan #gform_fields_4{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  column-gap:18px !important;
  row-gap:18px !important;
}

.newt-gravity-form-care-plan .newt-gform-section-intro{
  grid-column:1 / -1 !important;
}

.newt-gravity-form-care-plan #field_4_1,
.newt-gravity-form-care-plan #field_4_3,
.newt-gravity-form-care-plan #field_4_5,
.newt-gravity-form-care-plan #field_4_10{
  grid-column:1 !important;
}

.newt-gravity-form-care-plan #field_4_2,
.newt-gravity-form-care-plan #field_4_4,
.newt-gravity-form-care-plan #field_4_6,
.newt-gravity-form-care-plan #field_4_11{
  grid-column:2 !important;
}

.newt-gravity-form-care-plan #field_4_7,
.newt-gravity-form-care-plan #field_4_8,
.newt-gravity-form-care-plan #field_4_9,
.newt-gravity-form-care-plan #field_4_12{
  grid-column:1 / -1 !important;
}

@media (max-width:700px){
  .newt-gravity-form-care-plan #gform_fields_4{
    grid-template-columns:1fr !important;
  }

  .newt-gravity-form-care-plan #gform_fields_4 > .gfield{
    grid-column:1 / -1 !important;
  }
}

/* Website Project Brief: retain the original sectioned two-column layout. */
.newt-gravity-form-project-brief #gform_fields_5{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  column-gap:18px !important;
  row-gap:18px !important;
}

.newt-gravity-form-project-brief .newt-gform-project-section{
  grid-column:1 / -1 !important;
}

.newt-gravity-form-project-brief #field_5_1,
.newt-gravity-form-project-brief #field_5_3,
.newt-gravity-form-project-brief #field_5_9,
.newt-gravity-form-project-brief #field_5_11,
.newt-gravity-form-project-brief #field_5_14,
.newt-gravity-form-project-brief #field_5_16,
.newt-gravity-form-project-brief #field_5_18,
.newt-gravity-form-project-brief #field_5_20,
.newt-gravity-form-project-brief #field_5_22,
.newt-gravity-form-project-brief #field_5_24{
  grid-column:1 !important;
}

.newt-gravity-form-project-brief #field_5_2,
.newt-gravity-form-project-brief #field_5_4,
.newt-gravity-form-project-brief #field_5_10,
.newt-gravity-form-project-brief #field_5_12,
.newt-gravity-form-project-brief #field_5_15,
.newt-gravity-form-project-brief #field_5_17,
.newt-gravity-form-project-brief #field_5_19,
.newt-gravity-form-project-brief #field_5_21,
.newt-gravity-form-project-brief #field_5_23,
.newt-gravity-form-project-brief #field_5_25{
  grid-column:2 !important;
}

.newt-gravity-form-project-brief #field_5_5,
.newt-gravity-form-project-brief #field_5_6,
.newt-gravity-form-project-brief #field_5_7,
.newt-gravity-form-project-brief #field_5_8,
.newt-gravity-form-project-brief #field_5_13,
.newt-gravity-form-project-brief #field_5_26,
.newt-gravity-form-project-brief #field_5_27{
  grid-column:1 / -1 !important;
}

@media (max-width:700px){
  .newt-gravity-form-project-brief #gform_fields_5{
    grid-template-columns:1fr !important;
  }

  .newt-gravity-form-project-brief #gform_fields_5 > .gfield{
    grid-column:1 / -1 !important;
  }
}

/* Secure Access Submission: retain the original two-column layout. */
.newt-gravity-form-secure-access #gform_fields_6{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  column-gap:18px !important;
  row-gap:18px !important;
}

.newt-gravity-form-secure-access #field_6_1,
.newt-gravity-form-secure-access #field_6_7{
  grid-column:1 !important;
}

.newt-gravity-form-secure-access #field_6_2,
.newt-gravity-form-secure-access #field_6_8{
  grid-column:2 !important;
}

.newt-gravity-form-secure-access #field_6_3,
.newt-gravity-form-secure-access #field_6_4,
.newt-gravity-form-secure-access #field_6_5,
.newt-gravity-form-secure-access #field_6_6,
.newt-gravity-form-secure-access #field_6_9,
.newt-gravity-form-secure-access #field_6_10{
  grid-column:1 / -1 !important;
}

@media (max-width:700px){
  .newt-gravity-form-secure-access #gform_fields_6{
    grid-template-columns:1fr !important;
  }

  .newt-gravity-form-secure-access #gform_fields_6 > .gfield{
    grid-column:1 / -1 !important;
  }
}

/* Match the original .form-group spacing between labels, controls and help text. */
.newt-gravity-form .gform-theme .gfield{
  display:grid !important;
  gap:8px !important;
}

/* Normalise Gravity Forms selects so the closed value is vertically centred. */
.newt-gravity-form .ginput_container_select{
  position:relative;
}

.newt-gravity-form .ginput_container_select::after{
  content:"";
  position:absolute;
  top:50%;
  right:18px;
  width:8px;
  height:8px;
  border-right:2px solid var(--text-secondary);
  border-bottom:2px solid var(--text-secondary);
  transform:translateY(-70%) rotate(45deg);
  pointer-events:none;
}

.newt-gravity-form .gform-theme select{
  appearance:none !important;
  -webkit-appearance:none !important;
  height:52px !important;
  min-height:52px !important;
  padding:0 44px 0 16px !important;
  background:#fff !important;
  background-image:none !important;
}

/* One-Time Support Enquiry privacy note: match the original help text. */
.newt-gravity-form-one-time-support #field_3_11 p{
  margin:0 !important;
  color:var(--text-muted) !important;
  font-size:14px !important;
  font-weight:400 !important;
  line-height:1.6 !important;
}

/* One-Time Support Enquiry file upload: avoid a button-inside-an-input appearance. */
.newt-gravity-form-one-time-support #input_3_10{
  min-height:52px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.newt-gravity-form-one-time-support #input_3_10::file-selector-button{
  height:50px;
  min-height:50px;
  margin:1px 14px 1px 0;
  padding:0 18px;
  border:1px solid var(--border-strong);
  border-radius:14px;
  background:var(--bg-soft);
  color:var(--text-secondary);
  font:inherit;
  font-weight:700;
  cursor:pointer;
  transition:border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease;
}

.newt-gravity-form-one-time-support #input_3_10::file-selector-button:hover{
  border-color:var(--neutral-500);
  background:var(--neutral-200);
  color:var(--text-primary);
  box-shadow:var(--shadow-xs);
}

/* Care Plan Enquiry support areas: match the original wrapped checkbox row. */
.newt-gravity-form-care-plan #input_4_8{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:wrap !important;
  gap:14px 18px !important;
  color:var(--text-secondary);
}

.newt-gravity-form-care-plan #input_4_8 .gchoice{
  display:inline-flex !important;
  align-items:center !important;
  gap:10px !important;
  min-height:28px;
}

.newt-gravity-form-care-plan #input_4_8 .gfield-choice-input{
  margin:0 !important;
  accent-color:var(--brand-700);
}

/* Care Plan Enquiry footer: retain the original two-button action row. */
.newt-gravity-form-care-plan .newt-gform-care-plan-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  width:100%;
}

.newt-gravity-form-care-plan .newt-gform-care-plan-actions .gform_button{
  width:auto !important;
  height:54px !important;
  min-height:54px !important;
  padding:0 22px !important;
}

.newt-gravity-form-care-plan .newt-gform-care-plan-note{
  margin:16px 0 0 !important;
  color:var(--text-secondary) !important;
  font-family:inherit !important;
  font-size:14px !important;
  font-weight:400 !important;
  line-height:1.6 !important;
}

/* Care Plan Enquiry section copy: preserve the original mockup typography. */
.newt-gravity-form-care-plan .newt-gform-section-intro h3{
  margin:var(--space-6) 0 8px !important;
  color:var(--text-primary) !important;
  font-family:inherit !important;
  font-size:1.2rem !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  letter-spacing:-.02em !important;
}

.newt-gravity-form-care-plan .newt-gform-section-intro .lead{
  margin:0 !important;
  max-width:64ch;
  color:var(--text-secondary) !important;
  font-family:inherit !important;
  font-size:1.08rem !important;
  font-weight:400 !important;
  line-height:1.75 !important;
}

.newt-gravity-form-care-plan .newt-gform-section-intro .small{
  margin:0 !important;
  color:var(--text-secondary) !important;
  font-family:inherit !important;
  font-size:14px !important;
  font-weight:400 !important;
  line-height:1.6 !important;
}

/* Care Plan Enquiry secondary action: protect the site button style from Gravity Forms. */
.newt-gravity-form-care-plan .newt-gform-care-plan-actions .btn-secondary{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:54px !important;
  padding:0 22px !important;
  border:1px solid var(--border-default) !important;
  border-radius:16px !important;
  background:var(--bg-surface) !important;
  color:var(--text-primary) !important;
  font-family:inherit !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1 !important;
  text-decoration:none !important;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,color .18s ease;
}

.newt-gravity-form-care-plan .newt-gform-care-plan-actions .btn-secondary:hover{
  background:var(--blue-50) !important;
  color:var(--blue-900) !important;
  border-color:rgba(61,116,166,.22) !important;
}

/* Care Plan Enquiry choices: match the lighter original checkbox-row treatment. */
.newt-gravity-form-care-plan #input_4_8 .gchoice{
  display:inline-flex !important;
  grid-template-columns:none !important;
  align-items:center !important;
  gap:10px !important;
  min-height:28px !important;
}

.newt-gravity-form-care-plan #input_4_8 .gfield-choice-input{
  appearance:auto !important;
  -webkit-appearance:checkbox !important;
  width:16px !important;
  height:16px !important;
  min-width:16px !important;
  min-height:16px !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

.newt-gravity-form-care-plan #input_4_8 .gform-field-label--type-inline{
  margin:0 !important;
  color:var(--text-secondary) !important;
  font-family:inherit !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1.4 !important;
}

/* Care Plan Enquiry: give the support-area choices more breathing room below the legend. */
.newt-gravity-form-care-plan #field_4_8{
  gap:14px !important;
}

/* Care Plan Enquiry: match the original 8px label-to-checkbox spacing. */
.newt-gravity-form-care-plan #field_4_8 .ginput_container_checkbox{
  margin-top:8px !important;
}

/* Website Project Brief: preserve the original mockup presentation inside Gravity Forms. */
.newt-gravity-form-project-brief .newt-gform-project-section .section-head{
  display:grid !important;
  gap:10px !important;
  margin-bottom:34px !important;
}

.newt-gravity-form-project-brief .newt-gform-project-section .label{
  display:inline-flex !important;
  align-items:center !important;
  justify-self:start;
  gap:8px !important;
  min-height:30px !important;
  padding:0 12px !important;
  border:1px solid transparent !important;
  border-radius:var(--radius-pill) !important;
  font-family:inherit !important;
  font-size:13px !important;
  font-weight:700 !important;
  line-height:1 !important;
}

.newt-gravity-form-project-brief .newt-gform-project-section .label-brand{
  background:var(--brand-100) !important;
  color:var(--brand-900) !important;
}

.newt-gravity-form-project-brief .newt-gform-project-section .muted{
  margin:0 !important;
  color:var(--text-muted) !important;
  font-family:inherit !important;
  font-weight:400 !important;
  line-height:1.6 !important;
}

.newt-gravity-form-project-brief .newt-gform-project-section .callout{
  padding:18px 20px !important;
  border:1px solid var(--border-default) !important;
  border-radius:20px !important;
  background:var(--bg-soft) !important;
}

.newt-gravity-form-project-brief .newt-gform-project-section .callout-brand{
  background:var(--blue-50) !important;
  border-color:rgba(50,102,148,.16) !important;
}

.newt-gravity-form-project-brief .newt-gform-project-section .callout strong{
  display:block !important;
  margin:0 0 6px !important;
  color:var(--text-primary) !important;
  font-family:inherit !important;
  font-weight:700 !important;
  line-height:1.4 !important;
}

.newt-gravity-form-project-brief .newt-gform-project-section .callout p{
  margin:0 !important;
  color:var(--text-primary) !important;
  font-family:inherit !important;
  font-weight:400 !important;
  line-height:1.6 !important;
}

.newt-gravity-form-project-brief .gform_footer{
  display:block !important;
}

.newt-gravity-form-project-brief .newt-gform-project-routes{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:12px !important;
  margin-top:var(--space-5) !important;
}

.newt-gravity-form-project-brief .newt-gform-project-routes .btn-secondary{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:48px !important;
  padding:0 18px !important;
  border:1px solid var(--border-default) !important;
  border-radius:16px !important;
  background:var(--bg-surface) !important;
  color:var(--text-primary) !important;
  font-family:inherit !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1 !important;
  text-decoration:none !important;
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}

.newt-gravity-form-project-brief .newt-gform-project-routes .btn-secondary:hover{
  background:var(--blue-50) !important;
  color:var(--blue-900) !important;
  border-color:rgba(61,116,166,.22) !important;
}

.newt-gravity-form-project-brief .newt-gform-project-note{
  margin:var(--space-4) 0 0 !important;
  color:var(--text-secondary) !important;
  font-family:inherit !important;
  font-size:14px !important;
  font-weight:400 !important;
  line-height:1.6 !important;
}

/* Secure Access Submission: match the original confirmation choice. */
.newt-gravity-form-secure-access #field_6_10 > .gfield_label{
  display:none !important;
}

.newt-gravity-form-secure-access #field_6_10 .ginput_container_checkbox{
  margin:0 !important;
}

.newt-gravity-form-secure-access #input_6_10 .gchoice{
  display:inline-flex !important;
  grid-template-columns:none !important;
  align-items:center !important;
  gap:10px !important;
  min-height:28px !important;
}

.newt-gravity-form-secure-access #input_6_10 .gfield-choice-input{
  appearance:auto !important;
  -webkit-appearance:checkbox !important;
  width:16px !important;
  height:16px !important;
  min-width:16px !important;
  min-height:16px !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  accent-color:var(--brand-700);
}

.newt-gravity-form-secure-access #input_6_10 .gform-field-label--type-inline{
  margin:0 !important;
  color:var(--text-primary) !important;
  font-family:inherit !important;
  font-size:15px !important;
  font-weight:400 !important;
  line-height:1.6 !important;
}

/* Secure Access Submission: prevent Gravity Forms drawing a second tick over the native checkbox. */
.newt-gravity-form-secure-access #input_6_10 .gfield-choice-input::before{
  display:none !important;
  content:none !important;
}

/* Affiliate Application: preserve the original sectioned two-column layout. */
.newt-gravity-form-affiliate-application #gform_fields_7{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  column-gap:18px !important;
  row-gap:18px !important;
}

.newt-gravity-form-affiliate-application .newt-gform-affiliate-section{
  grid-column:1 / -1 !important;
}

.newt-gravity-form-affiliate-application .newt-gform-affiliate-section .section-head{
  display:grid !important;
  gap:10px !important;
  margin-bottom:16px !important;
}

.newt-gravity-form-affiliate-application .newt-gform-affiliate-section h3{
  margin:0 !important;
  color:var(--text-primary) !important;
  font-family:inherit !important;
  font-size:1.2rem !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  letter-spacing:-.02em !important;
}

.newt-gravity-form-affiliate-application .newt-gform-affiliate-section .muted{
  margin:0 !important;
  color:var(--text-muted) !important;
  font-family:inherit !important;
  font-weight:400 !important;
  line-height:1.6 !important;
}

.newt-gravity-form-affiliate-application .newt-gform-affiliate-section-2,
.newt-gravity-form-affiliate-application .newt-gform-affiliate-section-3,
.newt-gravity-form-affiliate-application .newt-gform-affiliate-section-4{
  margin-top:16px !important;
  padding-top:34px !important;
  border-top:1px solid var(--border-default) !important;
}

.newt-gravity-form-affiliate-application #field_7_1,
.newt-gravity-form-affiliate-application #field_7_3,
.newt-gravity-form-affiliate-application #field_7_5{
  grid-column:1 !important;
}

.newt-gravity-form-affiliate-application #field_7_2,
.newt-gravity-form-affiliate-application #field_7_4,
.newt-gravity-form-affiliate-application #field_7_6{
  grid-column:2 !important;
}

.newt-gravity-form-affiliate-application #field_7_7,
.newt-gravity-form-affiliate-application #field_7_8,
.newt-gravity-form-affiliate-application #field_7_9,
.newt-gravity-form-affiliate-application #field_7_10{
  grid-column:1 / -1 !important;
}

/* Canonical GF order is Agreement then Extra Context; preserve the approved mock presentation. */
.newt-gravity-form-affiliate-application #field_7_10{
  order:0;
}

.newt-gravity-form-affiliate-application .newt-gform-affiliate-section-4,
.newt-gravity-form-affiliate-application #field_7_9{
  order:1;
}

/* Agreement: retain the original choice-card treatment. */
.newt-gravity-form-affiliate-application #field_7_9 > .gfield_label{
  display:none !important;
}

.newt-gravity-form-affiliate-application #field_7_9 .ginput_container_checkbox{
  margin:0 !important;
}

.newt-gravity-form-affiliate-application #input_7_9 .gchoice{
  display:flex !important;
  grid-template-columns:none !important;
  align-items:flex-start !important;
  gap:10px !important;
  min-height:58px !important;
  padding:14px 15px !important;
  border:1px solid var(--border-default) !important;
  border-radius:16px !important;
  background:var(--bg-soft) !important;
}

.newt-gravity-form-affiliate-application #input_7_9 .gfield-choice-input{
  appearance:auto !important;
  -webkit-appearance:checkbox !important;
  width:16px !important;
  height:16px !important;
  min-width:16px !important;
  min-height:16px !important;
  margin:3px 0 0 !important;
  padding:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  accent-color:var(--brand-700);
}

.newt-gravity-form-affiliate-application #input_7_9 .gfield-choice-input::before{
  display:none !important;
  content:none !important;
}

.newt-gravity-form-affiliate-application #input_7_9 .gform-field-label--type-inline{
  margin:0 !important;
  color:var(--text-secondary) !important;
  font-family:inherit !important;
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1.4 !important;
}

/* Submit row: preserve the original button and reassurance layout. */
.newt-gravity-form-affiliate-application .gform_footer{
  display:block !important;
}

.newt-gravity-form-affiliate-application .newt-gform-affiliate-submit{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  flex-wrap:wrap !important;
  padding-top:28px !important;
  margin-top:8px !important;
  border-top:1px solid var(--border-default) !important;
}

.newt-gravity-form-affiliate-application .newt-gform-affiliate-submit .gform_button{
  width:auto !important;
  min-height:54px !important;
  padding:0 22px !important;
}

.newt-gravity-form-affiliate-application .newt-gform-affiliate-note{
  max-width:620px !important;
  margin:0 !important;
  color:var(--text-secondary) !important;
  font-family:inherit !important;
  font-size:14px !important;
  font-weight:400 !important;
  line-height:1.6 !important;
}

@media (max-width:700px){
  .newt-gravity-form-affiliate-application #gform_fields_7{
    grid-template-columns:1fr !important;
  }

  .newt-gravity-form-affiliate-application #gform_fields_7 > .gfield{
    grid-column:1 / -1 !important;
  }
}

/* Affiliate Application: prevent select wrappers stretching in unequal-label grid rows. */
.newt-gravity-form-affiliate-application .ginput_container_select{
  height:52px !important;
  align-self:start !important;
}

/* Job Application: preserve the original sectioned two-column layout. */
.newt-gravity-form-job-application #gform_fields_8{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  column-gap:18px !important;
  row-gap:18px !important;
}

/* Native Gravity Forms section fields replace the original form-section-block headings. */
.newt-gravity-form-job-application .gfield--type-section{
  grid-column:1 / -1 !important;
  margin-top:16px !important;
  padding:34px 0 16px !important;
  border-top:1px solid var(--border-default) !important;
}

.newt-gravity-form-job-application #field_8_1{
  margin-top:0 !important;
  padding-top:0 !important;
  border-top:0 !important;
}

.newt-gravity-form-job-application .gsection_title{
  margin:0 0 10px !important;
  color:var(--text-primary) !important;
  font-family:inherit !important;
  font-size:1.2rem !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  letter-spacing:-.02em !important;
}

.newt-gravity-form-job-application .gsection_description{
  margin:0 !important;
  padding:0 !important;
  color:var(--text-muted) !important;
  font-family:inherit !important;
  font-size:inherit !important;
  font-weight:400 !important;
  line-height:1.6 !important;
}

/* Two-column field pairs. */
.newt-gravity-form-job-application #field_8_2,
.newt-gravity-form-job-application #field_8_4,
.newt-gravity-form-job-application #field_8_6,
.newt-gravity-form-job-application #field_8_11,
.newt-gravity-form-job-application #field_8_15,
.newt-gravity-form-job-application #field_8_18,
.newt-gravity-form-job-application #field_8_20,
.newt-gravity-form-job-application #field_8_22{
  grid-column:1 !important;
}

.newt-gravity-form-job-application #field_8_3,
.newt-gravity-form-job-application #field_8_5,
.newt-gravity-form-job-application #field_8_7,
.newt-gravity-form-job-application #field_8_12,
.newt-gravity-form-job-application #field_8_16,
.newt-gravity-form-job-application #field_8_19,
.newt-gravity-form-job-application #field_8_21,
.newt-gravity-form-job-application #field_8_23{
  grid-column:2 !important;
}

/* Full-width fields. */
.newt-gravity-form-job-application #field_8_9,
.newt-gravity-form-job-application #field_8_13,
.newt-gravity-form-job-application #field_8_14,
.newt-gravity-form-job-application #field_8_25,
.newt-gravity-form-job-application #field_8_26,
.newt-gravity-form-job-application #field_8_27,
.newt-gravity-form-job-application #field_8_28,
.newt-gravity-form-job-application #field_8_30,
.newt-gravity-form-job-application #field_8_31,
.newt-gravity-form-job-application #field_8_32{
  grid-column:1 / -1 !important;
}

/* Work interests: retain the original three-column choice-card grid. */
.newt-gravity-form-job-application #field_8_9 > .gfield_label{
  display:none !important;
}

.newt-gravity-form-job-application #field_8_9 .ginput_container_checkbox{
  margin:0 !important;
}

.newt-gravity-form-job-application #input_8_9{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:12px !important;
}

.newt-gravity-form-job-application #input_8_9 .gchoice{
  display:flex !important;
  grid-template-columns:none !important;
  align-items:flex-start !important;
  gap:10px !important;
  min-height:58px !important;
  padding:14px 15px !important;
  border:1px solid var(--border-default) !important;
  border-radius:16px !important;
  background:var(--bg-soft) !important;
}

.newt-gravity-form-job-application #input_8_9 .gfield-choice-input{
  appearance:auto !important;
  -webkit-appearance:checkbox !important;
  width:16px !important;
  height:16px !important;
  min-width:16px !important;
  min-height:16px !important;
  margin:3px 0 0 !important;
  padding:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  accent-color:var(--brand-700);
}

.newt-gravity-form-job-application #input_8_9 .gfield-choice-input::before{
  display:none !important;
  content:none !important;
}

.newt-gravity-form-job-application #input_8_9 .gform-field-label--type-inline{
  margin:0 !important;
  color:var(--text-secondary) !important;
  font-family:inherit !important;
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1.4 !important;
}

/* Keep custom select chevrons centred when paired labels have different heights. */
.newt-gravity-form-job-application .ginput_container_select{
  height:52px !important;
  align-self:start !important;
}

/* Submit row: retain the original button and review note. */
.newt-gravity-form-job-application .gform_footer{
  display:block !important;
}

.newt-gravity-form-job-application .newt-gform-job-submit{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  flex-wrap:wrap !important;
  padding-top:28px !important;
  margin-top:8px !important;
  border-top:1px solid var(--border-default) !important;
}

.newt-gravity-form-job-application .newt-gform-job-submit .gform_button{
  width:auto !important;
  min-height:54px !important;
  padding:0 22px !important;
}

.newt-gravity-form-job-application .newt-gform-job-note{
  max-width:620px !important;
  margin:0 !important;
  color:var(--text-secondary) !important;
  font-family:inherit !important;
  font-size:14px !important;
  font-weight:400 !important;
  line-height:1.6 !important;
}

@media (max-width:700px){
  .newt-gravity-form-job-application #gform_fields_8{
    grid-template-columns:1fr !important;
  }

  .newt-gravity-form-job-application #gform_fields_8 > .gfield{
    grid-column:1 / -1 !important;
  }

  .newt-gravity-form-job-application #input_8_9{
    grid-template-columns:1fr !important;
  }
}

/* Job Application: vertically centre checkbox choices within their cards. */
.newt-gravity-form-job-application #input_8_9 .gchoice{
  align-items:center !important;
}

.newt-gravity-form-job-application #input_8_9 .gfield-choice-input{
  margin:0 !important;
}

/* One-Time Support Enquiry: keep select chevrons centred when neighbouring fields are taller. */
.newt-gravity-form-one-time-support .ginput_container_select{
  height:52px !important;
  align-self:start !important;
}

/* Care Plan Enquiry: prevent Gravity Forms drawing a second tick over native checkboxes. */
.newt-gravity-form-care-plan #input_4_8 .gfield-choice-input::before{
  display:none !important;
  content:none !important;
}

/* Gravity Forms validation summary: match the Newt Labs error alert treatment. */
.newt-gravity-form .gform_validation_errors{
  margin:0 0 18px !important;
  padding:16px 18px !important;
  border:1px solid rgba(180,35,24,.16) !important;
  border-radius:18px !important;
  background:var(--error-100) !important;
  box-shadow:none !important;
}

/* Gravity Forms confirmation: make successful submission unmistakable. */
.newt-gravity-form .gform_confirmation_message{
  padding:18px 20px !important;
  border:1px solid rgba(21,128,61,.16) !important;
  border-radius:18px !important;
  background:var(--success-100) !important;
  color:var(--text-primary) !important;
  font-family:inherit !important;
  line-height:1.6 !important;
}

.newt-gravity-form .gform_confirmation_message p{
  margin:0 !important;
}

.newt-gravity-form .gform_confirmation_message strong{
  color:var(--success-600) !important;
}
