/**
 * Berwirausaha Divi Luxury 2.14.0 — AI Pro Responsive Correction
 * Removes forced tall mobile hero and prevents copy / character overlap.
 * Only touches visual styles on AI Pro, no member data or plugin logic.
 */
body.bw-ai-pro-page .bw-ai-pro {
  min-width:0;
  width:100%;
  max-width:1320px;
  overflow-x:clip;
}
body.bw-ai-pro-page .bw-ai-hero {
  isolation:isolate;
}
body.bw-ai-pro-page .bw-ai-hero-copy,
body.bw-ai-pro-page .bw-ai-hero-copy > * {
  min-width:0;
}
body.bw-ai-pro-page .bw-ai-hero-muse {
  pointer-events:none;
  user-select:none;
}
body.bw-ai-pro-page .bw-ai-stats > *,
body.bw-ai-pro-page .bw-ai-tools > * {
  min-width:0;
}
body.bw-ai-pro-page .bw-ai-hero-cta {
  touch-action:manipulation;
}
@media(min-width:700px) and (max-width:1024px){
  body.bw-ai-pro-page .bw-ai-pro { padding-inline:clamp(14px,2.8vw,24px); }
  body.bw-ai-pro-page .bw-ai-hero {
    display:flex;
    min-height:310px;
    max-height:none;
  }
  body.bw-ai-pro-page .bw-ai-hero-copy {
    width:63%;
    padding:clamp(22px,3vw,36px);
  }
  body.bw-ai-pro-page .bw-ai-hero h1 {font-size:clamp(48px,6.5vw,70px)!important}
  body.bw-ai-pro-page .bw-ai-hero h2 {font-size:clamp(21px,2.7vw,29px)!important}
  body.bw-ai-pro-page .bw-ai-hero p {max-width:31ch;font-size:clamp(13px,1.65vw,16px)}
  body.bw-ai-pro-page .bw-ai-hero-muse {
    width:43%;
    height:102%;
    right:-2%;
    bottom:-5%;
  }
  body.bw-ai-pro-page .bw-ai-hero-halo{width:72px;height:72px;top:13%;right:7%}
  body.bw-ai-pro-page .bw-ai-stats{gap:11px}
  body.bw-ai-pro-page .bw-ai-stat{gap:9px;padding:11px}
  body.bw-ai-pro-page .bw-ai-stat-icon{width:42px;height:42px}
  body.bw-ai-pro-page .bw-ai-stat p{font-size:12px}
  body.bw-ai-pro-page .bw-ai-stat strong{font-size:17px}
}
@media(max-width:699px){
  body.bw-ai-pro-page .bw-ai-pro {
    padding:8px 12px calc(125px + env(safe-area-inset-bottom));
  }
  body.bw-ai-pro-page .bw-ai-topline{
    max-width:100%;
    min-height:24px;
    font-size:9px;
    letter-spacing:.07em;
    gap:6px;
  }
  body.bw-ai-pro-page .bw-ai-topline-right {
    font-size:8px;
    letter-spacing:0;
    white-space:nowrap;
  }
  body.bw-ai-pro-page .bw-ai-hero {
    display:block;
    height:auto;
    min-height:0!important;
    max-height:none!important;
    margin:9px 0 13px;
    padding:0!important;
    border-radius:19px;
    background:
      radial-gradient(ellipse at 84% 82%,rgba(6,139,204,.20),transparent 48%),
      linear-gradient(137deg,#03172b,#062c48);
    box-shadow:inset 0 1px rgba(255,251,241,.13),0 0 0 1px rgba(241,198,118,.12),0 12px 30px rgba(0,10,24,.30);
  }
  body.bw-ai-pro-page .bw-ai-hero::before {
    background:linear-gradient(105deg,rgba(2,17,32,.92),rgba(3,28,51,.38) 79%),
      repeating-linear-gradient(99deg,transparent 0 47px,rgba(69,222,249,.026) 48px 49px);
  }
  body.bw-ai-pro-page .bw-ai-hero::after {
    width:57%;
    top:-47%;
    right:-25%;
    opacity:.55;
  }
  body.bw-ai-pro-page .bw-ai-hero-copy {
    width:100%!important;
    box-sizing:border-box;
    padding:18px 17px 19px!important;
    margin:0!important;
    position:relative;
    z-index:3;
  }
  body.bw-ai-pro-page .bw-ai-pill {
    min-height:26px;
    max-width:100%;
    padding:6px 10px;
    font-size:clamp(8px,2.3vw,9.5px);
    letter-spacing:.035em;
    line-height:1.3;
    text-wrap:wrap;
  }
  body.bw-ai-pro-page .bw-ai-hero h1 {
    display:block;
    margin:12px 0 8px!important;
    font-size:clamp(40px,10.2vw,54px)!important;
    line-height:1.02!important;
    letter-spacing:-.05em!important;
  }
  body.bw-ai-pro-page .bw-ai-hero h2 {
    max-width:26ch;
    margin:0 0 9px!important;
    font-size:clamp(19px,5.25vw,25px)!important;
    line-height:1.21!important;
    letter-spacing:-.028em;
    text-wrap:balance;
  }
  body.bw-ai-pro-page .bw-ai-hero p {
    width:59%;
    max-width:29ch;
    margin:0!important;
    font-size:clamp(11px,3.15vw,13px);
    line-height:1.48!important;
    color:#d0e1ef;
    text-wrap:pretty;
  }
  body.bw-ai-pro-page .bw-ai-hero-cta {
    display:inline-flex;
    width:auto;
    min-width:0;
    max-width:61%;
    min-height:40px;
    margin-top:13px;
    padding:10px 13px;
    justify-content:center;
    align-items:center;
    font-size:clamp(11px,3.25vw,13px);
    line-height:1.2;
    font-weight:800;
    border-radius:12px;
    white-space:normal;
    text-align:center;
    box-shadow:0 6px 17px rgba(242,177,63,.16);
  }
  /* Full-height cover, not a tiny illustration pinned to the corner. */
  body.bw-ai-pro-page .bw-ai-hero-muse {
    position:absolute;
    width:68%;
    height:100%;
    min-height:100%;
    max-height:none;
    top:0;
    right:-9%;
    bottom:0;
    z-index:2;
    opacity:.96;
    object-fit:cover;
    object-position:52% center;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.15) 17%,rgba(0,0,0,.78) 44%,#000 70%);
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.15) 17%,rgba(0,0,0,.78) 44%,#000 70%);
  }
  body.bw-ai-pro-page .bw-ai-hero-halo {
    z-index:1;
    width:48px;
    height:48px;
    top:15px;
    right:13px;
    font-size:17px;
    opacity:.29;
    border-width:1px;
  }
  body.bw-ai-pro-page .bw-ai-stats {
    width:100%;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
    margin:0 0 21px;
  }
  body.bw-ai-pro-page .bw-ai-stat {
    min-height:93px;
    height:auto;
    padding:9px 3px 11px;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:6px;
    text-align:center;
    border-radius:13px;
  }
  body.bw-ai-pro-page .bw-ai-stat-icon {
    width:33px;
    height:33px;
    flex:0 0 33px;
    border-radius:10px;
    box-sizing:border-box;
  }
  body.bw-ai-pro-page .bw-ai-stat-icon svg {width:19px;height:19px}
  body.bw-ai-pro-page .bw-ai-stat p {
    width:100%;
    display:flex;
    gap:3px;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    text-align:center;
    line-height:1.25!important;
    font-size:clamp(9px,2.55vw,11px);
  }
  body.bw-ai-pro-page .bw-ai-stat strong {
    display:block;
    color:#6ceaff;
    font-size:clamp(11px,3.05vw,13px);
    font-weight:800;
    line-height:1.2!important;
    overflow-wrap:anywhere;
  }
  body.bw-ai-pro-page .bw-ai-stat:first-child strong{color:#f6cc79}
  body.bw-ai-pro-page .bw-ai-heading{margin:20px 3px 12px}
  body.bw-ai-pro-page .bw-ai-tool{
    gap:9px;
    min-height:100px;
    padding:10px;
    border-radius:14px;
  }
  body.bw-ai-pro-page .bw-ai-tool-copy strong {font-size:15px}
  body.bw-ai-pro-page .bw-ai-tool-thumb{width:clamp(76px,22vw,106px);height:72px}
  body.bw-ai-pro-page .bw-ai-cycle-tabs{flex-basis:100%}
  /* A smaller chat launcher blocks less of the status cards. */
  body.bw-v16.bw-ai-pro-page .bw-chat-widget {right:10px;bottom:calc(var(--bw-nav-height,76px) + 10px + env(safe-area-inset-bottom))}
  body.bw-v16.bw-ai-pro-page .bw-chat-widget .bw-chat-float {width:44px;height:44px;min-height:44px;padding:11px}
  body.bw-v16.bw-ai-pro-page .bw-chat-widget .bw-chat-float svg {width:22px;height:22px}
}
@media(max-width:375px){
  body.bw-ai-pro-page .bw-ai-pro{padding-left:10px!important;padding-right:10px!important}
  body.bw-ai-pro-page .bw-ai-hero-copy{padding:16px 15px 16px!important}
  body.bw-ai-pro-page .bw-ai-hero h1{font-size:clamp(40px,10vw,45px)!important}
  body.bw-ai-pro-page .bw-ai-hero h2{font-size:clamp(18px,5vw,20px)!important}
  body.bw-ai-pro-page .bw-ai-hero p{width:59%;font-size:11.2px}
  body.bw-ai-pro-page .bw-ai-hero-cta{padding:9px 10px;font-size:11.5px}
  body.bw-ai-pro-page .bw-ai-hero-muse{width:70%;height:100%;min-height:100%;right:-11%;object-position:52% center}
  body.bw-ai-pro-page .bw-ai-stat{padding-left:2px;padding-right:2px}
}
@media(min-width:450px) and (max-width:699px){
  body.bw-ai-pro-page .bw-ai-hero-copy{padding:21px 24px 22px!important}
  body.bw-ai-pro-page .bw-ai-hero p{width:63%;max-width:38ch;font-size:13px}
  body.bw-ai-pro-page .bw-ai-hero-cta{max-width:60%}
  body.bw-ai-pro-page .bw-ai-hero-muse{width:57%;height:100%;min-height:100%;right:-5%;object-position:52% center}
  body.bw-ai-pro-page .bw-ai-stats{gap:12px}
  body.bw-ai-pro-page .bw-ai-stat{min-height:97px}
}
@media(orientation:landscape) and (max-height:460px) and (max-width:980px){
  body.bw-ai-pro-page .bw-ai-hero{min-height:0!important}
  body.bw-ai-pro-page .bw-ai-hero-halo{display:none}
}
@media(prefers-reduced-motion:reduce){
  body.bw-ai-pro-page .bw-ai-pro .bw-ai-hero-muse,
  body.bw-ai-pro-page .bw-ai-pro .bw-ai-hero-halo{animation:none!important;transform:none!important}
}
