/* YFG Prestige footer social and newsletter controls. */

:root {
  --yfg-social-navy: #041e42;
  --yfg-social-gold: #8f5a39;
  --yfg-social-size: 60px;
}

body.breakdance .bde-social-icons-1998-289 {
  gap: 12px !important;
}

body.breakdance .bde-social-icons-1998-289 .bde-social-icons__icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--yfg-social-size) !important;
  height: var(--yfg-social-size) !important;
  min-width: var(--yfg-social-size);
  padding: 0 !important;
  color: #fff !important;
  background: #936846 !important;
  border: 0 !important;
  border-radius: 50%;
  box-shadow: none !important;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

body.breakdance .bde-social-icons-1998-289 .bde-social-icons__icon-wrapper > svg {
  position: static;
  width: 36px !important;
  height: 36px !important;
  opacity: 1;
  pointer-events: none;
}

body.breakdance .bde-social-icons-1998-289 .bde-social-icons__icon-wrapper::before {
  content: none;
  display: none;
}

body.breakdance .bde-social-icons-1998-289 .bde-social-icons__icon-wrapper svg path,
body.breakdance .bde-social-icons-1998-289 .bde-social-icons__icon-wrapper svg circle,
body.breakdance .bde-social-icons-1998-289 .bde-social-icons__icon-wrapper svg .st0 {
  fill: #fff !important;
}

body.breakdance .bde-social-icons-1998-289 .bde-social-icons__icon-wrapper:hover,
body.breakdance .bde-social-icons-1998-289 .bde-social-icons__icon-wrapper:focus-visible {
  color: #fff !important;
  background: #7f5738 !important;
  transform: translateY(-1px);
}

body.breakdance .bde-social-icons-1998-289 .bde-social-icons__icon-wrapper:focus-visible {
  outline: 1px solid var(--yfg-social-navy);
  outline-offset: 3px;
}

/*
 * Newsletter form — a single tailored control inspired by the supplied
 * reference: crisp hairline, square edges and an integrated action block.
 */
body.yfg-design-layer.breakdance
  .bde-section-1998-265
  .bde-form-builder-1998-293 {
  padding: 0 !important;
  overflow: visible !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.yfg-design-layer.breakdance
  .bde-section-1998-265
  .bde-form-builder-1998-293
  .breakdance-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100% !important;
}

body.yfg-design-layer.breakdance
  .bde-section-1998-265
  .bde-form-builder-1998-293
  .breakdance-form-field {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.yfg-design-layer.breakdance
  .bde-section-1998-265
  .bde-form-builder-1998-293
  .breakdance-form-footer {
  justify-content: stretch !important;
}

body.yfg-design-layer.breakdance
  .bde-section-1998-265
  .bde-form-builder-1998-293
  input[type="email"] {
  width: 100% !important;
  min-width: 0 !important;
  height: 60px !important;
  padding: 0 20px !important;
  border: 1px solid var(--yfg-social-navy) !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--yfg-social-navy) !important;
  box-shadow: none !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
}

body.yfg-design-layer.breakdance
  .bde-section-1998-265
  .bde-form-builder-1998-293
  input[type="email"]::placeholder {
  color: #8d9299 !important;
  opacity: 1 !important;
}

body.yfg-design-layer.breakdance
  .bde-section-1998-265
  .bde-form-builder-1998-293
  input[type="email"]:focus {
  border-color: var(--yfg-social-gold) !important;
  outline: 0 !important;
  box-shadow: inset 0 0 0 1px var(--yfg-social-gold) !important;
}

body.yfg-design-layer.breakdance
  .bde-section-1998-265
  .bde-form-builder-1998-293
  .breakdance-form-button__submit {
  min-width: 150px !important;
  height: 60px !important;
  padding: 0 28px !important;
  border: 1px solid var(--yfg-social-navy) !important;
  border-radius: 0 !important;
  background: var(--yfg-social-navy) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
  transition: background-color 180ms ease, border-color 180ms ease !important;
}

body.yfg-design-layer.breakdance
  .bde-section-1998-265
  .bde-form-builder-1998-293
  .breakdance-form-button__submit:hover,
body.yfg-design-layer.breakdance
  .bde-section-1998-265
  .bde-form-builder-1998-293
  .breakdance-form-button__submit:focus-visible {
  border-color: var(--yfg-social-gold) !important;
  background: var(--yfg-social-gold) !important;
}

body.yfg-design-layer.breakdance
  .bde-section-1998-265
  .bde-form-builder-1998-293
  .breakdance-form-button__submit:focus-visible {
  outline: 1px solid var(--yfg-social-navy) !important;
  outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {
  body.breakdance .bde-social-icons-1998-289 .bde-social-icons__icon-wrapper {
    transition: none;
  }

  body.yfg-design-layer.breakdance
    .bde-section-1998-265
    .bde-form-builder-1998-293
    .breakdance-form-button__submit {
    transition: none !important;
  }

  body.breakdance .bde-social-icons-1998-289 .bde-social-icons__icon-wrapper:hover,
  body.breakdance .bde-social-icons-1998-289 .bde-social-icons__icon-wrapper:focus-visible {
    transform: none;
  }
}

@media (max-width: 767px) {
  :root {
    --yfg-social-size: 46px;
  }

  body.breakdance .bde-social-icons-1998-289 {
    gap: 10px !important;
  }

  body.breakdance .bde-social-icons-1998-289 .bde-social-icons__icon-wrapper > svg {
    width: 27px !important;
    height: 27px !important;
  }

  body.yfg-design-layer.breakdance
    .bde-section-1998-265
    .bde-form-builder-1998-293
    input[type="email"],
  body.yfg-design-layer.breakdance
    .bde-section-1998-265
    .bde-form-builder-1998-293
    .breakdance-form-button__submit {
    height: 50px !important;
  }

  body.yfg-design-layer.breakdance
    .bde-section-1998-265
    .bde-form-builder-1998-293
    input[type="email"] {
    padding-inline: 14px !important;
    font-size: 14px !important;
  }

  body.yfg-design-layer.breakdance
    .bde-section-1998-265
    .bde-form-builder-1998-293
    .breakdance-form-button__submit {
    min-width: 112px !important;
    padding-inline: 18px !important;
    font-size: 14px !important;
  }
}
