/* =========================================
   KYRIMAI — inline newsletter form (site-wide)
   Matched to Figma node 2361:17 (735px block, everything centered).
   Wrap the CF7 form in <div class="kyr-nl"> … </div>.
   Transparent background: it sits on whatever section it's placed in.
========================================= */

.kyr-nl {
  box-sizing: border-box;
  width: 100%;
  max-width: 735px;
  margin: 0 auto;
  font-family: 'Noto Serif Display', serif;
  font-size: 16px;
  line-height: 22px;
  color: #000;
  text-align: center;
}
.kyr-nl *,
.kyr-nl *::before,
.kyr-nl *::after { box-sizing: border-box; }

/* CF7 wraps each control in a <p>; the theme justifies <p> and gives it a
   34px line-height. Neutralise both inside the form. */
.kyr-nl p {
  margin: 0;
  text-align: inherit;
  line-height: inherit;
}

/* The theme sets CF7 wrappers to 80% wide. */
.kyr-nl .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* --- Title: 32px, one line (wraps on narrow screens) --- */
.kyr-nl .kyr-nl__title {
  margin: 0 0 40px;
  padding: 0;
  font-family: inherit;
  font-weight: 800;
  font-size: 32px !important;          /* beats the site-wide heading !important sizes */
  line-height: 1.36 !important;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
  color: #000;
}

/* --- E-mail field: placeholder → 2px gap → 2px line (26px tall) --- */
.kyr-nl__field {
  margin: 0 0 30px;
  text-align: left;
}
.kyr-nl input[type="email"],
.kyr-nl input[type="text"] {
  display: block;
  width: 100%;
  height: 26px;
  margin: 0;
  padding: 0 3px 2px;
  border: 0;
  border-bottom: 2px solid #000;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0;
  color: #000;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.kyr-nl input[type="email"]:focus,
.kyr-nl input[type="text"]:focus { border-bottom-color: #000; }
.kyr-nl ::placeholder { color: #000; opacity: 1; }
/* Don't let browser autofill paint the field */
.kyr-nl input:-webkit-autofill {
  -webkit-text-fill-color: #000;
  transition: background-color 600000s 0s;
}

/* --- Consent: centered, 20px box, 14px text, 7px gap --- */
.kyr-nl__terms {
  margin: 0 0 50px;
  text-align: center;
}
.kyr-nl .wpcf7-list-item {
  display: inline-flex;
  align-items: flex-start;
  margin: 0;
  vertical-align: top;
  text-align: left;
}
.kyr-nl .wpcf7-list-item label {
  display: inline-flex;
  align-items: flex-start;
  margin: 0;
  font-weight: 400;                    /* the theme makes <label> bold */
  cursor: pointer;
}
.kyr-nl .wpcf7-list-item-label {
  font-size: 14px;
  line-height: 20px;
  white-space: normal;                 /* the theme sets nowrap */
  color: #000;
}
/* 20px box, 2px black border, 4px radius. Checked = black square with a
   2px transparent gap (padding + content-box), so it works on any background. */
.kyr-nl input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0 7px 0 0;
  padding: 2px;
  border: 2px solid #000;
  border-radius: 4px;
  background: transparent;
  background-clip: content-box;
  box-shadow: none;
  cursor: pointer;
}
.kyr-nl input[type="checkbox"]:checked { background-color: #000; }
.kyr-nl input[type="checkbox"]:focus-visible {
  outline: 2px solid #003534;
  outline-offset: 2px;
}

/* --- SUBSCRIBE: 229×55, centered --- */
.kyr-nl__submit {
  margin: 0;
  text-align: center;
}
.kyr-nl__submit p { position: relative; }
.kyr-nl .wpcf7-submit {
  display: inline-block;
  min-width: 229px;
  height: 55px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: #FDCE3F;
  box-shadow: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 24px;
  line-height: 55px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #000;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.kyr-nl .wpcf7-submit:hover { opacity: 0.85; }
/* Keep CF7's spinner from pushing the button off-center */
.kyr-nl .wpcf7-spinner {
  position: absolute;
  top: 50%;
  margin: -12px 0 0 12px;
}

/* Friendly Captcha + CF7 messages */
.kyr-nl .frc-captcha { margin: 26px auto 0; }
.kyr-nl .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}
.kyr-nl .wpcf7-not-valid-tip {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 18px;
}
.kyr-nl__terms .wpcf7-not-valid-tip { text-align: center; }

/* --- Phones --- */
@media (max-width: 767px) {
  .kyr-nl .kyr-nl__title {
    margin-bottom: 30px;
    font-size: 24px !important;
  }
  .kyr-nl .wpcf7-submit { font-size: 22px !important; }
}
