/* Provider profile header, island look. Only affects .uc-island */
.uc-island{
  position:relative !important;
  isolation:isolate;
  background:#fff !important;
  border-radius:22px !important;
  box-shadow:0 12px 40px rgba(0,0,0,.16) !important;
  padding:110px 28px 20px !important;
  overflow:visible !important;
}
.uc-island::before{
  content:"";
  position:absolute;
  top:0;left:0;right:0;
  height:90px;
  z-index:-1;
  border-radius:22px 22px 0 0;
  background:linear-gradient(120deg,#ececec 0%,#dedede 100%);
}
.uc-island .img{
  position:relative;
  z-index:2;
  width:120px !important;
  height:120px !important;
  margin:-60px 0 12px 0 !important;
  border:4px solid #fff;
  border-radius:18px;
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.2);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.uc-island .img img{
  width:100% !important;
  height:100% !important;
  object-fit:contain;
}
.uc-island .company_name{
  font-size:30px !important;
  font-weight:700 !important;
  margin:0 0 6px 0 !important;
}
.uc-island .social-media{margin-top:0 !important}
.uc-island .mb-4.d-flex{margin-bottom:8px !important}
.uc-island .right .gap-14px{
  gap:26px !important;
  padding-bottom:28px;
}
.uc-island .right .gap-14px > .btn-icon{
  position:relative;
  overflow:visible !important;
}
.uc-island .right .gap-14px > .btn-icon::after{
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%);
  margin-top:8px;
  font:400 11px/1 Arial,Helvetica,sans-serif;
  color:#555;
  white-space:nowrap;
}
.uc-island .right .gap-14px > .btn-icon:nth-child(1)::after{content:"Share"}
.uc-island .right .gap-14px > .btn-icon:nth-child(2)::after{content:"Save"}
.uc-island .right .gap-14px > .btn-icon:nth-child(3)::after{content:"Saved"}
.uc-island .right .gap-14px > .btn-icon:nth-child(4)::after{content:"Profile"}
@media (max-width:767px){
  .uc-island{padding:90px 16px 20px !important;border-radius:18px !important}
  .uc-island::before{height:70px;border-radius:18px 18px 0 0}
  .uc-island .img{margin-top:-70px !important}
}

.uc-island .company_name{line-height:1.2 !important}
@media (max-width:767px){
  .uc-island .mb-4.d-flex{align-items:center !important;text-align:center !important}
  .uc-island .company_name{text-align:center !important;width:100%;margin:4px 0 6px 0 !important}
  .uc-island .img{width:96px !important;height:96px !important;margin:-50px auto 8px auto !important}
  .uc-island .social-media{margin:4px 0 12px 0 !important;justify-content:center !important}
}

/* spacing override: same specificity as main stylesheet */
.result-section .container .more-details.uc-island .company_name{margin:6px 0 4px 0 !important;font-size:28px !important;line-height:1.2 !important}
.result-section .container .more-details.uc-island .mb-4.d-flex{margin-bottom:0 !important}
.result-section .container .more-details.uc-island .social-media{margin-top:4px !important;margin-bottom:12px !important}

.result-section .container .more-details.uc-island .right .d-flex.gap-2{margin-bottom:16px !important}


/* social row: hug the icons */
.result-section .container .more-details.uc-island .social-media{height:auto !important;min-height:0 !important;padding:0 !important;margin:4px 0 12px 0 !important;align-items:flex-start !important;align-content:flex-start !important}
.result-section .container .more-details.uc-island .social-media > *{margin-top:0 !important;margin-bottom:0 !important}

/* ===== Social icons refresh + About card (20261030p) ===== */
.result-section .container .more-details.uc-island .social-media{gap:10px !important;display:flex !important}
.result-section .container .more-details.uc-island .social-media a{
  width:44px !important;height:44px !important;border-radius:50% !important;
  background:#fff !important;border:1px solid #e3e3e3 !important;
  box-shadow:0 2px 8px rgba(0,0,0,.08) !important;
  display:inline-flex !important;align-items:center !important;justify-content:center !important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease !important}
.result-section .container .more-details.uc-island .social-media a img,
.result-section .container .more-details.uc-island .social-media a svg{
  width:20px !important;height:20px !important;filter:brightness(0) opacity(.75) !important}
.result-section .container .more-details.uc-island .social-media a:hover{
  transform:translateY(-3px) !important;box-shadow:0 8px 16px rgba(0,0,0,.14) !important}
