/* BoardFlow Patch 012 — catalog-first ad experience. Only affects ads pages. */
.bf-ads-twelve .bf-ads-hero{min-height:128px}
.bf-ads-twelve .bf-ads-catalog{width:100%;padding:26px 28px}
.bf-ads-twelve .bf-ads-catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.bf-ads-twelve .bf-ads-overline{font-size:10px;color:#6d87b0;font-weight:850;letter-spacing:.12em}
.bf-ads-twelve .bf-ads-catalog-heading h2,.bf-ads-twelve .bf-ad-section-head h2{font-size:20px;letter-spacing:-.025em;margin:3px 0 5px;color:#17253d}
.bf-ads-twelve .bf-ads-catalog-heading p{font-size:12px;color:#8190a7;margin:0}
.bf-ads-twelve .bf-ads-mobile-create{display:none}
.bf-ads-twelve .bf-ads-search{display:flex;align-items:stretch;gap:10px;margin:0 0 20px}
.bf-ads-twelve .bf-ads-search-field{min-width:160px;flex:1}
.bf-ads-twelve .bf-ads-filter-field{flex:0 1 180px;min-width:145px}
.bf-ads-twelve .bf-ads-search input,.bf-ads-twelve .bf-ads-search select{width:100%;height:43px;margin:0}
.bf-ads-twelve .bf-ads-search>.btn{white-space:nowrap;min-height:43px}
.bf-ads-twelve .bf-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
.bf-ads-twelve .bf-ads-bulkbar{display:flex;align-items:center;gap:18px;min-height:52px;padding:9px 13px;border:1px solid #e0e9f8;background:#f5f8ff;border-radius:11px;margin-bottom:12px}
.bf-ads-twelve .bf-ads-select-all{display:inline-flex;align-items:center;gap:8px;color:#42577a;font-size:12px;cursor:pointer;white-space:nowrap}
.bf-ads-twelve .bf-ads-selected{color:#7890aa;font-size:12px;margin-right:auto}
.bf-ads-twelve .bf-ads-bulkbar .btn:disabled{opacity:.5;cursor:not-allowed}
.bf-ads-twelve input[type=checkbox]{width:16px;height:16px;accent-color:#3268ef;cursor:pointer}
.bf-ads-twelve .bf-ads-list{border:1px solid #e5ebf5;border-radius:14px;overflow:hidden;background:#fff}
.bf-ads-twelve .bf-ads-row{display:grid;grid-template-columns:19px 75px minmax(0,1fr) minmax(115px,145px) minmax(160px,195px);align-items:center;gap:15px;padding:17px 18px;border-bottom:1px solid #e9edf5}
.bf-ads-twelve .bf-ads-row:last-child{border-bottom:0}
.bf-ads-twelve .bf-ads-row:hover{background:#fbfcff}
.bf-ads-twelve .bf-ads-check{display:grid;place-items:center;margin:0}
.bf-ads-twelve .bf-ads-thumb{width:75px;height:75px;border-radius:11px;display:grid;place-items:center;overflow:hidden;background:#f0f4fb;border:1px solid #e0e9f7;text-decoration:none;color:#9fb3d2;font-size:30px}
.bf-ads-twelve .bf-ads-thumb img{width:100%;height:100%;object-fit:cover}
.bf-ads-twelve .bf-ads-main{min-width:0}
.bf-ads-twelve .bf-ads-title{font-size:14px;line-height:1.4;font-weight:800;display:block;color:#203756;text-decoration:none;overflow-wrap:anywhere}
.bf-ads-twelve .bf-ads-title:hover{color:#245ed9}
.bf-ads-twelve .bf-ads-subtitle{display:block;color:#7d8da2;font-size:11px;margin-top:5px;overflow-wrap:anywhere}
.bf-ads-twelve .bf-ads-main p{font-size:12px;line-height:1.55;color:#7b899e;margin:7px 0 0;overflow-wrap:anywhere}
.bf-ads-twelve .bf-ads-meta{align-self:center;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}
.bf-ads-twelve .bf-ads-meta strong{font-size:13px;color:#203552;overflow-wrap:anywhere}
.bf-ads-twelve .bf-ads-status{font-size:11px;font-weight:800;padding:5px 9px;border-radius:8px;white-space:nowrap}
.bf-ads-twelve .bf-ads-status.is-active{background:#eaf8ef;color:#167744}
.bf-ads-twelve .bf-ads-status.is-archived{background:#edf1f6;color:#65738a}
.bf-ads-twelve .bf-ads-row-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px;min-width:0}
.bf-ads-twelve .bf-ads-row-actions form{margin:0}
.bf-ads-twelve .bf-ads-row-actions .btn{min-height:32px;white-space:nowrap}
.bf-ads-twelve .bf-ads-pager{margin-top:18px}
.bf-ads-twelve .bf-ads-empty{text-align:center;padding:55px 16px;border:1px dashed #cfdcf0;border-radius:13px;background:#fbfcff}
.bf-ads-twelve .bf-ads-empty>span{display:block;font-size:45px;color:#a5b6d5}
.bf-ads-twelve .bf-ads-empty h3{margin:8px 0 6px;color:#243a57}
.bf-ads-twelve .bf-ads-empty p{font-size:13px;color:#7b8ca6;margin:0 0 17px}
.bf-ads-twelve .bf-ads-bottom-note{font-size:12px;color:#7988a0;margin:0}
.bf-ad-editor>.card{width:100%;max-width:940px;margin-left:auto;margin-right:auto}
.bf-ad-editor .bf-ad-editor-card{padding:27px 30px}
.bf-ad-editor .bf-ad-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:16px;border-bottom:1px solid #e9edf5;margin-bottom:20px}
.bf-ad-editor .bf-ad-section-head h2{margin:3px 0 0}
.bf-ad-editor .bf-ad-fields-hint,.bf-ad-editor .bf-ad-help{font-size:11px;color:#7c8fa8;font-weight:400}
.bf-ad-editor .bf-ad-required{color:#d54c5c;font-size:13px}
.bf-ad-editor .bf-ad-form>label{display:flex;flex-direction:column;gap:7px}
.bf-ad-editor .bf-ad-form textarea{min-height:190px;resize:vertical}
.bf-ad-editor .bf-ad-fields-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.55fr) minmax(0,1fr);gap:12px}
.bf-ad-editor .bf-ad-fields-row label{display:flex;flex-direction:column;gap:7px}
.bf-ad-editor .bf-ad-fields-row input{width:100%}
.bf-ad-editor .bf-ad-form-footer{display:flex;justify-content:flex-end;gap:10px;padding-top:18px;border-top:1px solid #edf1f8;margin-top:9px}
.bf-ad-editor .bf-ad-form-footer .btn{min-height:42px}
.bf-ad-editor .bf-ad-readonly{display:grid;gap:5px;padding:13px 16px;background:#f7f9ff;border:1px solid #e2e9f8;border-radius:11px}
.bf-ad-editor .bf-ad-readonly span,.bf-ad-editor .bf-ad-readonly small{font-size:11px;color:#8190a5}
.bf-ad-editor .bf-ad-readonly strong{color:#243c58;font-size:13px}
.bf-ad-editor .bf-ad-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:13px}
.bf-ad-editor .bf-ad-photo-item{min-width:0;display:grid;gap:8px}
.bf-ad-editor .bf-ad-photo-item a{aspect-ratio:1;display:block;overflow:hidden;border-radius:11px;border:1px solid #e4eaf3}
.bf-ad-editor .bf-ad-photo-item img{width:100%;height:100%;object-fit:cover}
.bf-ad-editor .bf-ad-photo-item form{margin:0}
.bf-ad-editor .bf-ad-photo-item button{width:100%}
.bf-ad-editor .bf-ad-action-row{display:flex;flex-wrap:wrap;gap:10px}
.bf-ad-editor .bf-ad-action-row form{margin:0}
.bf-ad-editor .bf-ad-publish-box{border-top:1px solid #e9edf5;padding-top:20px;margin-top:23px}
.bf-ad-editor .bf-ad-publish-box h3{margin:0 0 8px;font-size:15px;color:#253a59}
.bf-ad-editor .bf-ad-publish-box>p{margin:0 0 16px;font-size:12px;color:#7386a0}
.bf-ad-editor .bf-ad-publish-box select{max-width:440px}
.bf-ad-editor .bf-ad-publish-box button{align-self:flex-start}
@media(max-width:1180px){.bf-ads-twelve .bf-ads-row{grid-template-columns:19px 68px minmax(0,1fr) minmax(105px,125px);gap:12px}.bf-ads-twelve .bf-ads-thumb{width:68px;height:68px}.bf-ads-twelve .bf-ads-row-actions{grid-column:3/-1;justify-content:flex-start}}
@media(max-width:700px){.bf-ads-twelve .bf-ads-catalog{padding:17px}.bf-ads-twelve .bf-ads-search{flex-wrap:wrap}.bf-ads-twelve .bf-ads-search-field{flex:1 1 100%}.bf-ads-twelve .bf-ads-filter-field{flex:1 1 145px}.bf-ads-twelve .bf-ads-search>.btn{flex:1 0 auto}.bf-ads-twelve .bf-ads-bulkbar{gap:8px;flex-wrap:wrap}.bf-ads-twelve .bf-ads-selected{margin-right:auto}.bf-ads-twelve .bf-ads-bulkbar>button{width:100%}.bf-ads-twelve .bf-ads-row{grid-template-columns:19px 62px minmax(0,1fr);gap:10px;padding:14px 11px}.bf-ads-twelve .bf-ads-thumb{width:62px;height:62px}.bf-ads-twelve .bf-ads-meta{grid-column:3;flex-direction:row;align-items:center;flex-wrap:wrap}.bf-ads-twelve .bf-ads-row-actions{grid-column:2/-1;justify-content:flex-start}.bf-ads-twelve .bf-ads-main p{display:none}.bf-ad-editor .bf-ad-editor-card{padding:19px}.bf-ad-editor .bf-ad-fields-row{grid-template-columns:1fr}.bf-ad-editor .bf-ad-form-footer{flex-direction:column-reverse}.bf-ad-editor .bf-ad-form-footer .btn{width:100%}}
