/* ==========================================================================
   BPO2SA Buyers Guide — front-end styles
   One system for the registration form, directory, profile and Listing
   Options pages. Fonts are inherited from the theme (Varta / Varela);
   colours are the site's existing ink / amber / slate.
   ========================================================================== */

:root {
  --bg-ink: #1A1A1A;
  --bg-text: #2B2F3B;
  --bg-slate: #6E7191;
  --bg-mute: #8A90A3;
  --bg-amber: #F5A623;
  --bg-amber-dark: #DE951C;
  --bg-amber-soft: #FFF6E5;
  --bg-line: #E4E7EE;
  --bg-line-soft: #EFF1F5;
  --bg-panel: #F6F7FA;
  --bg-white: #fff;
  --bg-ok: #1F7A4F;
  --bg-ok-soft: #E8F5EE;
  --bg-err: #B3261E;
  --bg-err-soft: #FCEBEA;
  --bg-radius: 10px;
  --bg-radius-sm: 6px;
  --bg-shadow: 0 1px 2px rgba(20,24,36,.04), 0 8px 24px rgba(20,24,36,.06);
  --bg-shadow-lift: 0 2px 4px rgba(20,24,36,.05), 0 16px 36px rgba(20,24,36,.10);
  --bg-focus: 0 0 0 3px rgba(245,166,35,.28);
}

/* --------------------------------------------------------------------------
   Shared components
   -------------------------------------------------------------------------- */

