/* BetPatron Premium V23 — editable page areas and stability refinements */
#page-content-section[hidden],#page-status[hidden]{display:none!important}
body[data-page="sites"] .hero-aside::before,body[data-page="bonuses"] .hero-aside::before,body[data-page="events"] .hero-aside::before,body[data-page="draws"] .hero-aside::before,body[data-page="contacts"] .hero-aside::before{content:attr(data-status-badge)!important}
body[data-page="sites"] .hero-aside[data-status-badge=""]::before,body[data-page="bonuses"] .hero-aside[data-status-badge=""]::before,body[data-page="events"] .hero-aside[data-status-badge=""]::before,body[data-page="draws"] .hero-aside[data-status-badge=""]::before,body[data-page="contacts"] .hero-aside[data-status-badge=""]::before{display:none!important}
#page-section-kicker:empty,#page-section-title:empty,#page-section-description:empty,#page-status-description:empty{display:none!important}
#page-section-description{max-width:760px;margin:7px 0 0;color:var(--muted);line-height:1.65;text-wrap:pretty}
#page-section-title{overflow-wrap:anywhere;text-wrap:balance}
#page-kicker,#page-title,#page-description,#update-date,#page-status-description{overflow-wrap:anywhere}
#page-status{isolation:isolate}
#page-status strong,#page-status span{position:relative;z-index:1}
#site-search{min-width:0}
.admin-tabs button[data-entity="pages"]{white-space:nowrap}
body[data-page="admin"] .form-section-note{max-width:780px}
body[data-page="admin"] .form-section:has([name="content_kicker"]),body[data-page="admin"] .form-section:has([name="status_badge"]){border-color:color-mix(in srgb,var(--accent) 34%,var(--border));background:linear-gradient(145deg,rgba(231,43,58,.035),rgba(255,255,255,.012))}
@media(max-width:860px){
  #page-content-section .section-title{align-items:flex-start!important;gap:14px!important}
  #page-content-section .search-wrap{width:100%!important;max-width:none!important}
  #page-content-section .search-wrap input{width:100%!important}
  #page-status{width:100%!important}
}
@media(max-width:520px){
  #page-content-section{padding-top:20px!important}
  #page-section-title{font-size:clamp(1.65rem,8vw,2.2rem)!important;line-height:1.06!important}
  #page-section-description{font-size:.9rem;line-height:1.55}
  #page-status{padding:15px!important;border-radius:16px!important}
}
