.newsletter-2 {
  background-color: var(--color-bg);
  padding: 40px 0;

  @media (min-width: 768px) {
    padding: 50px 0;
  }

  .newsletter-2__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    @media (min-width: 768px) {
      flex-direction: row;
      gap: 32px;
      align-items: flex-end;
    }

    .newsletter-2__content {
      width: 100%;
      display: flex;
      gap: 12px;
      flex-direction: column;

      @media (min-width: 768px) {
        flex: 0 1 auto;
        max-width: 60%;
      }

      .newsletter-2__title {
        margin: 0;
      }

      .newsletter-2__text {
        :is(a) {
          color: revert;
          text-decoration: underline;
          transition: opacity 0.3s ease;

          &:hover,
          &:focus {
            opacity: 0.5;
          }
        }
      }
    }

    .newsletter-2__form {

      .note-success {
        margin-bottom: 0;
      }

      .newsletter__subscribed-note {
        display: none;
      }

      .newsletter__subscribed-note.active {
        display: block;
      }

      .input-group-btn {
        display: flex;
      }

      .newsletter__input-group {
        display: flex;
        gap: 10px;
        flex-direction: column;
        margin: 0;
        width: 100%;
        
        @media (min-width: 768px) {
          width: auto;
          min-width: 400px;
        }
      }

      .newsletter__input {
        flex: 1;
        padding: 12px 15px;
        border: 1px solid var(--color-footer-border, #222);
        background-color: transparent;
        color: #000000;
        font-size: 14px;
        border-radius: 4px 0px 0px 4px;

        &:focus {
          outline: 2px solid var(--color-footer-text, #fff);
          outline-offset: 2px;
        }
      }

      .btn {
        padding: 12px 24px;
        background-color: var(--color-button, #000);
        color: var(--color-button-text, #fff);
        border: none;
        border-radius: 0px 4px 4px 0px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: opacity 0.3s ease;

        &:hover,
        &:focus {
          opacity: 0.9;
          outline: 2px solid var(--color-button-text, #fff);
          outline-offset: 2px;
        }

        &:disabled {
          opacity: 0.5;
          cursor: not-allowed;
        }

        .form__submit--large {
          display: block;
        }

        .form__submit--small {
          display: none;
        }

        .icon-arrow-right {
          display: none;
        }
      }

      .newsletter__subscribe-checkbox {
        display: flex;
        align-items: flex-start;
        margin-top: 6px;

        input[type='checkbox'] {
          width: 16px;
          height: 16px;
          cursor: pointer;
        }
      }

      .newsletter__subscribe-checkbox-label {
        font-size: 14px;
        font-weight: 400;
        cursor: pointer;
      }

      /* Success/Error Messages - Same as footer */
      .note {
        font-size: 13px;
        margin-top: 10px;
        padding: 10px;
        border-radius: 4px;
      }

      .note--success {
        background-color: rgba(76, 175, 80, 0.2);
        color: #000000;
      }

      .note--error {
        background-color: rgba(244, 67, 54, 0.2);
        color: var(--color-footer-text, #fff);
      }
    }
  }

  /* Mobile Styles - Same as footer */
  @media screen and (max-width: 768px) {
    .newsletter-2 {
      .newsletter-2__form {
        .btn {
          width: 250px;
        }

      }
    }
  }
}
