/* =========================================================
   WLCM EVENTS — HELP & FAQS STYLES
   ========================================================= */

/* Hero */
.help-hero{
  padding:48px 0 56px;
  text-align:center;
}
.help-hero .eyebrow{ margin-bottom:28px }
.help-hero h1{
  font-family:var(--display);
  font-size:clamp(40px, 6vw, 78px);
  font-weight:700;
  line-height:1.02;
  letter-spacing:-0.03em;
  margin:0 auto 28px;
  max-width:900px;
  color:var(--ink);
}
.help-hero h1 .highlight{
  position:relative;
  display:inline-block;
  z-index:0;
}
.help-hero h1 .highlight::before{
  content:"";
  position:absolute;
  left:-8px;
  right:-8px;
  top:10%;
  bottom:6%;
  background:var(--accent);
  border-radius:7px;
  transform:rotate(-1deg);
  z-index:-1;
}
.help-hero .lead{
  max-width:623px;
  margin:0 auto 40px;
  font-size:19px;
  font-weight:500;
  line-height:1.6;
  color:var(--ink-2);
}
.help-search{
  max-width:640px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:20px;
  padding:19px 20px;
  background:var(--paper);
  border:1px solid var(--rule);
  border-radius:16px;
  box-shadow:var(--shadow-xs);
}
.help-search svg{
  flex-shrink:0;
  color:#28303F;
}
.help-search input{
  flex:1;
  border:none;
  background:transparent;
  font-family:var(--sans);
  font-size:15px;
  font-weight:600;
  color:var(--ink);
  outline:none;
}
.help-search input::placeholder{
  color:var(--ink-3);
  font-weight:600;
}

.help-search-empty{
  margin:0 0 24px;
  padding:16px 20px;
  font-size:15px;
  font-weight:600;
  line-height:1.5;
  color:var(--ink-2);
  background:var(--paper);
  border:1px solid var(--rule);
  border-radius:14px;
  text-align:center;
}
.help-body.is-faq-search-active{
  overflow-anchor:none;
}
.help-body.is-faq-search-active .help-content.is-search-no-results{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  min-height:clamp(320px, 50vh, 520px);
}
.help-body.is-faq-search-active .help-content.is-search-no-results .help-search-empty{
  flex:0 0 auto;
  margin-top:8px;
}
.help-content.is-search-no-results .help-search-empty[hidden]{
  display:none !important;
}
.help-content.is-search-no-results .help-search-empty:not([hidden]){
  display:block;
}

.help-content .faq-item.is-search-hidden,
.help-content .faq-section.is-search-hidden,
.help-sidebar .cat-btn.is-search-hidden,
.help-sidebar .cat-list li.is-search-hidden{
  display:none !important;
}

/* FAQ layout */
.help-body{
  padding:0 0 80px;
}
.help-layout{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:60px;
  align-items:start;
}

/* Wrapper keeps sidebar from stretching page height past FAQ content */
.help-sidebar-wrap{
  position:relative;
  height:0;
  min-height:100%;
  align-self:stretch;
}

.help-sidebar {
  position: sticky;
  top: 110px;
  width: 100%;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
}

.help-sidebar .label{
  color:var(--ink-2);
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1.8px;
  line-height:18px;
  margin:0 0 17px;
}
.cat-list{
  display:flex;
  flex-direction:column;
  gap:4px;
  list-style:none;
  margin:0;
  padding:12px;
}
.cat-btn{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  padding:13px 16px;
  border-radius:10px;
  font-size:14px;
  font-weight:600;
  line-height:21px;
  color:var(--ink-2);
  background:var(--bg);
  text-align:left;
  transition:background .2s ease, color .2s ease;
}
.help-sidebar.is-navigating .cat-btn{
  transition:none;
}
.cat-btn:hover{ background:var(--tint-soft) }
.cat-btn.is-active{
  background:var(--ink);
  color:var(--accent-deep);
}
.cat-btn .count{
  min-width:24px;
  height:24px;
  padding:0 8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:100px;
  font-family:var(--display);
  font-size:13px;
  font-weight:800;
  line-height:1;
  background:var(--rule-2);
  color:var(--ink-3);
  box-shadow:var(--shadow-xs);
}
.cat-btn.is-active .count{
  background:var(--accent);
  color:#000;
}