.bpo2sa-badge { display:inline-flex; align-items:center; justify-content:center; height:24px; box-sizing:border-box; padding:0 12px 1px; margin:0; border-radius:999px; font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size:11px; font-weight:700; letter-spacing:.8px; text-transform:uppercase; line-height:1; }
.bpo2sa-badge--premium { background:var(--bg-amber); color:var(--bg-ink); }
.bpo2sa-badge--free { background:#EDEFF4; color:#4A4F60; }

.bpo2sa-logo { display:flex; align-items:center; justify-content:center; background:var(--bg-white); border:1px solid var(--bg-line); border-radius:var(--bg-radius); overflow:hidden; padding:4px; box-sizing:border-box; }
.bpo2sa-logo__img { width:100%; height:100%; object-fit:contain; display:block; }
.bpo2sa-logo--mono { background:linear-gradient(160deg,#F3F4F7,#E9EBF1); border-color:#E3E6ED; color:#9AA0B3; font-weight:700; padding:0; }

.bpo2sa-chips { display:flex; flex-wrap:wrap; gap:6px; }
.bpo2sa-chip { display:inline-flex; align-items:center; height:28px; box-sizing:border-box; padding:2px 11px 0; font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size:12.5px; line-height:1; color:#4A4F60; background:var(--bg-panel); border:1px solid var(--bg-line-soft); border-radius:999px; white-space:nowrap; }
.bpo2sa-chip--more { background:transparent; border-color:var(--bg-line); color:var(--bg-mute); }

.bpo2sa-btn { display:inline-block; background:var(--bg-amber); color:var(--bg-ink) !important; font-weight:700; letter-spacing:.5px; padding:14px 28px; border-radius:var(--bg-radius-sm); text-decoration:none !important; border:0; cursor:pointer; transition:background .15s ease, transform .15s ease, box-shadow .15s ease; }
.bpo2sa-btn:hover { background:var(--bg-amber-dark); transform:translateY(-1px); box-shadow:0 6px 16px rgba(245,166,35,.3); }
.bpo2sa-btn--dark { background:var(--bg-ink); color:#fff !important; }
.bpo2sa-btn--dark:hover { background:#333; box-shadow:0 6px 16px rgba(0,0,0,.18); }

/* --------------------------------------------------------------------------
   Directory: filter bar and grid
   -------------------------------------------------------------------------- */

.bpo2sa-filters { display:flex; flex-wrap:wrap; align-items:stretch; gap:10px; margin:0 0 28px; padding:14px; background:var(--bg-panel); border:1px solid var(--bg-line-soft); border-radius:var(--bg-radius); }
.bpo2sa-filters__field { flex:1 1 160px; min-width:0; }
.bpo2sa-filters__field--search { flex:2 1 220px; }
.bpo2sa-filters input[type=search], .bpo2sa-filters select { width:100%; box-sizing:border-box; height:48px; padding:0 14px; font-size:15px; border:1px solid var(--bg-line); border-radius:var(--bg-radius-sm); background:var(--bg-white); color:var(--bg-ink); transition:border-color .15s ease, box-shadow .15s ease; }
.bpo2sa-filters select { appearance:none; -webkit-appearance:none; padding-right:38px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236E7191' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; }
.bpo2sa-filters input[type=search]:focus, .bpo2sa-filters select:focus { outline:none; border-color:var(--bg-amber); box-shadow:var(--bg-focus); }
.bpo2sa-filters__actions { display:flex; align-items:center; gap:14px; flex:0 0 auto; }
.bpo2sa-filters__submit { height:48px; padding:0 28px; border:0; border-radius:var(--bg-radius-sm); cursor:pointer; background:var(--bg-amber); color:var(--bg-ink); font-weight:700; letter-spacing:.5px; font-size:14px; transition:background .15s ease; }
.bpo2sa-filters__submit:hover { background:var(--bg-amber-dark); }
.bpo2sa-filters__clear { color:var(--bg-slate); font-size:14px; text-decoration:underline; }

.bpo2sa-grid__count { color:var(--bg-slate); font-size:14px; margin:-14px 0 18px; }
.bpo2sa-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:22px; }
.bpo2sa-card { position:relative; display:flex; flex-direction:column; background:var(--bg-white); border:1px solid var(--bg-line); border-radius:var(--bg-radius); padding:22px 20px 18px; text-decoration:none !important; color:var(--bg-ink); box-shadow:var(--bg-shadow); transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.bpo2sa-card:hover { box-shadow:var(--bg-shadow-lift); transform:translateY(-3px); color:var(--bg-ink); }
.bpo2sa-card--premium { border-top:3px solid var(--bg-amber); }
.bpo2sa-card--free { border-top:3px solid #DCE0E8; }
.bpo2sa-card__badge { position:absolute; top:16px; right:16px; }
.bpo2sa-card__logo { width:138px; height:92px; margin-bottom:16px; } /* 3:2 - long wordmarks get room */
.bpo2sa-card__logo.bpo2sa-logo--mono span { font-size:32px; }
.bpo2sa-card__name { display:block; font-size:1.08em; line-height:1.3; margin-bottom:4px; font-weight:700; }
.bpo2sa-card__entity { display:block; font-size:11.5px; line-height:1.3; letter-spacing:.6px; text-transform:uppercase; color:var(--bg-mute); margin-bottom:10px; font-weight:600; }
.bpo2sa-card__tagline { font-size:.92em; line-height:1.55; color:#4A4F60; margin:0 0 14px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.bpo2sa-card__caps { margin-bottom:14px; }
.bpo2sa-card__country { margin-top:auto; font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size:13px; line-height:1; color:var(--bg-slate); padding-top:12px; border-top:1px solid var(--bg-line-soft); display:flex; align-items:center; gap:6px; }
.bpo2sa-card__country::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--bg-amber); flex:0 0 6px; }
.bpo2sa-grid__empty { color:var(--bg-slate); padding:32px; text-align:center; background:var(--bg-panel); border-radius:var(--bg-radius); }
.bpo2sa-pagination { margin:34px 0 0; padding-bottom:64px; text-align:center; }
.bpo2sa-pagination .page-numbers { display:inline-block; min-width:40px; height:40px; line-height:40px; padding:0 10px; margin:0 3px; background:var(--bg-white); border:1px solid var(--bg-line); border-radius:var(--bg-radius-sm); color:var(--bg-ink); text-decoration:none !important; font-weight:600; font-size:14px; text-align:center; transition:all .15s ease; }
.bpo2sa-pagination .page-numbers:hover, .bpo2sa-pagination .page-numbers.current { background:var(--bg-amber); border-color:var(--bg-amber); color:var(--bg-ink); }
.bpo2sa-pagination .page-numbers.dots { border:none; background:none; }
/* The directory page's Elementor container has no side padding, so give the
   directory itself a fluid gutter: 16px on phones, up to 32px on desktop. */
.elementor-element-dg001aa { padding-left:clamp(16px, 2.5vw, 32px); padding-right:clamp(16px, 2.5vw, 32px); padding-bottom:48px; box-sizing:border-box; }
.elementor-element-dg001aa h1 { font-size:34px; line-height:1.2; padding-top:30px; margin-top:0; }
@media (max-width:1024px) { .bpo2sa-grid { grid-template-columns:repeat(2, 1fr); } }
@media (max-width:767px) {
  .bpo2sa-filters { flex-direction:column; gap:8px; padding:12px; }
  .bpo2sa-filters__field, .bpo2sa-filters__field--search { flex:0 0 auto; }
  .bpo2sa-filters__actions { justify-content:space-between; }
  .bpo2sa-filters__submit { flex:1; }
  .elementor-element-dg001aa h1 { font-size:26px; padding-top:20px; }
}
@media (max-width:640px) { .bpo2sa-grid { grid-template-columns:1fr; } }

/* --------------------------------------------------------------------------
   Company profile
   -------------------------------------------------------------------------- */

.bpo2sa-profile { max-width:1140px; margin:0 auto; padding:8px 20px 72px; color:var(--bg-ink); }
.bpo2sa-profile__head { display:flex; gap:32px; align-items:flex-start; padding:32px 36px; margin:0 0 36px; background:var(--bg-panel); border:1px solid var(--bg-line-soft); border-radius:var(--bg-radius); }
.bpo2sa-profile__logo { width:216px; height:144px; flex:0 0 216px; box-shadow:var(--bg-shadow); }
.bpo2sa-profile__logo.bpo2sa-logo--mono span { font-size:56px; }
.bpo2sa-profile__id { min-width:0; }
.bpo2sa-profile__badges { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.bpo2sa-profile__entity { font-size:12px; letter-spacing:.6px; text-transform:uppercase; color:var(--bg-mute); font-weight:600; }
.bpo2sa-profile__name { font-size:2.1em; line-height:1.12; margin:0 0 12px; text-wrap:balance; }
.bpo2sa-profile__tagline { font-size:1.12em; line-height:1.55; color:#4A4F60; margin:0 0 16px; max-width:70ch; }
.bpo2sa-profile__meta { display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; color:var(--bg-slate); font-size:.95em; }
.bpo2sa-profile__meta > span:first-child:not(.bpo2sa-chips) { font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size:13px; line-height:1; font-weight:600; color:var(--bg-text); display:flex; align-items:center; gap:6px; }
.bpo2sa-profile__meta > span:first-child:not(.bpo2sa-chips)::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--bg-amber); }
.bpo2sa-profile__body { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:44px; align-items:start; }
.bpo2sa-facts { display:grid; grid-template-columns:repeat(auto-fit, minmax(170px,1fr)); gap:0; margin:0 0 36px; background:var(--bg-white); border:1px solid var(--bg-line); border-radius:var(--bg-radius); overflow:hidden; }
.bpo2sa-facts div { margin:0; padding:18px 22px; border-right:1px solid var(--bg-line-soft); border-bottom:1px solid var(--bg-line-soft); }
.bpo2sa-facts dt { font-size:11.5px; letter-spacing:.6px; text-transform:uppercase; color:var(--bg-mute); margin:0 0 6px; font-weight:600; }
.bpo2sa-facts dd { margin:0; font-weight:600; color:var(--bg-ink); min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bpo2sa-facts dd a { color:var(--bg-ink); text-decoration:underline; text-decoration-color:var(--bg-amber); text-underline-offset:3px; }
.bpo2sa-facts dd.bpo2sa-facts__social { display:flex; flex-wrap:wrap; gap:3px; white-space:normal; overflow:visible; margin-top:-2px; }
.bpo2sa-facts dd a.bpo2sa-social { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; box-sizing:border-box; border-radius:50%; border:1px solid var(--bg-line); color:var(--bg-ink); text-decoration:none; transition:background .15s ease, border-color .15s ease; }
.bpo2sa-facts dd a.bpo2sa-social:hover, .bpo2sa-facts dd a.bpo2sa-social:focus-visible { background:var(--bg-amber); border-color:var(--bg-amber); }
.bpo2sa-social svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
@media (max-width:600px) { .bpo2sa-facts dd a.bpo2sa-social { width:36px; height:36px; } .bpo2sa-facts dd.bpo2sa-facts__social { gap:8px; } .bpo2sa-social svg { width:17px; height:17px; } }
.bpo2sa-profile__about h2, .bpo2sa-contact h2, .bpo2sa-upgrade h2 { font-size:1.2em; margin:0 0 14px; }
.bpo2sa-profile__about { line-height:1.75; color:#333; max-width:72ch; }
.bpo2sa-profile__about p { margin:0 0 1em; }
.bpo2sa-profile__about ul, .bpo2sa-profile__about ol { margin:0 0 1em 1.3em; }
.bpo2sa-profile__freenote { color:var(--bg-slate); line-height:1.6; max-width:60ch; padding:20px 22px; background:var(--bg-panel); border:1px solid var(--bg-line-soft); border-radius:var(--bg-radius); }
.bpo2sa-contact, .bpo2sa-upgrade { background:var(--bg-white); border:1px solid var(--bg-line); border-radius:var(--bg-radius); padding:24px 26px; box-shadow:var(--bg-shadow); position:sticky; top:100px; }
.bpo2sa-contact { border-top:4px solid var(--bg-amber); }
.bpo2sa-contact p { margin:0 0 10px; }
.bpo2sa-contact__name { font-weight:700; font-size:1.05em; }
.bpo2sa-contact__name span { display:block; font-weight:400; color:var(--bg-slate); font-size:.9em; margin-top:2px; }
.bpo2sa-contact a { color:var(--bg-ink); text-decoration:underline; text-decoration-color:var(--bg-amber); text-underline-offset:3px; word-break:break-word; }
.bpo2sa-upgrade { border-top:4px solid var(--bg-ink); }
.bpo2sa-upgrade p { color:#4A4F60; line-height:1.55; margin:0 0 18px; }
.bpo2sa-upgrade__btn { display:inline-block; background:var(--bg-amber); color:var(--bg-ink) !important; font-weight:700; letter-spacing:.5px; padding:12px 22px; border-radius:var(--bg-radius-sm); text-decoration:none !important; }
.bpo2sa-upgrade__btn:hover { background:var(--bg-amber-dark); }
.bpo2sa-profile__back { display:inline-block; margin-top:22px; color:var(--bg-slate); font-size:.95em; }
@media (max-width:860px) {
  .bpo2sa-profile__body { grid-template-columns:1fr; gap:28px; }
  .bpo2sa-profile__head { flex-direction:column; gap:18px; padding:24px 22px; }
  .bpo2sa-profile__logo { width:150px; height:100px; flex-basis:150px; }
  .bpo2sa-profile__name { font-size:1.6em; }
  .bpo2sa-contact, .bpo2sa-upgrade { position:static; }
}

/* --------------------------------------------------------------------------
   Registration form (ACF front-end form)
   -------------------------------------------------------------------------- */

/* The Register page's Elementor column carries its own white box; the form card replaces it. */
.elementor-element-7063a7a > .elementor-widget-wrap { background:transparent !important; box-shadow:none !important; padding:0 clamp(16px, 2.5vw, 32px) !important; }

.acf-form { max-width:860px; margin:0 auto; background:var(--bg-white); border:1px solid var(--bg-line); border-radius:14px; box-shadow:var(--bg-shadow); padding:40px 44px 36px; box-sizing:border-box; }
.acf-form .acf-fields > .acf-field { border:0; padding:0 0 26px; margin:0; }
.acf-form .acf-fields > .acf-field:last-of-type { padding-bottom:8px; }
.acf-form .acf-label label { font-size:15px; font-weight:700; color:var(--bg-ink); margin:0 0 6px; display:block; }
.acf-form .acf-required { color:var(--bg-amber-dark); margin-left:2px; }
.acf-form .acf-label .description, .acf-form .acf-input .description { font-size:14px; color:var(--bg-slate); line-height:1.5; margin:-2px 0 10px; }

/* inputs */
.acf-form .acf-input input[type=text], .acf-form .acf-input input[type=email], .acf-form .acf-input input[type=url], .acf-form .acf-input input[type=number], .acf-form .acf-input input[type=tel], .acf-form .acf-input textarea, .acf-form .acf-input select {
  width:100%; box-sizing:border-box; min-height:50px; padding:12px 16px; font-size:16px; line-height:1.4; color:var(--bg-ink);
  background:#FBFBFC; border:1px solid #D9DDE6; border-radius:8px; box-shadow:none; transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.acf-form .acf-input input:focus, .acf-form .acf-input textarea:focus, .acf-form .acf-input select:focus { outline:none; background:#fff; border-color:var(--bg-amber); box-shadow:var(--bg-focus); }
.acf-form .acf-input select { appearance:none; -webkit-appearance:none; padding-right:44px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236E7191' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 16px center; }
.acf-form .acf-input ::placeholder { color:#A6ABBA; }
.acf-form .acf-input-wrap { overflow:visible; }

/* phone fields: country-code picker + number (assets/js/phone-numbers.js) */
.acf-form .bgp-phone { display:flex; gap:10px; }
.acf-form .bgp-code { position:relative; flex:0 0 112px; display:flex; align-items:center; box-sizing:border-box; min-height:50px; padding:0 34px 0 16px; font-size:16px; font-weight:600; color:var(--bg-ink); background:#FBFBFC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236E7191' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; border:1px solid #D9DDE6; border-radius:8px; white-space:nowrap; transition:border-color .15s ease, box-shadow .15s ease; }
.acf-form .bgp-code:focus-within { border-color:var(--bg-amber); box-shadow:var(--bg-focus); background-color:#fff; }
.acf-form .acf-input .bgp-code select { position:absolute; inset:0; width:100%; height:100%; min-height:0; margin:0; padding:0; opacity:0; cursor:pointer; font-size:16px; }
.acf-form .acf-input .bgp-number { flex:1 1 auto; min-width:0; }

/* social media links: two per row */
.acf-form .acf-fields > .acf-field.bpo2sa-social-field { float:left; clear:none; width:50%; box-sizing:border-box; }
.acf-form .acf-fields > .acf-field[data-name="linkedin_page"], .acf-form .acf-fields > .acf-field[data-name="x_profile"], .acf-form .acf-fields > .acf-field[data-name="youtube_channel"] { padding-right:10px; clear:left; }
.acf-form .acf-fields > .acf-field[data-name="facebook_page"], .acf-form .acf-fields > .acf-field[data-name="instagram_profile"], .acf-form .acf-fields > .acf-field[data-name="tiktok_profile"] { padding-left:10px; }
.acf-form .acf-fields > .acf-field.bpo2sa-social-field + .acf-field:not(.bpo2sa-social-field) { clear:both; }
@media (max-width:600px) { .acf-form .acf-fields > .acf-field.bpo2sa-social-field { float:none; width:auto; padding-left:0; padding-right:0; } }

/* select2 (country) */
.acf-form .select2-container--default .select2-selection--single { min-height:50px; border:1px solid #D9DDE6; border-radius:8px; background:#FBFBFC; display:flex; align-items:center; padding:0 6px; }
.acf-form .select2-container--default .select2-selection--single .select2-selection__rendered { font-size:16px; color:var(--bg-ink); line-height:1.4; padding-left:10px; }
.acf-form .select2-container--default .select2-selection--single .select2-selection__arrow { height:48px; right:10px; }
.acf-form .select2-container--default.select2-container--focus .select2-selection--single, .acf-form .select2-container--default.select2-container--open .select2-selection--single { border-color:var(--bg-amber); box-shadow:var(--bg-focus); background:#fff; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background:var(--bg-amber) !important; color:var(--bg-ink) !important; }
.select2-dropdown { border-color:#D9DDE6 !important; border-radius:8px !important; overflow:hidden; }

/* listing type: two selectable tiles (ACF's clearfix pseudo-elements would otherwise occupy grid cells) */
.acf-form .acf-field-6978605decb45 .acf-radio-list { display:grid; grid-template-columns:1fr 1fr; gap:14px; padding:0; margin:4px 0 0; }
.acf-form .acf-field-6978605decb45 .acf-radio-list::before, .acf-form .acf-field-6978605decb45 .acf-radio-list::after { display:none; content:none; }
.acf-form .acf-field-6978605decb45 .acf-radio-list li { margin:0; }
.acf-form .acf-field-6978605decb45 .acf-radio-list label { display:flex; align-items:center; gap:14px; padding:18px 20px; border:2px solid #DDE1E9; border-radius:10px; background:#FBFBFC; font-size:16px; font-weight:600; color:var(--bg-ink); cursor:pointer; transition:border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.acf-form .acf-field-6978605decb45 .acf-radio-list label:hover { border-color:#C9CFDB; background:#fff; }
.acf-form .acf-field-6978605decb45 .acf-radio-list label.selected { border-color:var(--bg-amber); background:var(--bg-amber-soft); box-shadow:0 0 0 3px rgba(245,166,35,.18); }
.acf-form .acf-field-6978605decb45 .acf-radio-list input[type=radio] { width:20px; height:20px; margin:0; accent-color:var(--bg-amber-dark); flex:0 0 20px; }
@media (max-width:600px) { .acf-form .acf-field-6978605decb45 .acf-radio-list { grid-template-columns:1fr; } }

/* capabilities: grouped checklist */
.acf-form .acf-taxonomy-field .categorychecklist-holder { border:1px solid #D9DDE6; border-radius:8px; background:#FBFBFC; padding:14px 18px; max-height:none; overflow:visible; }
.acf-form .acf-taxonomy-field .categorychecklist-holder > ul { margin:0; padding:0; }
.acf-form .acf-taxonomy-field .categorychecklist-holder > ul > li { list-style:none; margin:0 0 12px; }
.acf-form .acf-taxonomy-field .categorychecklist-holder > ul > li:last-child { margin-bottom:0; }
.acf-form .acf-taxonomy-field .categorychecklist-holder > ul > li > label { font-weight:700; font-size:14.5px; display:inline-flex; align-items:center; gap:10px; }
.acf-form .acf-taxonomy-field .categorychecklist-holder ul ul { display:grid; grid-template-columns:repeat(auto-fill, minmax(190px, 1fr)); gap:6px 16px; margin:8px 0 4px 30px; padding:0; }
.acf-form .acf-taxonomy-field .categorychecklist-holder ul::before, .acf-form .acf-taxonomy-field .categorychecklist-holder ul::after { display:none; content:none; }
.acf-form .acf-taxonomy-field .categorychecklist-holder ul ul li { list-style:none; margin:0; }
.acf-form .acf-taxonomy-field .categorychecklist-holder ul ul label { font-weight:400; font-size:15px; display:inline-flex; align-items:center; gap:10px; color:var(--bg-text); }
.acf-form .acf-taxonomy-field input[type=checkbox] { width:18px; height:18px; margin:0; accent-color:var(--bg-amber-dark); flex:0 0 18px; }
.acf-form .bpo2sa-cap-hint { margin:0 0 10px; font-size:14px; color:var(--bg-slate); }
.acf-form .bpo2sa-cap-hint strong { color:var(--bg-ink); }

/* section headings (message fields) */
.acf-form .acf-fields > .acf-field-message { padding:34px 0 18px; margin-top:8px; border-top:1px solid var(--bg-line-soft); }
.acf-form .acf-field-message .acf-label label { font-size:12px; letter-spacing:1.2px; text-transform:uppercase; color:var(--bg-amber-dark); margin-bottom:6px; }
.acf-form .acf-field-message .acf-input { font-size:15px; color:var(--bg-slate); line-height:1.5; }
.acf-form .acf-field-message .acf-input p { margin:0; }

/* logo upload */
.acf-form .acf-image-uploader.has-value { display:none; }
.acf-form .acf-image-uploader .hide-if-value { display:block; }
.acf-form .acf-image-uploader input[type=file] { width:100%; box-sizing:border-box; padding:14px 16px; border:2px dashed #CDD2DD; border-radius:10px; background:#FBFBFC; font-size:14px; color:var(--bg-slate); cursor:pointer; }
.acf-form .acf-image-uploader input[type=file]:hover { border-color:var(--bg-amber); background:#fff; }
.acf-form .acf-image-uploader input[type=file]::file-selector-button { background:var(--bg-ink); color:#fff; border:0; border-radius:6px; padding:9px 16px; font-weight:600; margin-right:14px; cursor:pointer; }
.acf-form .acf-image-uploader input[type=file]::file-selector-button:hover { background:#333; }
.acf-form .acf-image-uploader .image-wrap { border-radius:10px; overflow:hidden; border:1px solid var(--bg-line); }

/* description editor */
.acf-form .acf-editor-wrap { border:1px solid #D9DDE6; border-radius:8px; overflow:hidden; background:#fff; }
.acf-form .acf-editor-wrap .wp-editor-container { border:0; }
.acf-form .acf-editor-wrap .mce-toolbar-grp, .acf-form .acf-editor-wrap .mce-top-part { background:#F6F7FA; border-bottom:1px solid var(--bg-line-soft); }
.acf-form .acf-editor-wrap .mce-btn button { color:var(--bg-text); }
.acf-form .acf-editor-wrap .wp-editor-tabs { display:none; }
.acf-form .bpo2sa-wc { text-align:right; margin:8px 0 0; font-size:13px; }

/* validation & messages */
.acf-form .acf-field.acf-error input, .acf-form .acf-field.acf-error select, .acf-form .acf-field.acf-error textarea, .acf-form .acf-field.acf-error .categorychecklist-holder { border-color:var(--bg-err); }
.acf-form .acf-error-message, .acf-form .acf-notice.-error { background:var(--bg-err-soft); border:1px solid #F3C4C0; color:var(--bg-err); border-radius:8px; padding:12px 16px; margin:0 0 18px; }
.acf-form .acf-error-message p { margin:0; }
.acf-form .acf-field .acf-error-message { margin:8px 0 0; padding:8px 12px; font-size:14px; }
.acf-form .acf-notice.-success, .acf-form .acf-notice.-success p, .updated { background:var(--bg-ok-soft); border:1px solid #BFE3CC; color:var(--bg-ok); border-radius:8px; padding:12px 16px; }

/* submit */
.acf-form .acf-form-submit { margin-top:12px; padding-top:26px; border-top:1px solid var(--bg-line-soft); display:flex; align-items:center; gap:14px; }
.acf-form .acf-form-submit .acf-button { width:100%; min-height:56px; background:var(--bg-amber); color:var(--bg-ink); font-weight:700; letter-spacing:.8px; font-size:15px; border:0; border-radius:8px; box-shadow:none; text-shadow:none; cursor:pointer; transition:background .15s ease, transform .15s ease, box-shadow .15s ease; }
.acf-form .acf-form-submit .acf-button:hover { background:var(--bg-amber-dark); transform:translateY(-1px); box-shadow:0 8px 20px rgba(245,166,35,.32); color:var(--bg-ink); }
.acf-form .acf-form-submit .acf-button:disabled { opacity:.6; transform:none; box-shadow:none; }

@media (max-width:640px) {
  .acf-form { padding:24px 18px; border-radius:10px; }
  .acf-form .acf-taxonomy-field .categorychecklist-holder ul ul { margin-left:22px; grid-template-columns:1fr; }
}

/* --------------------------------------------------------------------------
   Listing Options page
   -------------------------------------------------------------------------- */

.bpo2sa-lo { max-width:1140px; margin:0 auto; padding:56px 20px 72px; color:var(--bg-ink); }
.bpo2sa-lo h1 { font-size:2.5em; line-height:1.12; margin:0 auto 18px; max-width:22ch; text-wrap:balance; }
.bpo2sa-lo h2 { font-size:1.65em; margin:0 0 22px; text-align:center; }
.bpo2sa-lo h3 { font-size:1.12em; margin:0 0 10px; }
.bpo2sa-lo section { margin-bottom:68px; }
.bpo2sa-lo__hero { text-align:center; }
.bpo2sa-lo__eyebrow { font-size:12px; font-weight:700; letter-spacing:1.6px; text-transform:uppercase; color:var(--bg-amber-dark); margin:0 0 14px; }
.bpo2sa-lo__lead { font-size:1.12em; line-height:1.65; color:#4A4F60; max-width:64ch; margin:0 auto 14px; }
.bpo2sa-lo__tiers { display:grid; grid-template-columns:1fr 1fr; gap:26px; align-items:start; }
.bpo2sa-lo__tier { position:relative; background:var(--bg-white); border:1px solid var(--bg-line); border-radius:14px; padding:34px 30px 30px; box-shadow:var(--bg-shadow); }
.bpo2sa-lo__tier--premium { border-color:var(--bg-amber); box-shadow:0 10px 32px rgba(245,166,35,.16); }
.bpo2sa-lo__badge { display:inline-flex; align-items:center; justify-content:center; height:24px; box-sizing:border-box; padding:0 12px 1px; margin:0; border-radius:999px; font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size:11px; font-weight:700; letter-spacing:.8px; text-transform:uppercase; line-height:1; }
.bpo2sa-lo__badge--free { background:#EDEFF4; color:#4A4F60; }
.bpo2sa-lo__badge--premium { background:var(--bg-amber); color:var(--bg-ink); }
.bpo2sa-lo__price { font-size:2.1em; font-weight:700; margin:16px 0 10px; line-height:1.1; }
.bpo2sa-lo__price span { display:block; font-size:.42em; font-weight:500; color:var(--bg-slate); margin-top:6px; }
.bpo2sa-lo__includes { font-weight:700; margin:20px 0 8px; }
.bpo2sa-lo__tier ul { margin:0 0 20px 20px; padding:0; color:#4A4F60; line-height:1.65; }
.bpo2sa-lo__note { color:var(--bg-slate); font-size:.95em; }
.bpo2sa-lo a.bpo2sa-lo__btn, .bpo2sa-lo a.bpo2sa-lo__btn:hover, .bpo2sa-lo a.bpo2sa-lo__btn:focus { text-decoration:none !important; }
.bpo2sa-lo__btn { display:inline-block; background:var(--bg-amber); color:var(--bg-ink); font-weight:700; letter-spacing:.5px; padding:14px 28px; border-radius:8px; transition:background .15s ease, transform .15s ease, box-shadow .15s ease; }
.bpo2sa-lo__btn:hover { background:var(--bg-amber-dark); color:var(--bg-ink); transform:translateY(-1px); box-shadow:0 8px 20px rgba(245,166,35,.3); }
.bpo2sa-lo__btn--secondary { background:var(--bg-ink); color:#fff; }
.bpo2sa-lo__btn--secondary:hover { background:#333; color:#fff; box-shadow:0 8px 20px rgba(0,0,0,.18); }
.bpo2sa-lo__tier .bpo2sa-lo__btn { display:block; text-align:center; margin-top:8px; }
.bpo2sa-lo__tablewrap { overflow-x:auto; border:1px solid var(--bg-line); border-radius:12px; background:var(--bg-white); box-shadow:var(--bg-shadow); }
.bpo2sa-lo table { width:100%; border-collapse:collapse; min-width:520px; }
.bpo2sa-lo th, .bpo2sa-lo td { padding:14px 20px; border-bottom:1px solid var(--bg-line-soft); text-align:left; }
.bpo2sa-lo th { font-size:11.5px; letter-spacing:1px; text-transform:uppercase; color:var(--bg-slate); background:var(--bg-panel); }
.bpo2sa-lo th:nth-child(n+2), .bpo2sa-lo td:nth-child(n+2) { text-align:center; width:22%; }
.bpo2sa-lo td:nth-child(n+2) { color:var(--bg-ink); font-weight:600; }
.bpo2sa-lo tbody tr:last-child td { border-bottom:0; }
.bpo2sa-lo__pricerow td { background:var(--bg-amber-soft); font-weight:700; }
.bpo2sa-lo__cols { display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.bpo2sa-lo__cols > div { background:var(--bg-panel); border:1px solid var(--bg-line-soft); border-radius:12px; padding:24px 26px; }
.bpo2sa-lo ol { margin:0 0 0 20px; padding:0; line-height:1.75; color:#4A4F60; }
.bpo2sa-lo__how .bpo2sa-lo__note { text-align:center; margin-top:18px; }
.bpo2sa-lo__know p { max-width:70ch; line-height:1.65; color:#4A4F60; margin:0 auto 12px; }
.bpo2sa-lo__know strong, .bpo2sa-lo__tier strong { color:var(--bg-ink); }
.bpo2sa-lo__cta { text-align:center; background:var(--bg-ink); color:#fff; border-radius:14px; padding:52px 24px; }
.bpo2sa-lo__cta h2 { color:#fff; }
.bpo2sa-lo__actions { display:flex; justify-content:center; gap:14px; flex-wrap:wrap; }
.bpo2sa-lo__cta .bpo2sa-lo__btn--secondary { background:#fff; color:var(--bg-ink); }
@media (max-width:820px) {
  .bpo2sa-lo { padding-top:32px; }
  .bpo2sa-lo h1 { font-size:1.9em; }
  .bpo2sa-lo__tiers, .bpo2sa-lo__cols { grid-template-columns:1fr; }
  .bpo2sa-lo section { margin-bottom:44px; }
}

/* Company page wrapper and breadcrumb (templates/single-company.php) */
.bpo2sa-single { width: 100%; padding-top: 40px; box-sizing: border-box; }
/* Same width and 20px inset as .bpo2sa-profile, so it lines up with the cards. */
.bpo2sa-crumbs { display: flex; align-items: center; gap: 8px; max-width: 1140px; margin: 0 auto 10px; padding: 0 20px; box-sizing: border-box; font-size: 14px; color: var(--bg-slate); }
.bpo2sa-crumbs a { color: var(--bg-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--bg-amber); text-underline-offset: 3px; }
.bpo2sa-crumbs__sep { color: var(--bg-mute); }

/* --------------------------------------------------------------------------
   Logo cropping window (assets/js/logo-cropper.js)
   -------------------------------------------------------------------------- */
html.bgc-lock, html.bgc-lock body { overflow: hidden; }
.bgc-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(14,18,32,.72); }
.bgc-modal.is-open { display: flex; }
.bgc-dialog { width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.35); display: flex; flex-direction: column; }
.bgc-head { padding: 22px 24px 12px; }
.bgc-head h3 { margin: 0 0 6px; font-size: 1.25rem; color: var(--bg-ink); }
.bgc-head p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--bg-slate); }
.bgc-stage { height: min(56vh, 380px); margin: 8px 24px 0; border-radius: 10px; overflow: hidden; background: var(--bg-panel); }
.bgc-stage img { display: block; max-width: 100%; }
.bgc-stage .cropper-view-box { outline: 2px solid var(--bg-amber); outline-color: var(--bg-amber); border-radius: 2px; }
.bgc-stage .cropper-modal { background: #0E1220; opacity: .55; }
.bgc-tools { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 24px 4px; }
/* The theme styles every <button>; reset that inside the cropping window. */
.bgc-modal button, .bgc-picked button { font-family: inherit !important; text-transform: none !important; letter-spacing: 0 !important; line-height: 1 !important; box-shadow: none; }
.bgc-tool { min-width: 40px; height: 36px; padding: 0 12px !important; border: 1px solid var(--bg-line) !important; border-radius: 8px !important; background: #fff !important; color: var(--bg-ink) !important; font-size: 20px !important; font-weight: 600 !important; cursor: pointer; }
.bgc-tool--text { font-size: 13.5px !important; }
.bgc-tool:hover { border-color: var(--bg-amber); }
.bgc-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px 22px; }
.bgc-btn { height: 44px; padding: 0 22px !important; border: 1px solid var(--bg-amber) !important; border-radius: 8px !important; background: var(--bg-amber) !important; color: var(--bg-ink) !important; font-weight: 700 !important; font-size: 15px !important; cursor: pointer; }
.bgc-btn--ghost { background: #fff !important; border-color: var(--bg-line) !important; }
.bgc-btn:focus-visible, .bgc-tool:focus-visible { box-shadow: var(--bg-focus); outline: none; }
/* After cropping: the result as it will appear */
.bgc-picked:empty { display: none; }
.bgc-picked { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.bgc-picked__thumb { width: 138px; height: 92px; flex: 0 0 138px; border: 1px solid var(--bg-line); border-radius: var(--bg-radius); background: #fff; padding: 4px; box-sizing: border-box; }
.bgc-picked__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.bgc-picked__text { display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--bg-slate); }
.bgc-picked__text strong { color: var(--bg-ink); }
.bgc-link { align-self: flex-start; margin-top: 4px; padding: 0 !important; border: 0 !important; background: none !important; color: var(--bg-ink) !important; font-weight: 600; text-decoration: underline; text-decoration-color: var(--bg-amber); text-underline-offset: 3px; cursor: pointer; font-size: 14px !important; }
.bgc-error { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--bg-err-soft); color: var(--bg-err); font-size: 14px; }
