.anchor-underline {
  text-decoration-line: underline !important;
  text-decoration-color: #f53e4c !important;
  text-decoration-thickness: 3px;
}

.contact-form {
  background-color: rgb(253.2, 251.2, 248.8);
  border: 1px solid rgb(221.4, 212.4, 201.6);
  height: fit-content;
  border-block-start-color: #f53e4c;
  border-block-start-width: 4px;
  margin-inline: auto;
  margin-block: 1em;
  padding: 2em;
  width: 100%;
  position: relative;
}
.contact-form h2 {
  font-size: clamp(2rem, 5vw + 1rem, 2.5rem);
  font-weight: bold;
}
.contact-form p {
  font-size: clamp(1rem, 5vw + 1rem, 1.1rem);
}
.contact-form li {
  padding-block-start: 1rem;
}
.contact-form input, .contact-form textarea, .contact-form select, .contact-form .ts-control {
  width: 100%;
  line-height: 1.5;
  padding: 15px 10px;
  border: 1px solid rgb(221.4, 212.4, 201.6);
  background: rgb(251.4, 247.4, 242.6);
  outline-color: #7b7670;
  font-weight: bold;
  color: #222222;
}
.contact-form input.form-input-invalid, .contact-form textarea.form-input-invalid, .contact-form select.form-input-invalid, .contact-form .ts-control.form-input-invalid {
  border: 2px solid rgb(220.5, 55.8, 68.4);
  background: rgb(251, 177.8, 183.4);
}
.contact-form .ts-control .item, .contact-form .ts-control input {
  padding-inline: 10px !important;
  font-weight: bold !important;
  line-height: 1.5 !important;
  font-size: 1rem;
}
.contact-form textarea {
  min-height: 200px;
  min-width: 100%;
  max-width: fit-content;
}
.contact-form textarea:required {
  background-position: 1.5em 1.5em;
}
.contact-form *:required {
  background-image: url("/assets/svg/asterisk.svg");
  background-repeat: no-repeat;
  background-position: center left 1em;
  background-size: 15px 15px;
}
.contact-form *:required:focus {
  background-image: none;
}

#form-back {
  display: none;
}

#validation-msg.error {
  color: red;
}
#validation-msg.successful {
  color: green;
}

.ts-control {
  width: 100%;
  height: 100%;
}

#phone-input {
  display: none;
}

.form-checkbox {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
}
.form-checkbox label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: bold;
}
.form-checkbox label:hover .form-checkbox-state {
  background: rgb(248.7, 241.7, 233.3);
}
.form-checkbox input[type=checkbox] {
  display: none;
}
.form-checkbox-state {
  position: relative;
  border: 1px solid rgb(221.4, 212.4, 201.6);
  background-color: rgb(251.4, 247.4, 242.6);
  width: 20px;
  height: 20px;
}
.form-checkbox input[type=checkbox]:checked ~ label .form-checkbox-state {
  background-color: rgb(246, 81.3, 93.9);
}
.form-checkbox input[type=checkbox] ~ label .form-checkbox-state::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
}
.form-checkbox input[type=checkbox]:disabled ~ label .form-checkbox-state {
  background-color: rgb(98.4, 94.4, 89.6);
}
.form-checkbox input[type=checkbox]:disabled ~ label {
  text-decoration: line-through;
  color: #666666;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.form-place-2 {
  grid-column: 2;
}

#form-submit {
  background: linear-gradient(to bottom, rgba(250, 158.5, 165.5, 0) 80%, rgb(250, 158.5, 165.5));
  border: 0 solid #f53e4c;
  border-block-end-width: 2px;
  transition: background-color 100ms;
  border: 0 solid #f53e4c;
  border-block-end-width: 2px;
  padding-block: 1em;
}
#form-submit:hover {
  background-color: rgba(248, 119.9, 129.7, 0.5);
}

@media screen and (max-width: 600px) {
  .form-grid {
    display: flex;
    flex-direction: column;
  }
}
.gallery-card {
  max-width: none !important;
}

.faq-container {
  background-color: rgb(253.2, 251.2, 248.8);
  border: 1px solid rgb(221.4, 212.4, 201.6);
  height: fit-content;
  border-block-start-color: #f53e4c;
  border-block-start-width: 4px;
  padding: 1.5em 2em;
}
.faq-container hr {
  opacity: 0.2;
  border-style: dashed;
  margin-block: 0.5em;
}
.faq-container h2 {
  margin-block-end: 0.5em;
}

.faq-question {
  padding-inline-start: 0.5em;
  margin-bottom: 0.5em;
  background-color: white;
  border: 1px solid #f6ece0;
  border-inline-start-color: #f53e4c;
  border-inline-start-width: 2px;
  padding-block: 0.5em;
}

.faq-question-input {
  display: none;
}

.faq-question-input:checked ~ .faq-question-content {
  padding-inline: 1em;
  height: 100%;
  opacity: 1;
}

.faq-question-title {
  color: rgb(196, 49.6, 60.8);
  font-weight: bold;
  font-size: 1.2rem;
  cursor: pointer;
}

.faq-question-content {
  overflow: hidden;
  font-weight: bold;
  height: 0;
  opacity: 0;
  font-size: 1rem;
  transition: 0.4s ease;
}