/* CW BUTTON THUMB RULE (Sir, 25 Nov 2026) — applies to every button on learn.careerwave.org (not blog post bodies for now; future blogs follow it).
   Desktop: button padding 2px top/bottom, 3px sides; 6px gap between buttons and between rows; 4px padding inside button bars/containers.
   Phone: the same rule scaled down in proportion to the screen (about 1.5px/2px, 4px gaps, 3px container padding) via clamp() on vw.
   Change the four variables below to retune the whole site. New buttons: use these variables, never fixed paddings. */
:root{--cw-bp-y:clamp(1.5px,.15vw,2px);--cw-bp-x:clamp(2px,.22vw,3px);--cw-gap:clamp(4px,.45vw,6px);--cw-pad:clamp(3px,.3vw,4px)}

/* 1) buttons, chips, tabs, pills */
html body :is(.cwt-ch,.cwx-tabs a,.cwx-tabs button,.cwt-rp,.cwt-go,.cwt-ctx a,.cwm-ql a,.cwm-pql a,.cwx-chips a,.cwx-chips button,.cwx-jump a,.cw-cat-chip,.cw-cat-badge,.cw93-pill,.cwx-more,.cwx-btn,.cwb-btn,.cwb-more-btn,.cwb-links a,.cwx-g,.cwx-nav){padding:var(--cw-bp-y) var(--cw-bp-x)!important;min-height:0!important;height:auto!important;max-height:none!important;gap:var(--cw-gap)}
html body :is(.cwt-ch,.cwx-tabs a,.cwt-rp,.cwt-go,.cwm-ql a,.cwm-pql a,.cwx-chips a,.cwx-jump a,.cw-cat-chip,.cw93-pill){border-radius:999px!important}
html body .cwt-ch{display:inline-flex!important;align-items:center!important;border:0!important;background:#1E3A6E!important;color:#fff!important;font-size:13px!important}
html body .cwt-ch small{order:-1;display:inline-grid!important;place-items:center;min-width:20px;height:20px;padding:0 4px!important;border-radius:999px!important;background:#16A34A!important;color:#fff!important;font-weight:800!important;font-size:10.5px!important;line-height:1!important}
html body .cwt-ch.on{background:#FCD34D!important;color:#0B1F4B!important}
html body .cwt-ch.on small{background:#0B1F4B!important;color:#FCD34D!important}
html body .cwt-ch[hidden],html body .cwt-row[hidden]{display:none!important}
html body .cwt-ch:focus:not(:focus-visible){outline:none!important;box-shadow:none!important}

/* 2) gaps between buttons and between rows */
html body :is(.cwt-row,.cwt-br,.cwx-tabs,.cwt-res,.cwt-rl,.cwx-chips,.cwx-jump,.cw-cat-chips,.cw93-btns,.cwx-btns,.cwb-cta,.cwb-links,.cwm-ql,.cwm-pql){gap:var(--cw-gap)!important}
html body .cwt-row{padding-bottom:0!important}
html body .cwt-row>b{margin:0!important;padding:0!important}

/* 3) 4px padding inside button bars */
html body :is(.cwt-top.cwt-slim,.cwx-tabs,.cwt-res){padding:var(--cw-pad)!important}
html body .cwt-top.cwt-slim{margin-bottom:var(--cw-gap)!important}
html body .cwt-top.cwt-slim + *{margin-top:0!important}
html body .cwt-res{margin-top:var(--cw-gap)!important;border-radius:999px!important}
html body .cwx-tabs{border-radius:999px!important}
html body .cwt-rh{padding-left:8px!important}

/* 4) finder layout: desktop dividers between parts; phone aligned labels, no dividers, one-line page links */
@media (min-width:992px){
 html body .cwt-top.cwt-slim .cwt-slh{padding:0 8px 0 6px!important;margin:0!important;border-right:1px solid rgba(255,255,255,.28)}
 html body .cwt-top.cwt-slim :is(.cwt-row[data-row="g"],.cwt-row[data-row="e"]){border-left:1px solid rgba(255,255,255,.28);padding-left:var(--cw-gap)!important}
}
@media (max-width:991px){
 html body .cwt-row>b{flex:0 0 70px!important;width:70px!important;min-width:70px!important;white-space:nowrap!important;letter-spacing:.02em!important;font-size:10px!important}
 html body :is(.cwt-row[data-row="g"],.cwt-row[data-row="e"]){border-top:0!important;border-left:0!important;padding-top:0!important;padding-left:0!important}
 html body .cwt-res{flex-wrap:nowrap!important}
 html body .cwt-rh{display:none!important}
 html body .cwt-rl{order:0!important;flex:1 1 auto!important;flex-basis:auto!important}
}
/* finder chips: beat older page-level phone rules */
html body .cwt-top .cwt-row .cwt-ch{padding:var(--cw-bp-y) var(--cw-bp-x)!important;min-height:0!important;height:auto!important;gap:var(--cw-gap)!important}
/* 25 Nov 2026: no ring/border around the Career Wave logo anywhere (Sir) */
img[src*="/images/fav/cw-logo-"],img[src*="companyLogo/1744809333"],.navbar .navbar-brand img,#mySidenav .sidenav-logo,footer .footer-logo img{box-shadow:none!important;border:0!important;outline:0!important;background:transparent!important;padding:0!important}
