/* MOROSOUQ footer — B2 inspired */
.yc-footer{
  background-color:var(--yc-footer-background-color);
  color:var(--yc-footer-text-color);
  overflow:hidden;
  display:block;
  width:100%;
  padding:24px 0 22px;
}

/* Large rounded brand bar, matching the visual language of the navbar */
.yc-footer-brand-bar{
  /* Same dimensions as the small black navbar pill. */
  width:92%;
  max-width:1440px;
  height:54px;
  min-height:54px;
  margin:0 auto 32px;
  padding:6px 36px;
  background:#000;
  border-radius:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
}

.yc-footer-brand-logo{
  display:block;
  width:min(168px, 60vw);
  height:auto;
  max-height:42px;
  object-fit:contain;
}

.yc-footer .columns{
  width:94%;
  max-width:1690px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:70px;
  box-sizing:border-box;
}

.yc-footer .columns .column{
  min-width:0;
}

.yc-footer .accordion-item .accordion-header{
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:center;
  column-gap:12px;
  color:inherit;
  padding:0 0 24px;
  margin-bottom:15px;
  border-bottom:0;
  cursor:inherit;
}

.yc-footer .accordion-item .accordion-header::after{
  content:"";
  position:absolute;
  bottom:8px;
  inset-inline-start:0;
  width:38px;
  height:2px;
  border-radius:99px;
  background:currentColor;
}

.yc-footer .accordion-item .accordion-header .title{
  margin:0;
  color:inherit;
  font-weight:800;
  font-size:21px;
  line-height:1.3;
}

.yc-footer .accordion-item .accordion-header .arrow{
  display:none;
}

.yc-footer .accordion-item .accordion-content{
  max-height:none;
  overflow:visible;
}

.yc-footer .accordion-item .accordion-content .item{
  display:block;
  width:max-content;
  max-width:100%;
  color:inherit;
  font-weight:500;
  font-size:16px;
  line-height:1.55;
  margin:0 0 14px;
  text-decoration:none;
  transition:opacity .18s ease, transform .18s ease;
}

.yc-footer .accordion-item .accordion-content .item:hover{
  opacity:.68;
  text-decoration:none;
  transform:translateX(-2px);
}

/* Bottom copyright bar: same rounded black pill as the logo bar, without logo */
.yc-footer > .copyright-container{
  /* Override the theme .container max-width so this bar can match the logo bar exactly. */
  width:100% !important;
  max-width:none !important;
  margin:28px 0 0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  box-sizing:border-box;
}

.yc-footer .copyright-wrapper{
  /* Same dimensions as the small black navbar pill. */
  width:92%;
  max-width:1440px;
  height:54px;
  min-height:54px;
  margin:0 auto;
  padding:6px 36px;
  background:#000;
  color:#c79a55;
  border-radius:24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:10px;
  box-sizing:border-box;
  border-top:0;
}

.yc-footer .copyright-wrapper .copyright-title{
  color:inherit;
  font-weight:700;
  font-size:14px;
  line-height:1.6;
}

.yc-footer .copyright-wrapper .copyright-title p{
  margin:0;
}

.yc-footer .copyright-wrapper .spacer{
  display:none;
}

.yc-footer .copyright-wrapper .link{
  display:block;
  width:28px;
  height:28px;
}

.yc-footer .copyright-wrapper .link img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.yc-footer .footer-space{
  margin-top:18px;
}

/* The external top border is no longer needed with the branded black bar. */
.toggle-footer{
  border-top:0 !important;
}

@media (max-width: 767px){
  .yc-footer{
    padding:16px 0 14px;
  }

  .yc-footer-brand-bar{
    width:calc(100% - 20px);
    height:54px;
    min-height:54px;
    margin-bottom:18px;
    padding:6px 14px;
    border-radius:20px;
  }

  .yc-footer-brand-logo{
    width:min(150px, 62vw);
    max-height:38px;
  }

  .yc-footer .columns{
    width:94%;
    display:flex;
    flex-direction:column;
    gap:0;
  }

  .yc-footer .accordion-item{
    border-bottom:1px solid rgba(0,0,0,.10);
  }

  .yc-footer .accordion-item .accordion-header{
    cursor:pointer;
    padding:18px 0;
    margin:0;
  }

  .yc-footer .accordion-item .accordion-header::after{
    display:none;
  }

  .yc-footer .accordion-item .accordion-header .title{
    font-size:17px;
  }

  .yc-footer .accordion-item .accordion-header .arrow{
    display:block;
    transform:rotate(180deg);
    transition:transform .25s ease;
  }

  .yc-footer .accordion-item .accordion-header.active .arrow{
    transform:none;
  }

  .yc-footer .accordion-item .accordion-content{
    max-height:0;
    overflow:hidden;
    transition:max-height 300ms ease;
  }

  .yc-footer .accordion-item .accordion-content .item{
    font-size:15px;
    margin-bottom:12px;
  }

  .yc-footer .accordion-item .accordion-content .item:last-child{
    margin-bottom:18px;
  }

  .yc-footer > .copyright-container{
    width:100%;
    margin:18px 0 0 !important;
  }

  .yc-footer .copyright-wrapper{
    width:calc(100% - 20px);
    height:54px;
    min-height:54px;
    padding:6px 14px;
    border-radius:20px;
  }

  .yc-footer .copyright-wrapper .copyright-title{
    font-size:12px;
  }
}