.result-section .container .more-details.uc-island .social-media a[href*="linkedin"]:hover{border-color:#0a66c2 !important;background:#eef5fc !important}
.result-section .container .more-details.uc-island .social-media a[href*="instagram"]:hover{border-color:#d62976 !important;background:#fdf0f6 !important}
.result-section .container .more-details.uc-island .social-media a[href*="facebook"]:hover{border-color:#1877f2 !important;background:#eef4fe !important}
.result-section .container .more-details.uc-island .social-media a:hover img,
.result-section .container .more-details.uc-island .social-media a:hover svg{filter:none !important}
@media (max-width:767px){
  .result-section .container .more-details.uc-island .social-media a{width:48px !important;height:48px !important}
}

/* About card (class names are a first guess; will tune after seeing markup) */
.result-section .container .more-details.uc-island [class*="about"]{
  background:#fff !important;border-radius:18px !important;padding:22px 26px !important;
  margin:18px 0 !important;box-shadow:0 4px 18px rgba(0,0,0,.07) !important;
  border:1px solid #f0f0f0 !important;max-width:100% !important}
.result-section .container .more-details.uc-island [class*="about"] h1,
.result-section .container .more-details.uc-island [class*="about"] h2,
.result-section .container .more-details.uc-island [class*="about"] h3,
.result-section .container .more-details.uc-island [class*="about"] h4,
.result-section .container .more-details.uc-island [class*="about"] h5{
  border-left:4px solid #f4b73f !important;padding-left:12px !important;margin:0 0 12px 0 !important}
.result-section .container .more-details.uc-island [class*="about"] p{
  line-height:1.85 !important;font-size:16px !important;margin:0 !important}
@media (max-width:767px){
  .result-section .container .more-details.uc-island [class*="about"]{padding:18px 16px !important;border-radius:14px !important}
}

/* ===== Instagram hover fix (20261030q) ===== */
.result-section .container .more-details.uc-island .social-media a:hover img,
.result-section .container .more-details.uc-island .social-media a:hover svg{filter:brightness(0) opacity(.85) !important}
.result-section .container .more-details.uc-island .social-media a[href*="instagram"]:hover{box-shadow:0 8px 16px rgba(214,41,118,.25) !important}
.result-section .container .more-details.uc-island .social-media a[href*="linkedin"]:hover{box-shadow:0 8px 16px rgba(10,102,194,.25) !important}

/* ===== Section cards: About / Project Type / Expertise / Country / Address (20261030r) ===== */
.result-section .container .more-details.uc-island .row{margin-left:0 !important;margin-right:0 !important;margin-bottom:16px !important}
.result-section .container .more-details.uc-island .row > .p-4{
  flex:0 0 100% !important;width:100% !important;max-width:100% !important;
  background:#fffdfa !important;border:1px solid #f0ebe3 !important;border-radius:18px !important;
  box-shadow:0 4px 18px rgba(0,0,0,.06) !important;padding:22px 26px !important}
.result-section .container .more-details.uc-island .row > .p-4 > h3.title{
  border-left:4px solid #f4b73f !important;padding-left:12px !important;
  margin:0 0 14px 0 !important;line-height:1.2 !important}
.result-section .container .more-details.uc-island .row > .p-4 > p{
  line-height:1.85 !important;font-size:16px !important;margin:0 !important}
@media (max-width:767px){
  .result-section .container .more-details.uc-island .row > .p-4{padding:16px 16px !important;border-radius:14px !important}
}

/* ===== White section cards (20261030s) ===== */
.result-section .container .more-details.uc-island .row > .p-4{
  background:#ffffff !important;border:1px solid #ebebeb !important;
  box-shadow:0 6px 22px rgba(0,0,0,.08) !important}

/* ===== Card text alignment fix (20261030t) ===== */
.result-section .container .more-details.uc-island .row > .p-4 > p,
.result-section .container .more-details.uc-island .row > .p-4 > p.p-3{
  padding:0 !important;margin:0 !important;width:100% !important;max-width:100% !important}
.result-section .container .more-details.uc-island .row > .p-4 > p[v-plaintext]{
  text-align:left !important}

/* ===== Gallery card to match section cards (20261030u) ===== */
.result-section .container .more-details.uc-island div:has(> h3.title.p-4){
  background:#fff !important;border:1px solid #ebebeb !important;border-radius:18px !important;
  box-shadow:0 6px 22px rgba(0,0,0,.08) !important;padding:22px 26px !important;margin:0 0 16px 0 !important}
.result-section .container .more-details.uc-island div > h3.title.p-4{
  border-left:4px solid #f4b73f !important;padding:0 0 0 12px !important;
  margin:0 0 16px 0 !important;font-size:1.5rem !important;line-height:1.2 !important}
.result-section .container .more-details.uc-island .project-cards{
  padding:0 !important;margin:0 !important}
@media (max-width:767px){
  .result-section .container .more-details.uc-island div:has(> h3.title.p-4){
    padding:16px 16px !important;border-radius:14px !important}
}

/* ===== Gallery: heading + carousel as one card (20261030v) ===== */
.result-section .container .more-details.uc-island div:has(> h3.title.p-4){
  border-radius:18px 18px 0 0 !important;border-bottom:none !important;
  margin:0 !important;padding:22px 26px 0 26px !important;
  box-shadow:8px 0 14px -8px rgba(0,0,0,.08),-8px 0 14px -8px rgba(0,0,0,.08),0 -6px 14px -8px rgba(0,0,0,.08) !important}
.result-section .container .more-details.uc-island .swiper-cont.ucp-gallery{
  background:#fff !important;border:1px solid #ebebeb !important;border-top:none !important;
  border-radius:0 0 18px 18px !important;margin:0 0 16px 0 !important;
  padding:0 26px 22px 26px !important;
  box-shadow:8px 0 14px -8px rgba(0,0,0,.08),-8px 0 14px -8px rgba(0,0,0,.08),0 8px 14px -8px rgba(0,0,0,.08) !important}
@media (max-width:767px){
  .result-section .container .more-details.uc-island .swiper-cont.ucp-gallery{
    padding:0 16px 16px 16px !important;border-radius:0 0 14px 14px !important}
}

/* ===== Gallery width + seam fix (20261030w) ===== */
.result-section .container .more-details.uc-island .swiper-cont.ucp-gallery{
  width:100% !important;max-width:100% !important;box-sizing:border-box !important;
  margin-top:-1px !important}
.result-section .container .more-details.uc-island .swiper-cont.ucp-gallery .swiper,
.result-section .container .more-details.uc-island .swiper-cont.ucp-gallery .filter-swiper{
  width:100% !important;max-width:100% !important}
.result-section .container .more-details.uc-island div:has(> h3.title.p-4){
  padding-bottom:16px !important}

/* ===== Gallery card on phones/tablets (20261030x) ===== */
@media (max-width:991px){
  .result-section .container .more-details.uc-island .swiper-cont.ucp-gallery{
    border:1px solid #ebebeb !important;border-radius:14px !important;
    margin:16px 0 16px 0 !important;padding:16px 16px 16px 16px !important;
    box-shadow:0 6px 22px rgba(0,0,0,.08) !important}
  .result-section .container .more-details.uc-island .swiper-cont.ucp-gallery::before{
    content:"Projects Gallery";display:block;
    border-left:4px solid #f4b73f;padding-left:12px;
    margin:0 0 14px 0;font-size:1.25rem;font-weight:600;line-height:1.2;color:#111}
}

/* ===== Sticky Get Help Choosing bar, phones only (20261030y) ===== */
#uc-sticky-help{display:none}
@media (max-width:767px){
  #uc-sticky-help{display:block;position:fixed;left:0;right:0;bottom:0;z-index:999;
    padding:10px 16px calc(10px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);box-shadow:0 -4px 18px rgba(0,0,0,.12);
    transform:translateY(115%);transition:transform .25s ease;pointer-events:none}
  #uc-sticky-help.show{transform:none;pointer-events:auto}
  #uc-sticky-help button{width:100%;height:50px;border:0;border-radius:10px;color:#fff;
    font-size:16px;font-weight:600;letter-spacing:.3px;cursor:pointer;
    background:linear-gradient(90deg,#f4b73f,#f0a560)}
  body.uc-sticky-on{padding-bottom:76px}
  body.modal-open #uc-sticky-help{display:none}
}

/* ===== Search island: one card on phones and tablets (20261030z) ===== */
@media (max-width:991px){
  .slider-b.nav-tabs{display:grid !important;grid-template-columns:1fr 1fr;gap:10px;
    width:100%;margin:0 !important;padding:18px 16px 12px;background:#fff;border:0;
    border-radius:22px 22px 0 0;box-shadow:0 0 18px rgba(0,0,0,.08);
    clip-path:inset(-24px -24px 0 -24px)}
  .slider-b .slider-btn{width:100%;margin:0;display:flex !important;flex-direction:column;
    align-items:center;justify-content:center;padding:10px 6px;border:1px solid #eee;
    border-radius:14px;background:#fafafa;color:#111}
  .slider-b .slider-btn span{font-size:15px;font-weight:500;margin-top:4px}
  .slider-b .slider-btn.active{background:linear-gradient(135deg,#f4b73f,#f0a560);
    border-color:transparent;box-shadow:0 4px 12px rgba(240,165,96,.35)}

  .slider-b + .tab-content{position:relative;width:100%;margin:0 !important;
    padding:46px 18px 26px;background:#fff;border-radius:0 0 22px 22px;
    box-shadow:0 0 18px rgba(0,0,0,.08);clip-path:inset(0 -24px -24px -24px)}
  .slider-b + .tab-content > .dropdown{position:absolute;top:8px;right:14px;z-index:5}
  .slider-b + .tab-content .filter-btn{width:34px;height:34px;border-radius:50%;
    background:#f5f2ec;display:flex;align-items:center;justify-content:center;cursor:pointer}
  .slider-b + .tab-content .filter-btn svg{width:18px;height:18px}
  .slider-b + .tab-content .filter-btn svg path{fill:#555}

  .slider-b + .tab-content .tab-pane > p{font-size:15px;line-height:1.5;color:#444;
    text-align:center;margin:0 0 6px}
  .slider-b + .tab-content .filter-d{margin-top:6px !important;margin-bottom:8px !important}
  .slider-b + .tab-content .form-label{font-size:13px;font-weight:600;color:#333;margin-bottom:6px}
  .slider-b + .tab-content .form-control{height:50px;border-radius:12px;
    border:1px solid #e6e1d8;background-color:#fff;font-size:15px}
  .slider-b + .tab-content .filter-srch{width:100%;margin-top:6px}
  .slider-b + .tab-content .filter-srch .main-btn{width:100%;height:52px;border:0;
    border-radius:12px;background:linear-gradient(90deg,#f4b73f,#f0a560);color:#fff;
    font-size:17px;font-weight:600;letter-spacing:.3px}
}

/* ===== Search island: heading inside card, filter icon, spacing (20261030za) ===== */
@media (max-width:991px){
  #ucp-search.ucp-new-find{height:0 !important;min-height:0 !important;overflow:hidden;
    margin:0 !important;padding:0 !important}

  .slider-b.nav-tabs{margin-top:24px !important;padding-top:26px}
  .slider-b.nav-tabs::before{content:"Search Pre-Qualified Companies";order:-2;
    grid-column:1 / -1;text-align:center;font-size:24px;font-weight:600;line-height:1.25;
    color:#111;padding:0 4px}
  .slider-b.nav-tabs::after{content:"Select your options below and press Search.";order:-1;
    grid-column:1 / -1;text-align:center;font-size:15px;color:#555;margin:-2px 0 8px}

  .slider-b + .tab-content > .dropdown{position:absolute !important;top:10px !important;
    right:16px !important;left:auto !important;margin:0 !important;transform:none !important;
    width:auto !important;z-index:5}
  .slider-b + .tab-content .filter-btn{position:static !important;margin:0 !important;
    right:auto !important;left:auto !important;transform:none !important;
    width:36px !important;height:36px !important;border-radius:50%;background:#f5f2ec}
  .slider-b + .tab-content .dropdown-menu{right:0 !important;left:auto !important;
    min-width:230px;max-width:calc(100vw - 70px);border-radius:14px;
    box-shadow:0 8px 24px rgba(0,0,0,.15);border:0}

  .slider-b + .tab-content{padding-top:52px}
  .slider-b + .tab-content .tab-pane > p{margin-bottom:14px}
  .slider-b + .tab-content .filter-d{margin-top:14px !important;margin-bottom:22px !important}
  .slider-b + .tab-content .filter-srch{margin-top:10px}
}

/* ===== Search island: centred button, icon left, tighter gaps (20261030zb) ===== */
@media (max-width:991px){
  .slider-b + .tab-content > .dropdown{left:16px !important;right:auto !important;top:8px !important}
  .slider-b + .tab-content .dropdown-menu{left:0 !important;right:auto !important}

  .slider-b + .tab-content .filter-srch{padding:0 7px !important;margin:10px 0 0 !important;
    justify-content:center}
  .slider-b + .tab-content .filter-srch .main-btn{width:100% !important;margin:0 auto !important;
    display:flex;align-items:center;justify-content:center;gap:8px}

  .slider-b.nav-tabs{margin-top:-50px !important}
  .slider-b + .tab-content{padding-bottom:18px !important;margin-bottom:-90px !important}

  .slider-b .slider-btn:not(.active):hover,
  .slider-b .slider-btn:not(.active):focus,
  .slider-b .slider-btn:not(.active):active{background:#fafafa !important;
    border-color:#eee !important;box-shadow:none !important;outline:0}
}

/* ===== Homepage cards: same width as the search card (20261030zc) ===== */
@media (max-width:991px){
  .ucp-new-card,
  .ucp-new-strip{box-sizing:border-box;width:calc(100% + 18px) !important;
    margin-left:-9px !important;margin-right:-9px !important}
}

/* ===== Search island: filter icon top-right, round Property Search icon (20261030zf) ===== */
@media (max-width:991px){
  .slider-b + .tab-content{position:relative !important}
  .slider-b + .tab-content > .dropdown{position:absolute !important;
    top:-235px !important;right:16px !important;left:auto !important;bottom:auto !important;z-index:6}
  .slider-b + .tab-content > .dropdown .dropdown-menu{right:0 !important;left:auto !important}

  .slider-b .slider-btn[data-bs-target="#tab2"] img{
    border-radius:50% !important;background:#fff !important;object-fit:cover !important;overflow:hidden}
}

/* ===== Search island: filter icon level with heading, above the grid (20261030zg) ===== */
@media (max-width:991px){
  .slider-b + .tab-content{position:relative !important;z-index:5 !important}
  .slider-b + .tab-content > .dropdown{position:absolute !important;
    top:-465px !important;right:16px !important;left:auto !important;bottom:auto !important;z-index:20 !important}
  .slider-b + .tab-content > .dropdown .dropdown-menu{right:0 !important;left:auto !important}
}

/* ===== Search island: filter icon inside form card, top-right, text pushed down (20261030zh) ===== */
@media (max-width:991px){
  .slider-b + .tab-content{position:relative !important;padding-top:52px !important}
  .slider-b + .tab-content > .dropdown{position:absolute !important;
    top:10px !important;right:16px !important;left:auto !important;bottom:auto !important;z-index:20 !important}
  .slider-b + .tab-content > .dropdown .dropdown-menu{right:0 !important;left:auto !important}
}

/* ===== Search island: filter icon to the left (20261030zi) ===== */
@media (max-width:991px){
  .slider-b + .tab-content > .dropdown{left:16px !important;right:auto !important}
  .slider-b + .tab-content > .dropdown .dropdown-menu{left:0 !important;right:auto !important}
}

/* ===== Search island: gap between search card and first result card (20261030zj) ===== */
@media (max-width:991px){
  *:not(.row:has(> .col-lg-6.col-md-6.mb-4)) + .row:has(> .col-lg-6.col-md-6.mb-4),
  .row:has(> .col-lg-6.col-md-6.mb-4):first-child{margin-top:80px !important}
}

/* ===== Desktop search card: heading inside, black tab strip, deeper shadow, bigger Search (20261030zl) ===== */
@media (min-width:992px){
  #ucp-search.ucp-new-find{height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;overflow:hidden !important;scroll-margin-top:110px}

  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab){
    display:flex !important;flex-wrap:wrap !important;margin-top:36px !important;
    background:#fff !important;border-radius:30px 30px 0 0 !important;overflow:hidden !important;
    box-shadow:0 -6px 26px -12px rgba(18,18,18,.22),16px 0 26px -16px rgba(18,18,18,.22),-16px 0 26px -16px rgba(18,18,18,.22) !important}

  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab)::before{
    content:"Search Pre-Qualified Companies";order:-2;flex:0 0 100%;text-align:center;
    font-size:32px;font-weight:700;color:#121212;padding:38px 24px 6px}
  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab)::after{
    content:"Select your options below and press Search.";order:-1;flex:0 0 100%;text-align:center;
    font-size:16px;color:#555;padding:0 24px 28px}

  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab) li .nav-link{
    background:#121212 !important;color:#fff !important;border-radius:0 !important;box-shadow:none !important}
  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab) li .nav-link:not(.active):hover{
    background:#2b2b2b !important;color:#f3c85c !important}
  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab) li .nav-link.active{
    background:linear-gradient(135deg,#f5c04a,#f0a868) !important;color:#121212 !important}

  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab) ~ .tab-content{
    background:#fff !important;border-radius:0 0 30px 30px !important;
    box-shadow:0 18px 30px -14px rgba(18,18,18,.25),16px 0 26px -16px rgba(18,18,18,.22),-16px 0 26px -16px rgba(18,18,18,.22) !important}

  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab) ~ .tab-content .filter-srch .main-btn{
    min-width:280px;height:60px;font-size:18px;font-weight:700;
    box-shadow:0 10px 22px -8px rgba(240,168,104,.8)}
}

/* ===== Desktop: widen top cards and banner to match the search card (20261030zm) ===== */
@media (min-width:992px){
  .ucp-new-grid,
  .ucp-new-strip{box-sizing:border-box !important;width:calc(100% + 32px) !important;max-width:none !important;
    margin-left:-16px !important;margin-right:-16px !important}
}

/* ===== Desktop: tighten gaps above and below the search card (20261030zn) ===== */
@media (min-width:992px){
  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab){margin-top:-30px !important}
  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab) ~ .tab-content{margin-bottom:-60px !important}
}

/* ===== Desktop search card: larger, clearer text (20261030zo) ===== */
@media (min-width:992px){
  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab) li .nav-link{
    font-size:17px !important;font-weight:700 !important;letter-spacing:.3px;padding-top:22px !important;padding-bottom:22px !important}

  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab) ~ .tab-content .tab-pane p{
    font-size:19px !important;line-height:1.6 !important;color:#222 !important}

  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab) ~ .tab-content label,
  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab) ~ .tab-content .form-label{
    font-size:17px !important;font-weight:600 !important;color:#222 !important;margin-bottom:8px !important}

  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab) ~ .tab-content .form-control,
  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab) ~ .tab-content .form-select,
  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab) ~ .tab-content select,
  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab) ~ .tab-content input{
    font-size:17px !important;min-height:58px !important}
}

/* ===== Desktop search card: bigger heading and subtitle (20261030zp) ===== */
@media (min-width:992px){
  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab)::before{font-size:36px !important;padding-top:42px !important}
  ul.nav.nav-tabs.nav-tabs:not(.slider-b):has(#home-tab)::after{font-size:22px !important;color:#444 !important;padding-bottom:32px !important}
}

/* ===== Big screens: wider page column (20261030zq) ===== */
@media (min-width:1400px){
  .container{max-width:min(1700px,92vw) !important;width:92% !important}
}

/* ===== Big screens: top cards and banner follow the wide column (20261030zr) ===== */
@media (min-width:1400px){
  .ucp-new{max-width:none !important}
}

/* ===== Big screens: How It Works card follows the wide column (20261030zs) ===== */
@media (min-width:1400px){
  .ucp-hw-wrap{max-width:none !important}
}

/* ===== Big screens: bigger homepage heading and intro (20261030zt) ===== */
@media (min-width:1400px){
  h1.homepage-title{font-size:56px !important;line-height:1.15 !important}
  p.homepage-intro{font-size:22px !important;line-height:1.7 !important;max-width:1200px !important;color:#444 !important}
}

/* ===== Desktop: space between search card and first results row (20261030zu) ===== */
@media (min-width:992px){
  #result-section .container > div > .row:first-child{margin-top:40px !important}
}

/* ===== Desktop header: bigger menu text and wider gaps (20261030zv) ===== */
@media (min-width:992px){
  header.header .navbar-nav{gap:14px !important}
  header.header .navbar-nav .nav-link{font-size:18px !important;padding:10px 20px !important}
  header.header .right a{font-size:17px !important}
}

/* ===== Desktop header: Login as a prominent button (20261030zw) ===== */
@media (min-width:992px){
  header.header a.login-btn{background:#111 !important;color:#fff !important;font-size:17px !important;font-weight:700 !important;padding:11px 28px !important;border-radius:999px !important;text-decoration:none !important;line-height:1.2 !important;transition:all .2s ease}
  header.header a.login-btn:hover{background:linear-gradient(90deg,#f5c542,#e8b060) !important;color:#111 !important}
}

/* 20261030zx login page island */
body:has(.auth-page){background:#f3f3f3 !important}
.auth-page .login-content.page-card{max-width:520px !important;width:92% !important;margin:70px auto 60px !important;padding:44px 44px 36px !important;background:#fff !important;border:1px solid #eee !important;border-radius:28px !important;box-shadow:0 14px 40px rgba(0,0,0,.08) !important;animation:none !important}
.auth-page .login-content h1.card-title{font-size:36px !important;font-weight:800 !important;color:#111 !important;text-transform:none !important;letter-spacing:-.5px;margin-bottom:22px !important;animation:none !important}
.auth-page .login-with-google{display:flex !important;align-items:center;justify-content:center;gap:10px;background:#fff !important;border:1px solid #ddd !important;border-radius:999px !important;padding:12px 18px !important;font-weight:600 !important;color:#111 !important}
.auth-page .login-with-google:hover{border-color:#e8b060 !important;background:#fffaf0 !important}
.auth-page .center-aligned{text-align:center !important;margin:14px 0 !important;color:#888 !important;font-weight:600}
.auth-page .form-control{background:#f6f6f6 !important;border:1px solid #eee !important;border-radius:14px !important;height:50px !important;font-size:16px !important}
.auth-page .form-control:focus{background:#fff !important;border-color:#e8b060 !important;box-shadow:0 0 0 3px rgba(245,197,66,.25) !important}
.auth-page .forgot-password-message{text-align:right}
.auth-page .forgot-password-message a{color:#777 !important}
.auth-page .btn-login,.auth-page .btn-forgot,.auth-page .btn-login-with-email-link{background:linear-gradient(90deg,#f5c542,#e8b060) !important;color:#111 !important;border:0 !important;border-radius:14px !important;height:50px !important;font-size:16px !important;font-weight:800 !important}

/* 20261030zy login card */
.auth-page .login-with-google,.auth-page .center-aligned{display:none !important}
.auth-page .login-content.page-card{max-width:640px !important;padding:56px 64px 48px !important;margin:90px auto 60px !important}
.auth-page .login-content h1.card-title{font-size:44px !important;margin-bottom:30px !important}
.auth-page .form-control{height:58px !important;font-size:17px !important;padding-left:50px !important}
.auth-page .field-icon{left:16px !important}
.auth-page .toggle-password{top:50% !important;transform:translateY(-50%) !important;right:16px !important}
.auth-page .btn-login,.auth-page .btn-forgot,.auth-page .btn-login-with-email-link{height:58px !important;font-size:18px !important}

/* 20261030zz forgot password view */
.auth-page section[class^="for-"] .page-card-head img,.auth-page section[class^="for-"] .app-logo{display:none !important}
.auth-page section[class^="for-"] .page-card{max-width:640px !important;width:92% !important;margin:90px auto 60px !important;padding:48px 64px !important}
.auth-page section[class^="for-"] .page-card-head h4,.auth-page section[class^="for-"] .page-card-head h1{font-size:40px !important;font-weight:700 !important;color:#111 !important}
.auth-page section[class^="for-"] .form-control{height:58px !important;font-size:17px !important;padding-left:50px !important}
.auth-page section[class^="for-"] .field-icon{left:16px !important}
.auth-page section[class^="for-"] .btn-forgot,.auth-page section[class^="for-"] .btn-login{height:58px !important;font-size:18px !important}

/* 20261030zza forgot / email-link / signup card width */
.auth-page section.for-forgot,.auth-page section.for-email-login,.auth-page section.for-signup,.auth-page section.for-login-with-email-link{width:100% !important}
.auth-page section.for-forgot .login-content.page-card,.auth-page section.for-signup .login-content.page-card,.auth-page section.for-email-login .login-content.page-card,.auth-page section.for-login-with-email-link .login-content.page-card{max-width:640px !important;width:92% !important;margin:30px auto 60px !important;padding:48px 64px !important}
.auth-page .field-icon{top:50% !important;transform:translateY(-50%) !important}
.auth-page .page-card-head{text-align:center}

/* 20261030zzb login page: lower the cards */
.auth-page .login-content.page-card{margin-top:calc(90px + 8vh) !important}
.auth-page section.for-forgot .login-content.page-card,.auth-page section.for-signup .login-content.page-card,.auth-page section.for-email-login .login-content.page-card,.auth-page section.for-login-with-email-link .login-content.page-card{margin-top:30px !important}
.auth-page .page-card-head{margin-top:8vh !important}

/* 20261030zzc login card: lower the main login view */
.auth-page section.for-login{padding-top:12vh !important}

/* 20261030zzd login page: hide phone-only header items on desktop */
@media (min-width:992px){body:has(.auth-page) .d-lg-none{display:none !important}}

/* 20261030zze login page: phone fixes */
@media (max-width:991.98px){
body:has(.auth-page) .mobile-menu-toggler{display:block !important}
.auth-page section.for-forgot .page-card-head{margin-top:2vh !important}
.auth-page .login-content.page-card{width:92% !important;padding:40px 28px !important}
}

/* 20261101 mobile menu matches desktop: black Login pill */
.mobile-menu li.footer{display:block !important;padding:16px 20px !important}
.mobile-menu a.uc-m-login{display:block !important;width:100% !important;background:#111 !important;color:#fff !important;border-radius:999px !important;text-align:center !important;font-weight:700 !important;font-size:17px !important;padding:14px 20px !important;text-decoration:none !important}
.mobile-menu a.uc-m-login:hover{background:linear-gradient(90deg,#f5c542,#e8b060) !important;color:#111 !important}

/* 20261101 filter icon only on the Service Providers tab */
body:has(#tab1:not(.active)) .filter-btn{display:none !important}

/* 20261101 mobile search tabs in the black desktop style */
@media (max-width:991.98px){
.filter-section .slider-b.nav-tabs{background:#111 !important;border:0 !important;border-radius:18px !important;padding:10px !important;display:grid !important;grid-template-columns:1fr 1fr !important;gap:10px !important}
.filter-section .slider-b .slider-btn{width:100% !important;margin:0 !important;background:#1e1e1e !important;border:1px solid #2c2c2c !important;border-radius:14px !important;box-shadow:none !important;padding:14px 8px !important}
.filter-section .slider-b .slider-btn span{color:#fff !important;font-weight:600 !important}
.filter-section .slider-b .slider-btn.active{background:linear-gradient(135deg,#f5c542,#e8b060) !important;border-color:transparent !important}
.filter-section .slider-b .slider-btn.active span{color:#111 !important}
.filter-section .slider-b .slider-image{background:#fff !important;border-radius:50% !important}
}

/* 20261101b lighter: white card, black tiles only */
@media (max-width:991.98px){
.filter-section .slider-b.nav-tabs{background:transparent !important;padding:0 !important}
.filter-section .slider-b .slider-btn{background:#111 !important;border:0 !important}
.filter-section .slider-b .slider-btn:focus,.filter-section .slider-b .slider-btn:focus-visible{outline:none !important;box-shadow:none !important}
}

/* 20261101c mobile search card spacing */
@media (max-width:991.98px){
#ucp-search.ucp-new-find{background:#fff !important;padding:30px 20px 6px !important}
#ucp-search.ucp-new-find h2{margin:0 0 8px !important;line-height:1.25 !important}
#ucp-search.ucp-new-find p{margin:0 0 6px !important}
.filter-section .slider-b.nav-tabs{background:#fff !important;padding:14px 16px 18px !important;gap:12px !important}
}


/* 20261101e mobile: heading + tiles + form as one card */
@media (max-width:991.98px){
#ucp-search.ucp-new-find{border-radius:24px 24px 0 0 !important;box-shadow:none !important;margin-left:0 !important;margin-right:0 !important}
.filter-section .slider-b.nav-tabs{border-radius:0 !important;box-shadow:none !important;margin-left:0 !important;margin-right:0 !important;width:100% !important}
.filter-section .slider-b + .tab-content{border-radius:0 0 24px 24px !important;margin-left:0 !important;margin-right:0 !important;width:100% !important;border-top:0 !important}
}

/* 20261101f center mobile Login pill */
.mobile-menu ul.navbar-nav{padding-left:0 !important}
.mobile-menu li.footer{margin:0 !important;padding:16px 20px !important}

/* 20261101g center mobile Login pill, take 2 */
.mobile-menu li.footer{display:flex !important;justify-content:center !important;width:100% !important;left:0 !important;right:0 !important;transform:none !important;margin:0 !important}
.mobile-menu a.uc-m-login{margin:0 !important;flex:1 1 auto !important}

/* 20261101 favourites page: Clear List button */
.uc-clear-list{margin-left:12px !important;background:#fff !important;color:#111 !important;border:1.5px solid #111 !important;border-radius:12px !important;padding:12px 26px !important;font-weight:600 !important}
.uc-clear-list:hover{background:#111 !important;color:#fff !important}

/* 20261101 favourites empty state */
#uc-empty-note{text-align:center;color:#666;font-size:16px;line-height:1.6;margin:44px 20px 20px}
div:has(> .uc-clear-list){margin-top:28px !important;margin-bottom:40px !important}

/* 20261101 favourites page title smaller on phones */
@media (max-width:991.98px){body:has(.uc-clear-list) h1,body:has(.uc-clear-list) h2.title,body:has(.uc-clear-list) .page-title{font-size:26px !important;line-height:1.3 !important}}

/* 20261101 direct-link profile: gallery + UPM strip */
.uc-island .project-cards{display:none !important}
.ucd-gwrap{position:relative;margin-top:8px}
.ucd-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:18px;scrollbar-width:none}
.ucd-gallery::-webkit-scrollbar{display:none}
.ucd-gallery a{flex:0 0 100%;scroll-snap-align:start}
.ucd-gallery img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}
.ucd-count{position:absolute;left:16px;bottom:16px;background:rgba(0,0,0,.65);color:#fff;font-weight:600;font-size:15px;padding:6px 14px;border-radius:10px}
.ucd-upm{background:#111;color:#bbb;text-align:center;padding:20px 22px;border-radius:14px;margin-top:28px;line-height:1.6}
.ucd-upm a{color:#fff;font-weight:700;text-decoration:none}

/* 20261101 direct-link profile: tighter sections */
.ucd-page > .row ~ .row,.ucd-page > .row ~ div{margin-top:0 !important;margin-bottom:0 !important;padding-top:0 !important;padding-bottom:0 !important}
.ucd-page > .row ~ .row h2.title,.ucd-page > .row ~ div h2.title{margin-top:30px !important}

/* 20261101b direct-link profile: section spacing + gallery size */
.ucd-page .row:has(> .mt-4.mb-3){margin-top:0 !important;margin-bottom:0 !important;padding-top:0 !important;padding-bottom:0 !important;min-height:0 !important}
.ucd-page .row > .mt-4.mb-3{margin:0 !important;padding-top:0 !important;padding-bottom:0 !important;min-height:0 !important}
.ucd-page h2.title{margin:30px 0 12px !important}
@media (min-width:992px){.ucd-gallery img{max-height:540px}}

/* 20261101r search result cards refresh */
.result-section .result-card{background:#fff;border:1px solid #ececec;border-radius:16px;box-shadow:0 2px 10px rgba(0,0,0,.05);padding:16px 18px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.result-section .result-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.09);border-color:#FFAF2D}
.result-section .result-card.active{border-color:#FFAF2D}
.result-section .result-card .actions{gap:10px !important;margin-bottom:6px}
.result-section .result-card .actions .icon_custom{width:38px;height:38px;border-radius:50%;background:#f3f3f3;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s,border-color .2s,transform .15s}
.result-section .result-card .actions .icon_custom:hover{background:#fff4e0;border-color:#FFAF2D;transform:scale(1.08)}
.result-section .result-card .actions .icon_custom:active{transform:scale(.9)}
.result-section .result-card .actions .icon_custom svg{width:19px;height:19px}
.result-section .result-card .body .img img{border-radius:12px;border:1px solid #eee;background:#fff;object-fit:contain}
.result-section .result-card .content .title{font-weight:700;letter-spacing:-.01em}
.result-section .result-card .more .text-main{color:#111 !important;border-bottom:2px solid #FFAF2D;padding-bottom:1px}
@media (max-width:767px){.result-section .result-card{padding:14px}.result-section .result-card .actions .icon_custom{width:36px;height:36px}}

/* 20261101t round icons in top-right corner (strong) */
body .result-section .result-card{position:relative !important}
body .result-section .result-card .actions{position:absolute !important;top:12px !important;right:12px !important;margin:0 !important;z-index:2}
body .result-section .result-card .actions .icon_custom{border-radius:50% !important;width:36px !important;height:36px !important;min-width:36px !important;padding:0 !important;display:inline-flex !important;align-items:center !important;justify-content:center !important}
body .result-section .result-card .content{padding-right:84px}


/* 20261101v mobile search card: remove empty strip, round real top */
@media (max-width:991.98px){
body #ucp-search.ucp-new-find{height:0 !important;min-height:0 !important;padding:0 !important;margin:0 !important;background:transparent !important;border-radius:0 !important;box-shadow:none !important;overflow:hidden !important}
body .filter-section .slider-b.nav-tabs{border-radius:24px 24px 0 0 !important;margin-top:8px !important}
body .filter-section .slider-b + .tab-content{border-left:0 !important;border-right:0 !important}
}

/* 20261101w tiles: keep dark on hover */
body .filter-section .slider-b .slider-btn:not(.active):hover,body .filter-section .slider-b .nav-link:not(.active):hover{background:#2a2a2a !important;opacity:1 !important}
body .filter-section .slider-b .slider-btn:not(.active):hover span{color:#fff !important}

/* 20261101x equal gap above search card (mobile) */
@media (max-width:991.98px){
body .ucp-new{margin-bottom:0 !important;padding-bottom:0 !important}
body .filter-section .slider-b.nav-tabs{margin-top:20px !important}
}

/* 20261101y mobile: hide desktop tab bar that adds empty gap */
@media (max-width:991.98px){
body .filter-section ul.nav.nav-tabs:not(.slider-b){display:none !important;margin:0 !important;height:0 !important}
body .filter-section .slider-b.nav-tabs{margin-top:20px !important}
}

/* 20261101z mobile: pull search card up to match other gaps */
@media (max-width:991.98px){
body .filter-section .slider-b.nav-tabs{margin-top:-20px !important}
}

/* 20261101 profile details polish */
h2.usp-h{font-size:21px !important;font-weight:700 !important;color:#111;border-left:4px solid #FFAF2D;padding-left:12px;line-height:1.3;margin-top:28px !important;margin-bottom:14px !important}
.badge.usp-tag{display:inline-block;background:#fff !important;color:#222 !important;border:1px solid #e3e3e3 !important;border-radius:999px;padding:8px 16px;font-size:14px;font-weight:500;margin:0 8px 10px 0;transition:border-color .2s,background .2s}
.badge.usp-tag:hover{border-color:#FFAF2D !important;background:#fff8ea !important}
p.usp-addr{font-size:16px !important;color:#444 !important;line-height:1.7}
@media(max-width:576px){h2.usp-h{font-size:19px !important}.badge.usp-tag{font-size:13px;padding:7px 13px}}

/* 20261101 saved list page: undo homepage search-card styles */
body #result-section.wl-page .nav-tabs::before,body #result-section.wl-page .nav-tabs::after{content:none !important;display:none !important}
body #result-section.wl-page .nav-tabs{background:transparent !important;box-shadow:none !important;border:0 !important;border-radius:0 !important;padding:0 !important;margin:10px 0 24px !important;max-width:none !important;width:auto !important;display:flex !important;gap:10px;flex-wrap:wrap}
body #result-section.wl-page .nav-tabs .nav-link{border-radius:999px !important;padding:10px 22px !important;border:1px solid #e3e3e3 !important;background:#fff !important;color:#111 !important;min-height:0 !important;height:auto !important}
body #result-section.wl-page .nav-tabs .nav-link.active{background:linear-gradient(135deg,#f5c542,#e8b060) !important;border-color:transparent !important}
body #result-section.wl-page .tab-content{background:transparent !important;box-shadow:none !important;border:0 !important;padding:0 !important}
body #result-section.wl-page .tab-pane.active{display:grid !important;grid-template-columns:1fr 1fr;gap:20px;margin:0 !important}
body #result-section.wl-page .tab-pane.active > .row{display:contents !important}
body #result-section.wl-page .tab-pane.active .col-lg-6{width:auto !important;max-width:none !important;padding:0 !important;margin:0 !important}
@media(max-width:991px){body #result-section.wl-page .tab-pane.active{grid-template-columns:1fr}}

/* 20261101 saved list page: reset container, tabs, buttons */
body #result-section.wl-page > .container{background:transparent !important;box-shadow:none !important;border:0 !important;border-radius:0 !important;padding-top:0 !important;height:auto !important;min-height:0 !important;overflow:visible !important}
body #result-section.wl-page > .container::before,body #result-section.wl-page > .container::after{content:none !important;display:none !important}
body #result-section.wl-page .nav-tabs .nav-item{background:transparent !important;padding:0 !important;margin:0 !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;width:auto !important;height:auto !important;min-height:0 !important;flex:0 0 auto !important}
body #result-section.wl-page .nav-tabs .nav-item::before,body #result-section.wl-page .nav-tabs .nav-item::after,body #result-section.wl-page .nav-tabs .nav-link::before,body #result-section.wl-page .nav-tabs .nav-link::after{content:none !important;display:none !important}
body #result-section.wl-page .nav-tabs .nav-link{width:auto !important;font-size:15px !important;font-weight:600 !important;line-height:1.2 !important;box-shadow:none !important}
body #result-section.wl-page .tab-content,body #result-section.wl-page .tab-pane{height:auto !important;min-height:0 !important;overflow:visible !important;position:static !important}
body #result-section.wl-page .text-center.d-flex{margin-top:36px !important;gap:14px;position:relative;z-index:3;flex-wrap:wrap}

/* 20261101 saved list details panel: readable tags */
body #result-section.wl-page .more-details .p-row:not(:has(img)){display:flex !important;flex-wrap:wrap !important;gap:8px 10px !important;margin:0 0 6px !important}
body #result-section.wl-page .more-details .p-row:not(:has(img)) > [class*="col-"]{flex:0 0 auto !important;width:auto !important;max-width:none !important;padding:0 !important;margin:0 !important}
body #result-section.wl-page .more-details .p-row:not(:has(img)) > [class*="col-"] > *{display:inline-block !important;width:auto !important;height:auto !important;min-width:0 !important;max-width:none !important;border-radius:999px !important;padding:8px 16px !important;background:#fff !important;color:#222 !important;border:1px solid #e3e3e3 !important;font-size:14px !important;line-height:1.3 !important;white-space:nowrap !important;overflow:visible !important;text-overflow:clip !important}

/* 20261101 mobile search card: remove leftover gap above form text */
@media (max-width:991.98px){
body .filter-section .slider-b + .tab-content{padding-top:18px !important}
}

/* 20261101 login page: move card up on phones */
@media (max-width:767.98px){
body .auth-page .login-content.page-card,body .auth-page section[class^="for-"] .page-card{margin-top:20px !important}
body .auth-page,body .auth-page .page-content,body .auth-page .page_content,body .auth-page main,body .auth-page section[class^="for-"]{min-height:0 !important;justify-content:flex-start !important;align-items:stretch !important;padding-top:0 !important;margin-top:0 !important}
}

/* 20261101 hide AR language switch until Arabic version is ready */
.js-lang-switch-btn{display:none !important}

/* 20261101 Get Help Choosing pop-up: proper spacing on phones */
@media (max-width:767.98px){
#ucHelpModal .modal-dialog{margin:12px auto !important;width:calc(100% - 24px) !important;max-width:calc(100% - 24px) !important}
#ucHelpModal .modal-content{border-radius:20px !important;overflow:hidden;box-sizing:border-box}
#ucHelpModal .modal-body{padding:22px 20px !important;box-sizing:border-box}
#ucHelpModal .modal-body *{box-sizing:border-box;max-width:100%}
#ucHelpModal .form-control{width:100% !important}
#ucHelpModal .uch-close{position:absolute;top:14px;right:14px;z-index:3}
#ucHelpModal .uch-title{padding-right:44px;font-size:22px !important;line-height:1.3}
body.modal-open{overflow-x:hidden !important}
}

/* 20261101 stop iPhone auto-zoom on form fields (needs 16px text) */
@media (max-width:767.98px){
input,select,textarea,.form-control,.form-select{font-size:16px !important}
}

/* 20261101 hide search filter icon until redesigned */
body .filter-section .tab-content .filter-btn{display:none !important}
