/* WBS-HEADER-COLORS */
/* Top bar: white, black icons and text */
header.wgs-new-header-top-latest { background: #fff !important; border-bottom: 1px solid #e6e6e6; }
header.wgs-new-header-top-latest a,
header.wgs-new-header-top-latest i,
header.wgs-new-header-top-latest .telephoneanchor { color: #000 !important; }
header.wgs-new-header-top-latest a:hover,
header.wgs-new-header-top-latest a:hover i { color: #f5a800 !important; }

/* Menu bar: black like the logo background */
.container-custom-header-hostx-wrapper,
.container-custom-header-hostx-wrapper nav.top-mega-menu-latest-cls { background: #000 !important; }
nav.top-mega-menu-latest-cls { border-top: 0 !important; border-bottom: 0 !important; box-shadow: none !important; }
.top-menu-ul-header-latest > li > a.top-menu-parent,
.top-menu-ul-header-latest > li > a.top-menu-parent i,
.container-custom-header-hostx-wrapper .languageDiv,
.container-custom-header-hostx-wrapper .languageDiv a,
.container-custom-header-hostx-wrapper .languageDiv i,
.container-custom-header-hostx-wrapper li.country-list-menu-btn > a,
.container-custom-header-hostx-wrapper li.country-list-menu-btn > a i { color: #fff !important; }
.top-menu-ul-header-latest > li > a.top-menu-parent:hover,
.top-menu-ul-header-latest > li > a.top-menu-parent:hover i { color: #f5a800 !important; }
/* Top bar left side: support email + trust line (hidden on small screens) */
header.wgs-new-header-top-latest > .container { position: relative; }
.wbs-topbar-left { position: absolute; left: 15px; top: 0; height: 42px; display: flex; align-items: center; gap: 18px; font-size: 14px; }
.wbs-topbar-left a { color: #000 !important; text-decoration: none; font-weight: 600; }
.wbs-topbar-left a:hover { color: #f5a800 !important; }
.wbs-topbar-left i { margin-right: 6px; }
.wbs-topbar-tag { color: #555; padding-left: 18px; border-left: 1px solid #ddd; }
@media (max-width: 1199px) { .wbs-topbar-tag { display: none; } }
@media (max-width: 991px) { .wbs-topbar-left { display: none; } }
/* END WBS-HEADER-COLORS */

/* WBS-FOOTER-COLORS */
#mainfooterhostx, .copyright { background: #000 !important; }
#mainfooterhostx h4 { color: #f5a800 !important; }
#mainfooterhostx .footer_links a { color: #fff !important; }
#mainfooterhostx .footer_links a:hover { color: #f5a800 !important; }
.copyright, .copyright a { color: #bdbdbd !important; }
.copyright { border-top: 1px solid #222; }
/* END WBS-FOOTER-COLORS */

/* WBS-STICKY-MENU: body was fixed to window height, which stopped sticky after 1 screen */
html, body { height: auto !important; min-height: 100%; }
.container-custom-header-hostx-wrapper { position: sticky !important; top: 0; z-index: 1000; }
@media (min-width: 992px) {
  /* desktop: the white top bar (43px) scrolls away, the black menu bar stays */
  .container-custom-header-hostx-wrapper { top: -43px; }
}
/* END WBS-STICKY-MENU */

/* WBS-POLICY-LISTS: theme removes bullets; restore them on policy pages */
.inner_term_container ul:not(.term_lis) { list-style: disc; padding-left: 22px; margin: 0 0 14px; }
.inner_term_container ul:not(.term_lis) li { margin-bottom: 6px; }
.inner_term_container h4 { margin-top: 22px; }
/* END WBS-POLICY-LISTS */

/* WBS-BACK-TO-TOP */
#wbs-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid #f5a800;
  background: #000; color: #f5a800; font-size: 18px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, visibility .25s, transform .25s, background .2s, color .2s;
}
#wbs-to-top.wbs-show { opacity: 1; visibility: visible; transform: none; }
#wbs-to-top:hover, #wbs-to-top:focus-visible { background: #f5a800; color: #000; outline: none; }
@media (max-width: 767px) { #wbs-to-top { right: 14px; bottom: 14px; } }
/* END WBS-BACK-TO-TOP */

/* WBS-RECAPTCHA-BADGE: Google parks the 256px v3 badge at right:-186px, which made phones 100px too wide.
   Same look (logo only, expands on hover) but kept inside the screen; back-to-top lifted above it */
.grecaptcha-badge { right: 0 !important; width: 70px !important; transition: width .3s !important; }
.grecaptcha-badge:hover { width: 256px !important; }
body:has(.grecaptcha-badge) #wbs-to-top { bottom: 90px; }
/* theme scales .g-recaptcha to 0.8 on phones (for the v2 checkbox); a transform traps the fixed v3 badge inside the form, over the Send button */
.g-recaptcha:has(.grecaptcha-badge) { transform: none !important; }
/* END WBS-RECAPTCHA-BADGE */

/* WBS-HOSTING-HERO */
.banner.p-vertical.banner-page-web-hosting,
.banner.p-vertical.banner-page-reseller-hosting {
  background: #0b0c14 url(../images/webbase-hosting-hero.svg) center / cover no-repeat !important;
}
/* END WBS-HOSTING-HERO */

/* WBS-SSL-CARDS: theme caps SSL cards at 23% even inside the carousel slot */
.pricing_section .price_group #productList_SSL .owl-item .price_sect { max-width: none; width: auto; margin: 0 12px; }
/* END WBS-SSL-CARDS */

/* WBS-TAB-FEATURE-LINES: product descriptions are one feature per line; show the line breaks */
.hx_web-hosting-sec .hx_description { white-space: pre-line; line-height: 1.9; }
/* END WBS-TAB-FEATURE-LINES */

/* WBS-DOMAIN-RESULTS-MOBILE: theme cells are fixed-width (550px); stack name, then price + button, on phones */
@media (max-width: 575px) {
  .new-hx-tabs .wbs-domain-results table#tbl-new-block-tld,
  .wbs-domain-results #domainSuggestionTable { display: block; width: 100%; }
  .wbs-domain-results #domainSuggestionTable tr { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 8px 10px; }
  .wbs-domain-results #domainSuggestionTable td { display: block; width: auto !important; border: 0; padding: 4px 0; }
  .wbs-domain-results #domainSuggestionTable td:first-child { flex: 0 0 100%; overflow-wrap: anywhere; }
  .wbs-domain-results #domainSuggestionTable .add-to-cart-btn:not(.hidden) { min-height: 36px; }
}
/* END WBS-DOMAIN-RESULTS-MOBILE */

/* WBS-H1: page titles promoted from h2 to h1 for SEO; keep the exact h2 look */
h1.wbs-h1 { font-size: 35px; line-height: 45px; margin-top: 0; margin-bottom: 7px; font-weight: 700; letter-spacing: normal; color: var(--secondary-section-heading-color); }
.banner .left h1.wbs-h1 { order: 2; }
@media (max-width: 1199px) { h1.wbs-h1 { font-size: 30px; line-height: 40px; } }
@media (max-width: 767px) { h1.wbs-h1 { font-size: 24px; line-height: 34px; } }
/* home hero demoted from h1 to h2 (one h1 per page); keep the exact h1 look */
.hx-business-banner .business-content h2.wbs-was-h1 { font-size: 45px; line-height: 65px; margin-bottom: 15px; font-weight: 700; letter-spacing: -.03em; color: var(--secondary-main-heading-color); order: 2; }
@media (max-width: 767px) { .hx-business-banner .business-content h2.wbs-was-h1 { font-size: 26px; line-height: 36px !important; } }
/* KB article title (was h3) and news title (was h5) promoted to h1; keep their old look */
h1.wbs-kb-h1 { font-size: 28px !important; line-height: 33.6px !important; font-weight: 500; margin-top: 0; margin-bottom: 8px; letter-spacing: normal; text-transform: none; color: rgb(11,13,17); }
h1.wbs-news-h1 { font-size: 25px !important; line-height: 32px !important; font-weight: 700; margin-top: 10px; margin-bottom: 10px; letter-spacing: normal; text-transform: none; color: rgb(11,13,17); }
@media (max-width: 767px) { h1.wbs-news-h1 { font-size: 18px !important; } }
/* END WBS-H1 */

/* WBS-RESELLER-FEATURES: reseller "Everything you need" block - theme lays h2 | p out as a flex row, so the feature list became a squeezed 3rd column; put it on its own line */
.bandwidth .bandwidth-left:has(> ul) { flex-direction: column; align-items: flex-start; justify-content: center; }
.bandwidth .bandwidth-left:has(> ul) > h2 { max-width: none; width: auto; margin-bottom: 12px; text-align: left; }
.bandwidth .bandwidth-left:has(> ul) > p { border: 0 !important; padding-left: 0 !important; margin-left: 0 !important; max-width: none; text-align: left; }
.bandwidth .bandwidth-left > ul { flex: none; width: 100%; columns: 2; column-gap: 30px; margin-top: 22px !important; font-size: 16px; line-height: 1.7; }
.bandwidth .bandwidth-left > ul li { break-inside: avoid; margin-bottom: 6px; }
@media (max-width: 767px) { .bandwidth .bandwidth-left > ul { columns: 1; } }
@media (max-width: 767px) { .bandwidth .bandwidth-left:has(> ul) > h2, .bandwidth .bandwidth-left:has(> ul) > p { text-align: center; } .bandwidth .bandwidth-left:has(> ul) { align-items: center; } }
/* END WBS-RESELLER-FEATURES */

/* WBS-TLD-CHIPS: TLD price chips under the domain search scroll sideways on phones and hide the last ones; wrap them instead */
/* theme forces overflow-x: scroll, which draws an empty 2px scrollbar track (white line) under the chips */
.domain ul.domain-options { overflow-x: auto; scrollbar-width: none; }
.domain ul.domain-options::-webkit-scrollbar { display: none; }
@media (max-width: 767px) {
  .domain ul.domain-options { flex-wrap: wrap; overflow-x: visible; justify-content: center; gap: 8px 0; }
}
/* END WBS-TLD-CHIPS */