.help-content{
  display:flex;
  flex-direction:column;
  gap:47px;
}
.faq-section{
  scroll-margin-top:120px;
}
.faq-section-head{
  margin-bottom:26px;
}
.faq-section-head h2{
  font-family:var(--display);
  font-size:33px;
  font-weight:600;
  line-height:33px;
  color:var(--ink);
  margin:0 0 8px;
}
.faq-section-head p{
  margin:0;
  font-size:14px;
  font-weight:500;
  line-height:20.44px;
  color:var(--ink-2);
}
.faq-items{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.faq-items .faq-item{
  background:var(--paper);
  border:1px solid var(--rule);
  border-radius:18px;
  overflow:hidden;
  transition:border-color .3s ease, background .3s ease;
}
.faq-items .faq-item.open{
  background:var(--tint-soft);
  border-color:var(--accent);
}
.faq-items .faq-q{
  width:100%;
  text-align:left;
  padding:19px 25px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:none;
  background-color:transparent;
  border:none;
  outline:none;
  box-shadow:none;
  cursor:pointer;
  font:inherit;
  color:inherit;
}
.faq-items .faq-q:focus,
.faq-items .faq-q:focus-visible,
.faq-items .faq-q:active{
  outline:none;
  border:none;
  box-shadow:none;
  background:transparent;
}
.faq-items .faq-q .q-text{
  font-family:var(--display);
  font-size:17px;
  font-weight:600;
  color:#000;
  line-height:1.25;
}
.faq-items .faq-q .q-icon{
  width:32px;
  height:32px;
}
.faq-items .faq-a{
  max-height:0;
  overflow:hidden;
  padding:0 25px;
  transition:max-height .35s ease, padding .35s ease;
}
.faq-items .faq-item.open .faq-a{
  max-height:600px;
  padding:0 25px 18px;
}
.faq-items .faq-a > p,
.faq-items .faq-a p{
  margin:0;
  padding:0;
  font-size:15px;
  font-weight:400;
  line-height:22.5px;
  letter-spacing:0.04px;
  color:var(--ink-2);
}

/* Support Section */
.help-support{
  background:var(--tint-soft);
  border-top:1px solid var(--rule);
  border-bottom:1px solid var(--rule);
  padding:120px 0;
  text-align:center;
}
.help-support .eyebrow{
  margin-bottom:24px;
}
.help-support h2{
  font-family:var(--display);
  font-size:clamp(36px, 5vw, 64px);
  font-weight:600;
  line-height:1;
  letter-spacing:-0.02em;
  margin:0 auto 20px;
  max-width:1077px;
  color:var(--ink);
}
.help-support h2 em{
  position:relative;
  display:inline-block;
  z-index:0;
  font-family:var(--sans);
  font-style:italic;
  font-weight:600;
  color:var(--ink-2);
}
.help-support h2 em::before{
  content:"";
  position:absolute;
  left:-6px;
  right:-6px;
  top:8%;
  bottom:8%;
  background:var(--accent);
  border-radius:7px;
  transform:rotate(-1deg);
  z-index:-1;
}
.help-support .lead{
  max-width:623px;
  margin:0 auto 56px;
  font-size:17px;
  font-weight:500;
  line-height:1.6;
  color:var(--ink-2);
}
.support-cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
  text-align:left;
  align-items:stretch;
}
.support-card{
  background:var(--paper);
  border:1px solid var(--rule);
  border-radius:22px;
  padding:33px 29px;
  box-shadow:var(--shadow-xs);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:18px;
  min-height:100%;
  cursor:pointer;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.support-card:hover{
  transform:translateY(-3px);
  border-color:var(--accent);
  box-shadow:var(--shadow-lg);
}
.support-card .icon-box{
  width:48px;
  height:48px;
  padding:12px;
  background:var(--tint);
  border:1px solid var(--accent);
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.support-card .icon-box svg{
  display:block;
  width:24px;
  height:24px;
}
.support-card .card-head{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
}
.support-card h3{
  font-family:var(--display);
  font-size:22px;
  font-weight:700;
  line-height:1.15;
  margin:0;
  color:#000;
}
.support-card .response{
  font-family:var(--display);
  font-size:12px;
  font-weight:700;
  letter-spacing:0.25px;
  text-transform:uppercase;
  color:var(--ink-3);
  margin:0;
}
/* "Highlight response time" ticked in the Support Cards section */
.support-card .response.is-whatsapp{
  color:var(--accent-deep);
  letter-spacing:0.5px;
}
.support-card .desc{
  font-size:14px;
  font-weight:400;
  line-height:1.52;
  color:var(--ink-2);
  margin:0;
  flex:1;
}
.support-card .card-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:14px;
  font-weight:600;
  line-height:21px;
  color:#000;
  padding-bottom:3px;
  border-bottom:1px dashed var(--accent);
  align-self:flex-start;
  margin-top:auto;
  position:relative;
  z-index:1;
}
.support-card .card-link .arr{
  font-size:14px;
  line-height:1;
  display:inline-flex;
  transition:transform .2s ease;
}
.support-card:hover .card-link .arr{
  transform:translate(2px, -2px);
}

/* Tablet / mobile only — desktop (>1024px) rules above stay unchanged */
@media (max-width:1100px){
  .help-layout{ grid-template-columns:220px minmax(0, 1fr); gap:36px }
  .support-cards{ grid-template-columns:1fr }
}

/* iPad Mini & tablet — sidebar + full-width FAQ column */
@media (max-width:1024px) and (min-width:761px){
  .help-hero{
    padding:40px 0 48px;
  }
  .help-hero h1{
    font-size:clamp(32px, 5vw, 56px);
    margin-bottom:22px;
  }
  .help-hero .lead{
    font-size:17px;
    margin-bottom:32px;
  }
  .help-hero .lead br{ display:none }

  .help-body{
    overflow-x:clip;
  }

  .wrap.help-layout{
    min-width:0;
    width:100%;
  }

  .help-layout{
    grid-template-columns:200px minmax(0, 1fr);
    gap:28px;
    width:100%;
  }

  .help-sidebar-wrap{
    height:0;
    min-height:100%;
    align-self:stretch;
    position:relative;
    width:auto;
    margin:0;
    padding:0;
    background:transparent;
    border:none;
    box-shadow:none;
  }

  .help-sidebar{
    position:sticky;
    top:96px;
    max-height:calc(100vh - 116px);
    overflow-y:auto;
  }

  .help-sidebar .label{
    font-size:11px;
    margin-bottom:12px;
  }

  .cat-btn{
    padding:11px 12px;
    font-size:13px;
    gap:8px;
  }

  .cat-btn .count{
    min-width:22px;
    height:22px;
    font-size:12px;
  }

  .help-content{
    gap:40px;
    min-width:0;
    width:100%;
  }

  .faq-section{
    scroll-margin-top:130px;
    min-width:0;
    width:100%;
  }

  .faq-section-head h2{
    font-size:28px;
    line-height:1.15;
  }

  .faq-section-head,
  .faq-items,
  .faq-items .faq-item,
  .faq-items .faq-q{
    min-width:0;
    max-width:100%;
  }

  .faq-items .faq-q .q-text{
    flex:1 1 auto;
    min-width:0;
    overflow-wrap:break-word;
    word-wrap:break-word;
  }

  .help-search{
    width:100%;
    max-width:100%;
  }

  .help-support{ padding:88px 0 96px }
}

/* Phone — stacked layout + horizontal category pills */
@media (max-width:760px){
  .help-hero .lead br{ display:none }

  .help-body{
    padding:0 0 56px;
    overflow-x:clip;
    width:100%;
  }

  .wrap.help-layout{
    min-width:0;
    width:100%;
  }

  .help-layout{
    grid-template-columns:minmax(0, 1fr);
    gap:20px;
    width:100%;
  }

  .help-hero,
  .help-layout,
  .help-sidebar-wrap,
  .help-sidebar,
  .help-content,
  .faq-section,
  .faq-items,
  .faq-items .faq-item,
  .faq-items .faq-q{
    box-sizing:border-box;
    max-width:100%;
  }

  .help-sidebar-wrap{
    height:auto;
    min-height:0;
    align-self:auto;
    position:sticky;
    /* Below sticky nav (12px offset + ~68px bar + gap) — nav z-index is 50 */
    top:92px;
    z-index:25;
    width:calc(100% + 2 * var(--gutter));
    max-width:none;
    margin-left:calc(-1 * var(--gutter));
    margin-right:calc(-1 * var(--gutter));
    padding:12px var(--gutter) 14px;
    background:var(--bg);
    border-bottom:1px solid var(--rule);
    box-shadow:0 4px 12px rgba(0,0,0,.05);
  }

  .help-sidebar{
    position:static;
    top:auto;
    max-height:none;
    overflow:visible;
    padding:0;
    width:100%;
  }

  .help-sidebar .label{
    display:block;
    margin:0 0 10px;
    padding:0;
    font-size:11px;
    line-height:1.4;
    letter-spacing:1.6px;
  }

  .cat-list{
    flex-direction:row;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    gap:8px;
    padding:0 0 8px;
    width:100%;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
    scrollbar-width:thin;
    scrollbar-color:var(--rule) transparent;
  }
  .cat-list::-webkit-scrollbar{ height:6px }
  .cat-list::-webkit-scrollbar-thumb{
    background:var(--rule);
    border-radius:999px;
  }

  .cat-list li{
    flex-shrink:0;
    scroll-snap-align:start;
  }

  .cat-btn{
    white-space:nowrap;
    flex-shrink:0;
    width:auto;
    padding:10px 14px;
    font-size:13px;
  }

  .help-content{
    gap:36px;
    min-width:0;
    width:100%;
  }

  .faq-section{
    scroll-margin-top:168px;
    min-width:0;
    width:100%;
  }

  .faq-section-head{
    min-width:0;
  }

  .faq-section-head h2{
    font-size:clamp(20px, 5vw, 28px);
    line-height:1.2;
    overflow-wrap:break-word;
    word-wrap:break-word;
  }

  .faq-section-head p{
    overflow-wrap:break-word;
    word-wrap:break-word;
  }

  .faq-items{
    min-width:0;
    width:100%;
  }

  .faq-items .faq-item{
    min-width:0;
    width:100%;
  }

  .faq-items .faq-q{
    min-width:0;
    max-width:100%;
    align-items:flex-start;
    gap:12px;
  }

  .faq-items .faq-q .q-text{
    flex:1 1 auto;
    min-width:0;
    line-height:1.35;
    white-space:normal;
    overflow-wrap:break-word;
    word-wrap:break-word;
    word-break:break-word;
  }

  .help-search{
    width:100%;
    max-width:100%;
  }

  .help-support{ padding:72px 0 80px }
}

@media (max-width:760px){
  .help-hero{
    padding:32px 0 40px;
  }
  .help-hero h1{
    font-size:clamp(26px, 7.5vw, 40px);
    line-height:1.1;
    margin-bottom:16px;
  }
  .help-hero h1 br{ display:none }
  .help-hero .lead{
    font-size:15px;
    margin-bottom:22px;
    padding:0 2px;
  }
  .help-search{
    padding:14px 16px;
    gap:12px;
  }
  .help-search input{
    font-size:14px;
    min-width:0;
  }

  .help-sidebar-wrap{ top:92px }

  .help-content{ gap:24px }

  .faq-section{ scroll-margin-top:168px }

  .faq-section-head{ margin-bottom:16px }
  .faq-section-head h2{
    font-size:clamp(18px, 5.5vw, 26px);
  }
  .faq-section-head p{ font-size:13px }

  .faq-items .faq-q{
    padding:18px 20px;
    gap:10px;
  }
  .faq-items .faq-a{ padding:0 20px }
  .faq-items .faq-item.open .faq-a{ padding:0 20px 18px }
  .faq-items .faq-a > p,
  .faq-items .faq-a p{ padding:0 }

  .help-support{
    padding:72px 0 80px;
  }
  .help-support h2{
    font-size:clamp(24px, 7vw, 34px);
    line-height:1.15;
    padding:0 8px;
  }
  .help-support .lead{
    font-size:15px;
    margin-bottom:28px;
    padding:0 8px;
  }
  .support-card{
    padding:22px 18px;
    border-radius:16px;
  }
  .support-card h3{ font-size:18px }
}

@media (max-width:400px){
  .faq-items .faq-q{ padding:12px 14px }
  .faq-items .faq-q .q-text{ font-size:14px }
  .faq-section{ scroll-margin-top:138px }
}
