/* HIBA Creative v85 - About/static page mobile fix
   Scope: only public static/detail pages. Keeps admin-added page content visible and responsive. */
body:not(#modernpanel) .hc-static-page-section{
  --h85-orange:#ff6b1c;
  --h85-dark:#0b1424;
  --h85-muted:#64748b;
  --h85-border:#e2e8f0;
}

body:not(#modernpanel) .hc-static-page-section #wrapper{
  width:min(1220px,calc(100% - 32px));
  max-width:1220px;
  margin-left:auto;
  margin-right:auto;
  padding-left:0;
  padding-right:0;
}

body:not(#modernpanel) .hc-static-page-section .hc-static-page-layout{
  width:100%;
  align-items:start;
}

body:not(#modernpanel) .hc-static-page-section .hc-static-page-content{
  overflow-wrap:anywhere;
  word-break:normal;
}

body:not(#modernpanel) .hc-static-page-section .hc-static-page-content iframe,
body:not(#modernpanel) .hc-static-page-section .hc-static-page-content video,
body:not(#modernpanel) .hc-static-page-section .hc-static-page-content embed,
body:not(#modernpanel) .hc-static-page-section .hc-static-page-content object{
  max-width:100% !important;
  width:100% !important;
  border-radius:18px;
}

body:not(#modernpanel) .hc-static-page-section .hc-static-page-content img{
  max-width:100% !important;
  height:auto !important;
}

body:not(#modernpanel) .hc-static-page-section .hc-static-page-content table{
  min-width:680px;
}

body:not(#modernpanel) .hc-static-page-section .hc-static-page-content .table-responsive,
body:not(#modernpanel) .hc-static-page-section .hc-static-page-content table{
  overflow-x:auto;
}

@media (max-width: 991px){
  body:not(#modernpanel) .hc-static-page-section{
    padding:28px 0 46px !important;
  }
  body:not(#modernpanel) .hc-static-page-section #wrapper{
    width:min(100% - 28px, 760px) !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-layout,
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-layout.no-sidebar{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:18px !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-sidebar{
    position:relative !important;
    top:auto !important;
    order:-1;
    width:100% !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-sidebar-card{
    border-radius:22px !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-sidebar-links{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-sidebar-links a{
    min-width:0;
  }
}

@media (max-width: 767px){
  body:not(#modernpanel) .hc-static-page-section{
    padding:18px 0 34px !important;
    background:#f6f8fb !important;
  }
  body:not(#modernpanel) .hc-static-page-section #wrapper{
    width:calc(100% - 22px) !important;
    max-width:none !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-card,
  body:not(#modernpanel) .hc-static-page-section .hc-sidebar-card{
    border-radius:20px !important;
    box-shadow:0 14px 34px rgba(15,23,42,.07) !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-card:before{
    height:4px !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content{
    padding:22px 18px !important;
    font-size:15px !important;
    line-height:1.75 !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content h1{
    font-size:30px !important;
    line-height:1.12 !important;
    letter-spacing:-.04em !important;
    margin:0 0 14px !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content h2{
    font-size:25px !important;
    line-height:1.16 !important;
    margin:24px 0 12px !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content h3{
    font-size:21px !important;
    line-height:1.2 !important;
    margin:22px 0 10px !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content p,
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content li{
    font-size:15px !important;
    line-height:1.75 !important;
    color:#475569 !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content ul,
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content ol{
    margin:12px 0 18px !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content li{
    padding-left:26px !important;
    margin:9px 0 !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content blockquote{
    margin:18px 0 !important;
    padding:18px !important;
    border-radius:16px !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content img{
    display:block !important;
    width:auto !important;
    max-width:100% !important;
    margin:14px auto !important;
    border-radius:16px !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content [style*="float"],
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content .pull-left,
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content .pull-right{
    float:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    width:100% !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content .row{
    display:block !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content [class*="col-"]{
    width:100% !important;
    max-width:100% !important;
    float:none !important;
    padding-left:0 !important;
    padding-right:0 !important;
    margin-bottom:14px !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content table{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch;
    border-radius:16px !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content table th,
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content table td{
    padding:12px 14px !important;
    white-space:nowrap;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-sidebar-title{
    padding:18px 18px 10px !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-sidebar-links{
    grid-template-columns:1fr !important;
    padding:0 14px 16px !important;
  }
}

@media (max-width: 420px){
  body:not(#modernpanel) .hc-static-page-section #wrapper{
    width:calc(100% - 16px) !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content{
    padding:20px 15px !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content h1{
    font-size:27px !important;
  }
  body:not(#modernpanel) .hc-static-page-section .hc-static-page-content h2{
    font-size:23px !important;
  }
}
