/* Reviewed testimonial submission, attached to the home testimonial rail. */
.home .tsf-review-form-wrap {
  margin: clamp(34px, 4vw, 54px) auto 0;
  max-width: 780px;
}

.home .tsf-review-form {
  border: 0;
  margin: 0;
  padding: 0;
  text-align: center;
}

.home .tsf-review-form > summary {
  align-items: center;
  background: var(--red, #c6192e);
  border: 1px solid var(--red, #c6192e);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-ui, sans-serif);
  font-size: 11px;
  font-weight: 700;
  gap: 22px;
  justify-content: center;
  letter-spacing: .1em;
  list-style: none;
  min-height: 52px;
  padding: 15px 20px 15px 23px;
  text-transform: uppercase;
  transition: background .22s ease, color .22s ease;
}

.home .tsf-review-form > summary::-webkit-details-marker { display: none; }
.home .tsf-review-form > summary > span {
  color: #fff;
  font-size: 11px;
  writing-mode: horizontal-tb;
}
.home .tsf-review-form > summary i { color: currentColor; font-size: 21px; font-style: normal; font-weight: 400; line-height: 1; transition: transform .22s ease; }
.home .tsf-review-form[open] > summary i { transform: rotate(45deg); }
/* The retired layout-fixes rule rotates this text when details opens. Keep
   only the dedicated plus icon animated in the component implementation. */
.home .tsf-review-form[open] > summary > span { transform: none !important; }
.home .tsf-review-form > summary:hover,
.home .tsf-review-form > summary:focus-visible { background: var(--ink, #171411); border-color: var(--ink, #171411); color: #fff; outline: 0; }

.home .tsf-review-form form {
  background: #fffaf4;
  border-top: 3px solid var(--red, #c6192e);
  display: grid;
  gap: 18px;
  margin: 22px auto 0;
  max-width: 760px;
  padding: clamp(26px, 4vw, 42px);
  text-align: left;
}

.home .tsf-review-form__fields { display: grid; gap: 21px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home .tsf-review-form label,
.home .tsf-review-rating legend { color: #403a35; display: block; font-family: var(--font-ui, sans-serif); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.home .tsf-review-form label small { color: #746b63; font-size: 9px; font-weight: 500; letter-spacing: .04em; }
.home .tsf-review-form input[type="text"],
.home .tsf-review-form input[type="email"],
.home .tsf-review-form textarea { background: transparent; border: 0; border-bottom: 1px solid rgba(18, 18, 18, .35); border-radius: 0; color: var(--ink, #171411); font-family: var(--font-ui, sans-serif); font-size: 15px; letter-spacing: 0; margin-top: 9px; padding: 10px 0; text-transform: none; width: 100%; }
.home .tsf-review-form textarea { line-height: 1.55; resize: vertical; }
.home .tsf-review-form input:focus,
.home .tsf-review-form textarea:focus { border-bottom-color: var(--red, #c6192e); outline: 2px solid transparent; }
.home .tsf-review-rating { border: 0; margin: 0; padding: 0; }
.home .tsf-review-rating > div { direction: rtl; display: inline-flex; margin-top: 10px; }
.home .tsf-review-rating input { height: 1px; margin: 0; opacity: 0; position: absolute; width: 1px; }
.home .tsf-review-rating label { color: #b7aca0; cursor: pointer; font-family: Georgia, serif; font-size: 30px; letter-spacing: 1px; line-height: 1; padding: 0 2px; transition: color .2s ease; }
.home .tsf-review-rating label:hover,
.home .tsf-review-rating label:hover ~ label,
.home .tsf-review-rating input:checked + label,
.home .tsf-review-rating input:checked + label ~ label { color: var(--red, #c6192e); }
.home .tsf-review-form__consent { align-items: start; border: 0; color: #625a52 !important; display: grid !important; font-size: 11px !important; font-weight: 500 !important; gap: 10px; grid-template-columns: 16px minmax(0, 1fr); justify-content: start !important; letter-spacing: 0 !important; line-height: 1.5; margin: 0; padding: 0; text-transform: none !important; }
.home .tsf-review-form__consent input { accent-color: var(--red, #c6192e); height: 15px; margin: 1px 0 0; width: 15px; }
.home .tsf-review-form__consent > span { display: block; margin: 0 !important; min-width: 0; transform: none !important; white-space: nowrap; width: auto !important; writing-mode: horizontal-tb !important; }
.home .tsf-review-form__action { align-items: center; display: flex; flex-wrap: wrap; gap: 18px; }
.home .tsf-review-form__action button { background: var(--red, #c6192e); border: 1px solid var(--red, #c6192e); color: #fff; cursor: pointer; font-family: var(--font-ui, sans-serif); font-size: 10px; font-weight: 700; letter-spacing: .1em; padding: 15px 18px; text-transform: uppercase; }
.home .tsf-review-form__action button:hover,
.home .tsf-review-form__action button:focus-visible { background: var(--ink, #171411); border-color: var(--ink, #171411); outline: 0; }
.home .tsf-review-form__action button span { font-size: 18px; margin-left: 15px; vertical-align: -2px; }
.home .tsf-review-form__action p { color: #695e55; font-family: var(--font-ui, sans-serif); font-size: 12px; line-height: 1.45; margin: 0; max-width: 350px; }
.home .tsf-review-form__status { color: #376446; font-family: var(--font-ui, sans-serif); font-size: 14px; line-height: 1.5; margin: 20px 0 0; text-align: center; }
.home .tsf-review-form__status--error { color: var(--red, #c6192e); }

@media (max-width: 580px) {
  .home .tsf-review-form-wrap { margin-top: 32px; }
  .home .tsf-review-form > summary { width: 100%; }
  .home .tsf-review-form__fields { grid-template-columns: 1fr; }
  .home .tsf-review-form form { padding: 25px 21px; }
  .home .tsf-review-form__consent > span { white-space: normal; }
}
