/*
Theme Name: MyConsent Theme
Theme URI: https://www.myconsent.dk
Author: MyConsent
Description: Minimal custom theme cloned from Webflow export.
Version: 1.0.0
Text Domain: myconsent-theme
*/

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/Roboto-300.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/Roboto-400.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/Roboto-500.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/Roboto-700.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/RobotoSlab-400.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/RobotoSlab-500.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/RobotoSlab-600.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/RobotoSlab-700.ttf") format("truetype");
}

/* Responsive logo sizing with safe max dimensions. */
.navigation .brand {
  display: inline-flex;
  align-items: center;
}

.navigation .brand .image {
  width: auto;
  height: 32px;
  max-width: 200px;
  display: block;
}

.footer .columns--footer {
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
  flex-direction: row;
}

.footer .footer__info {
  text-align: right;
  align-items: flex-end;
}

.footer .footer__logos {
  width: auto;
  justify-content: flex-end;
}

/* Contact Form 7 styling mapped to existing Webflow classes. */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
}

.myconsent-form .wpcf7 form {
  margin: 0;
}

.myconsent-form.form-block {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
}

.signup .columns--signup {
  align-items: flex-start;
}

.signup .col--100 {
  min-height: 1px;
}

.get-involved {
  height: auto;
  min-height: 100vh;
}

.myconsent-form .wpcf7 form p {
  margin: 0;
}

.myconsent-form .wpcf7 form p + p {
  margin-top: 0;
}

.myconsent-form .wpcf7 label,
.myconsent-form .field-label {
  color: #72797c;
  display: block;
  font-size: 16px;
  line-height: 150%;
}

.myconsent-form .wpcf7 input[type="email"],
.myconsent-form .wpcf7 input[type="text"],
.myconsent-form .wpcf7 input[type="tel"],
.myconsent-form .wpcf7 textarea,
.myconsent-form .wpcf7 .wpcf7-text,
.myconsent-form .wpcf7 .wpcf7-email,
.myconsent-form .wpcf7 .wpcf7-textarea,
.myconsent-form .text-field {
  width: 100%;
  border: 1px solid #dee3e8;
  border-radius: 8px;
  height: 52px;
  margin-top: 7px;
  margin-bottom: 16px;
  padding: 14px 18px;
  transition: border-color 0.15s;
  background: #fff;
  color: #111;
}

.myconsent-form .wpcf7 textarea,
.myconsent-form .wpcf7 .wpcf7-textarea {
  min-height: 120px;
  height: auto;
  resize: vertical;
}

.myconsent-form .wpcf7 input[type="email"]:hover,
.myconsent-form .wpcf7 input[type="text"]:hover,
.myconsent-form .wpcf7 input[type="tel"]:hover,
.myconsent-form .wpcf7 textarea:hover,
.myconsent-form .wpcf7 .wpcf7-text:hover,
.myconsent-form .wpcf7 .wpcf7-email:hover,
.myconsent-form .wpcf7 .wpcf7-textarea:hover {
  border-color: #bbc6cb;
}

.myconsent-form .wpcf7 input[type="email"]:focus,
.myconsent-form .wpcf7 input[type="text"]:focus,
.myconsent-form .wpcf7 input[type="tel"]:focus,
.myconsent-form .wpcf7 textarea:focus,
.myconsent-form .wpcf7 .wpcf7-text:focus,
.myconsent-form .wpcf7 .wpcf7-email:focus,
.myconsent-form .wpcf7 .wpcf7-textarea:focus {
  border-color: #078079;
  outline: none;
}

.myconsent-form .wpcf7 input::placeholder,
.myconsent-form .wpcf7 textarea::placeholder {
  color: #bbc6cb;
}

.myconsent-form .wpcf7 .wpcf7-list-item {
  margin: 0;
}

.myconsent-form .wpcf7 .wpcf7-acceptance {
  display: block;
  margin-top: 32px;
  margin-bottom: 16px;
}

.myconsent-form .wpcf7 .wpcf7-list-item label {
  color: #72797c;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.myconsent-form .wpcf7 .wpcf7-list-item input[type="checkbox"] {
  width: 28px;
  height: 28px;
  margin: 0;
  accent-color: #078079;
}

.myconsent-form .wpcf7 .wpcf7-submit,
.myconsent-form .submit-button {
  background-color: #078079;
  border: 0;
  border-radius: 8px;
  width: 100%;
  margin-top: 16px;
  padding: 12px 20px;
  color: #fff;
  transition: background-color 0.15s;
  cursor: pointer;
}

.myconsent-form .wpcf7 .wpcf7-submit:hover,
.myconsent-form .submit-button:hover {
  background-color: #159089;
}

.myconsent-form .wpcf7 .wpcf7-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.myconsent-form .wpcf7 .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 12px;
  color: #e85353;
}

.myconsent-form .wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0;
  border-radius: 8px;
  border: 0;
  padding: 12px 24px;
  font-size: 14px;
  text-align: center;
}

.myconsent-form .wpcf7 form.sent .wpcf7-response-output {
  color: #111;
  background-color: #0780791a;
}

.myconsent-form .wpcf7 form.invalid .wpcf7-response-output,
.myconsent-form .wpcf7 form.unaccepted .wpcf7-response-output,
.myconsent-form .wpcf7 form.failed .wpcf7-response-output,
.myconsent-form .wpcf7 form.aborted .wpcf7-response-output {
  color: #e85353;
  background-color: #e853531a;
}

.wpcf7-spinner {
  margin-left: 8px;
}

/* Font defaults */
body,
button,
input,
select,
textarea {
  font-family: "Roboto", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h--h1,
.what__h3,
.feature__heading {
  font-family: "Roboto Slab", Georgia, serif;
}
