/**
 * BWA Footer Links - Responsive Styles
 */

@media (max-width : 991px) {

  .footer-grid {
    grid-template-columns : 1fr !important;
  }

  .footer-links-list {
    flex-direction : column;
    gap            : 0;
  }

  .footer-links-list .c-link-list {
    border-bottom : 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-links-list .c-link-list:last-child {
    border-bottom : none;
  }

  .footer-links-list .c-title {
    margin-bottom : 0;
    cursor        : pointer;
    padding       : 15px 0;
    position      : relative;
  }

  .footer-links-list .c-title::after {
    content       : '';
    position      : absolute;
    right         : 0;
    top           : 50%;
    transform     : translateY(-50%) rotate(45deg);
    width         : 8px;
    height        : 8px;
    border-bottom : 2px solid currentColor;
    border-right  : 2px solid currentColor;
    transition    : transform 0.3s ease;
  }

  .footer-links-list .c-link-list.is-open .c-title::after {
    transform : translateY(-25%) rotate(-135deg);
  }

  .footer-links-list .c-link-list.is-empty .c-title {
    cursor : default;
  }

  .footer-links-list .c-link-list.is-empty .c-title::after {
    display : none;
  }

  .footer-links-list .footer-links {
    max-height : 0;
    overflow   : hidden;
    transition : max-height 0.3s ease, padding 0.3s ease;
    padding    : 0;
  }

  .footer-links-list .c-link-list.is-open .footer-links {
    max-height     : 500px;
    padding-bottom : 15px;
  }
}

@media (max-width : 767px) {
  .footer-links-list .c-title span {
    font-size : 14px;
  }

  .footer-links-list .c-link-item {
    margin-bottom : 10px;
  }

  .footer-links-list .c-link-item a {
    font-size : 13px;
  }
}
