/* =========================================================
   GoHRMS Blog styles. Everything is scoped under .gb and uses
   gb- prefixed classes so it never clashes with Bootstrap or
   the main theme (style.css).
   ========================================================= */
.gb { --gb-theme: #04b4e4; --gb-theme-dark: #0391b8; --gb-green: #00c27a; --gb-title: #1F1F1F;
      --gb-body: #5C6574; --gb-light: #72849B; --gb-smoke2: #F8F8F8; --gb-smoke3: #EBEEFF;
      --gb-smoke4: #F2FBFE; --gb-border: #E0E0E0; --gb-yellow: #FFB539; }
.gb ul { padding: 0; margin: 0; }
.gb li { list-style: none; }
.gb h1, .gb h2, .gb h3, .gb h4 { font-family: var(--title-font); color: var(--gb-title); font-weight: 600; line-height: 1.3; margin: 0; }
.gb a { text-decoration: none; }

/* buttons (pill, same as theme) */
.gb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--gb-theme); color: #fff !important; font-weight: 500; font-size: 15px; padding: 14px 28px; border-radius: 50px; border: 0; transition: .3s; cursor: pointer; }
.gb-btn:hover { background: var(--gb-title); }
.gb-btn.white { background: #fff; color: var(--gb-title) !important; }
.gb-btn.white:hover { background: var(--gb-title); color: #fff !important; }
.gb-btn.outline { background: transparent; border: 1.5px solid var(--gb-theme); color: var(--gb-theme) !important; }
.gb-btn.outline:hover { background: var(--gb-theme); color: #fff !important; }
.gb-btn.block { width: 100%; }

/* labels */
.gb-sub { display: inline-block; background: #e3f6fc; color: var(--gb-theme); font-weight: 500; font-size: 14px; padding: 5px 18px; border-radius: 30px; }
.gb-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 30px; margin: 0 4px 4px 0; }
.gb-c-payroll { background: #e3f6fc; color: #0391b8; }
.gb-c-compliance { background: #e3f8ef; color: #00995f; }
.gb-c-codes { background: #fff3df; color: #c47a00; }
.gb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 14px; color: var(--gb-light); }
.gb-meta i { color: var(--gb-theme); margin-right: 5px; }

/* illustration thumbnails */
.gb-thumb { position: relative; border-radius: 18px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gb-thumb img { max-height: 72%; max-width: 80%; position: relative; z-index: 1; }
.gb-thumb .gb-tag { position: absolute; top: 16px; left: 16px; z-index: 2; }
.gb-thumb:before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.45); right: -60px; top: -80px; }
.gb-thumb:after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; border: 2px dashed rgba(4,180,228,.25); left: -40px; bottom: -50px; }
.gb-g1 { background: linear-gradient(135deg, #dff6fd 0%, #b7e9f8 100%); }
.gb-g2 { background: linear-gradient(135deg, #e6faf2 0%, #c7f0de 100%); }
.gb-g3 { background: linear-gradient(135deg, #fff6e6 0%, #ffe5bd 100%); }

/* author */
.gb-author { display: flex; align-items: center; gap: 12px; }
.gb-avatar { width: 50px; height: 50px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-family: var(--title-font); background: linear-gradient(135deg, var(--gb-theme), var(--gb-green)); }
.gb-author b { display: block; color: var(--gb-title); font-weight: 600; font-size: 15.5px; font-family: var(--title-font); }
.gb-author small { font-size: 13px; color: var(--gb-light); }

/* sidebar widgets */
.gb-widget { background: var(--gb-smoke2); border-radius: 22px; padding: 28px; margin-bottom: 26px; }
.gb-widget h4 { font-size: 20px; margin-bottom: 6px; }
.gb-bar { width: 46px; height: 3px; background: linear-gradient(90deg, var(--gb-theme) 0 40%, transparent 40% 55%, var(--gb-theme) 55%); margin-bottom: 20px; }
.gb-cta { background: var(--gb-theme); border-radius: 22px; padding: 32px 28px; color: #e8f9fe; position: relative; overflow: hidden; margin-bottom: 26px; }
.gb-cta h4 { color: #fff; font-size: 23px; margin-bottom: 10px; position: relative; z-index: 1; }
.gb-cta p { font-size: 15px; margin-bottom: 20px; color: #e8f9fe; position: relative; z-index: 1; }
.gb-cta ul { margin-bottom: 22px; } .gb-cta li { font-size: 14.5px; margin-bottom: 7px; color: #fff; } .gb-cta li i { margin-right: 8px; }
.gb-cta .gb-btn { position: relative; z-index: 1; }
.gb-cta:after { content: ""; position: absolute; width: 210px; height: 210px; border-radius: 50%; border: 28px solid rgba(255,255,255,.12); right: -80px; top: -80px; }
.gb-deadline { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 14px; padding: 13px 15px; margin-bottom: 12px; }
.gb-date { width: 58px; flex: none; text-align: center; border-radius: 10px; background: #e3f6fc; color: var(--gb-theme-dark); padding: 6px 0; line-height: 1.1; font-family: var(--title-font); }
.gb-date b { display: block; font-size: 20px; } .gb-date small { font-size: 10.5px; text-transform: uppercase; font-weight: 600; }
.gb-date.red { background: #ffe9ee; color: #d23d63; } .gb-date.green { background: #e3f8ef; color: #00995f; }
.gb-deadline strong { display: block; color: var(--gb-title); font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.gb-deadline span { font-size: 13px; }

/* =========================== LISTING =========================== */
.gb-hero { background: var(--gb-smoke4); position: relative; overflow: hidden; padding: 190px 0 80px; text-align: center; }
.gb-ring { position: absolute; border: 1.5px solid rgba(4,180,228,.18); border-radius: 50%; pointer-events: none; }
.gb-hero h1 { font-size: 54px; font-weight: 700; max-width: 900px; margin: 18px auto; line-height: 1.2; }
.gb-hero h1 span { color: var(--gb-theme); }
.gb-hero p { font-size: 18px; max-width: 720px; margin: 0 auto; }
.gb-featured { margin: 70px 0; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; background: #fff; border-radius: 28px; box-shadow: 0 20px 60px rgba(13,40,70,.08); padding: 26px 56px 26px 26px; border: 1px solid #eef2f6; }
.gb-featured .gb-thumb { height: 420px; }
.gb-featured h2 { font-size: 34px; margin: 14px 0 16px; line-height: 1.28; }
.gb-featured h2 a { color: var(--gb-title); } .gb-featured h2 a:hover { color: var(--gb-theme); }
.gb-featured p { font-size: 16.5px; margin-bottom: 24px; }
.gb-feat-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; padding-top: 24px; border-top: 1px solid #eef1f4; }
.gb-main { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding-bottom: 90px; }
.gb-sec-head h2 { font-size: 32px; margin: 12px 0 26px; }
.gb-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gb-topic { display: flex; gap: 18px; background: #fff; border: 1px solid #edf0f4; border-radius: 20px; padding: 24px; box-shadow: 0 10px 30px rgba(13,40,70,.04); }
.gb-topic .ic { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 20px; }
.gb-topic h3 { font-size: 18.5px; margin-bottom: 6px; }
.gb-topic p { font-size: 15px; line-height: 1.6; margin: 0; }

/* =========================== ARTICLE =========================== */
.gb-top { background: var(--gb-smoke4); padding: 160px 0 210px; position: relative; overflow: hidden; }
.gb-crumb { font-size: 14px; color: var(--gb-light); margin-bottom: 28px; }
.gb-crumb a { color: var(--gb-title); } .gb-crumb a:hover { color: var(--gb-theme); } .gb-crumb i { font-size: 10px; margin: 0 10px; }
.gb-top .inner { max-width: 940px; position: relative; z-index: 1; }
.gb-top h1 { font-size: 50px; font-weight: 700; line-height: 1.2; margin: 16px 0 18px; }
.gb-top .lead { font-size: 19px; line-height: 1.7; margin-bottom: 30px; }
.gb-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.gb-byline .sep { width: 1px; height: 36px; background: #d5e6ee; }
.gb-reviewed { display: inline-flex; align-items: center; gap: 8px; background: #e3f8ef; color: #00995f; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 30px; }

.gb-banner { margin-top: -170px; position: relative; z-index: 2; min-height: 440px; border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; background: linear-gradient(120deg, #0aa6d6 0%, #04b4e4 55%, #19c39a 130%); box-shadow: 0 30px 70px rgba(4,120,160,.22); }
.gb-banner .l { padding: 60px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.gb-banner small { text-transform: uppercase; letter-spacing: 2px; font-weight: 600; font-size: 13px; opacity: .85; }
.gb-banner .big { font-family: var(--title-font); font-weight: 700; font-size: 88px; line-height: 1; margin: 14px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; color: #fff; }
.gb-banner .big s { font-size: 44px; opacity: .55; font-weight: 600; }
.gb-banner .big i { font-size: 32px; opacity: .8; }
.gb-banner .l p { font-size: 18px; color: #e8fbff; margin: 0; }
.gb-banner .r { display: flex; align-items: center; justify-content: center; position: relative; }
.gb-banner .r img { max-height: 76%; max-width: 82%; position: relative; z-index: 1; }
.gb-banner .r:before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.16); }

.gb-layout { display: grid; grid-template-columns: 60px minmax(0, 1fr) 360px; gap: 44px; padding: 70px 0 90px; }
.gb-share { position: sticky; top: 160px; align-self: start; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.gb-share small { font-size: 12px; font-weight: 600; color: var(--gb-light); text-transform: uppercase; letter-spacing: 1px; }
.gb-share a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gb-smoke2); color: var(--gb-title); font-size: 17px; transition: .3s; }
.gb-share a:hover { background: var(--gb-theme); color: #fff; }
.gb-share a.li { background: #0a66c2; color: #fff; } .gb-share a.wa { background: #25d366; color: #fff; }

.gb-article { font-size: 17.5px; line-height: 1.85; color: #4b5563; }
.gb-article h2 { font-size: 31px; margin: 50px 0 18px; scroll-margin-top: 150px; }
.gb-article p { margin-bottom: 20px; }
.gb-article strong { color: var(--gb-title); }
.gb-article a { color: var(--gb-theme); }
.gb-ticks { margin-bottom: 24px !important; }
.gb-ticks li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.gb-ticks li:before { content: "\f00c"; font-family: var(--icon-font); font-weight: 900; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #e3f6fc; color: var(--gb-theme); font-size: 11px; display: grid; place-items: center; }
.gb-key { background: var(--gb-smoke4); border: 1px solid #cdeef8; border-radius: 22px; padding: 30px 34px; margin-bottom: 34px; scroll-margin-top: 150px; }
.gb-key h2 { font-size: 20px !important; display: flex; gap: 12px; align-items: center; margin: 0 0 16px !important; }
.gb-key h2 i { width: 38px; height: 38px; border-radius: 10px; background: var(--gb-theme); color: #fff; display: grid; place-items: center; font-size: 16px; }
.gb-key li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 16.5px; }
.gb-key li:before { content: ""; position: absolute; left: 4px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--gb-green); }

.gb-table-wrap { overflow-x: auto; margin: 10px 0 30px; }
.gb-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #e6eaef; border-radius: 18px; overflow: hidden; font-size: 16px; margin: 0; }
.gb-table th { background: var(--gb-title); color: #fff; font-family: var(--title-font); font-weight: 600; text-align: left; padding: 16px 22px; border: 0; }
.gb-table th.new { background: var(--gb-theme); }
.gb-table td { padding: 15px 22px; border: 0; border-top: 1px solid #eef1f4; color: var(--gb-title); }
.gb-table tr:nth-child(even) td { background: #fafbfc; }
.gb-table td.up { color: #00995f; font-weight: 600; }
.gb-table td.up i { margin-left: 6px; font-size: 12px; }

.gb-callout { display: flex; gap: 20px; background: #fff8ea; border-left: 5px solid var(--gb-yellow); border-radius: 0 18px 18px 0; padding: 26px 30px; margin: 10px 0 30px; scroll-margin-top: 150px; }
.gb-callout .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--gb-yellow); color: #fff; display: grid; place-items: center; font-size: 19px; }
.gb-callout b { color: var(--gb-title); font-family: var(--title-font); font-size: 18px; display: block; margin-bottom: 6px; }
.gb-callout p { margin: 0; font-size: 16px; }
.gb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.gb-split div { background: #fff; border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.gb-split b { font-size: 15px; display: inline; }

.gb-example { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 10px 0 18px; }
.gb-ex { border-radius: 20px; padding: 26px 28px; border: 1px solid #e6eaef; }
.gb-ex.after { border: 2px solid var(--gb-theme); background: #f6fcfe; }
.gb-ex .lbl { font-size: 13px; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; color: var(--gb-light); }
.gb-ex.after .lbl { color: var(--gb-theme); }
.gb-ex .row2 { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed #e1e6eb; font-size: 15.5px; }
.gb-ex .row2 b { color: var(--gb-title); font-family: var(--title-font); font-weight: 600; }
.gb-ex .tot { background: var(--gb-title); color: #fff; border-radius: 12px; padding: 12px 16px; display: flex; justify-content: space-between; margin-top: 12px; font-size: 15px; }
.gb-ex.after .tot { background: var(--gb-theme); }
.gb-ex .tot b { color: #fff; font-family: var(--title-font); }
.gb-note { font-size: 14.5px; color: var(--gb-light); margin-bottom: 26px; }

.gb-step { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #eef1f4; }
.gb-step:last-child { border: 0; }
.gb-step .n { width: 46px; height: 46px; flex: none; border-radius: 50%; background: #e3f6fc; color: var(--gb-theme); font-family: var(--title-font); font-weight: 700; display: grid; place-items: center; font-size: 17px; }
.gb-step b { color: var(--gb-title); font-family: var(--title-font); font-size: 18px; display: block; margin-bottom: 4px; }
.gb-step p { margin: 0; font-size: 16px; }

.gb-product { display: grid; grid-template-columns: 1fr 1.05fr; border-radius: 24px; overflow: hidden; background: var(--gb-title); margin: 30px 0; scroll-margin-top: 150px; }
.gb-product .t { padding: 40px; color: #c9d3de; }
.gb-product .t h2 { color: #fff; font-size: 25px; margin: 14px 0 14px; }
.gb-product .t li { font-size: 15.5px; margin-bottom: 9px; color: #fff; }
.gb-product .t li i { color: var(--gb-green); margin-right: 9px; }
.gb-product .gb-sub { background: rgba(4,180,228,.18); }
.gb-product .img { background: linear-gradient(135deg, #04b4e4, #19c39a); padding: 40px 0 40px 34px; display: flex; align-items: center; overflow: hidden; }
.gb-product .img img { width: 150%; max-width: none; border-radius: 14px 0 0 14px; display: block; box-shadow: -10px 10px 40px rgba(0,0,0,.22); }

.gb-faq .accordion-card { background: #fff; }
.gb-tagsrow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 26px 0; border-top: 1px solid #eef1f4; border-bottom: 1px solid #eef1f4; margin-top: 40px; font-size: 14px; }
.gb-tagsrow span { background: var(--gb-smoke2); padding: 6px 15px; border-radius: 30px; color: var(--gb-title); }
.gb-bio { display: flex; gap: 24px; background: var(--gb-smoke2); border-radius: 22px; padding: 30px; margin: 34px 0 0; }
.gb-bio .gb-avatar { width: 86px; height: 86px; font-size: 26px; }
.gb-bio b { font-family: var(--title-font); color: var(--gb-title); font-size: 19px; }
.gb-bio p { font-size: 15.5px; margin: 6px 0 0; line-height: 1.7; }
.gb-sources { font-size: 14px; color: var(--gb-light); margin-top: 26px; }

.gb-sticky { position: sticky; top: 150px; }
.gb-toc li a { display: block; font-size: 15px; padding: 9px 0 9px 18px; border-left: 2px solid #e1e6eb; color: var(--gb-title); line-height: 1.45; transition: .2s; }
.gb-toc li a:hover, .gb-toc li a.on { border-color: var(--gb-theme); color: var(--gb-theme); }
.gb-toc li a.on { font-weight: 600; background: linear-gradient(90deg, #e3f6fc, transparent); }
.gb-progress { height: 6px; border-radius: 6px; background: #e3e8ee; margin: 4px 0 6px; overflow: hidden; }
.gb-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gb-theme), var(--gb-green)); transition: width .1s; }
.gb-calc label { font-size: 13px; color: var(--gb-light); display: block; margin-bottom: 6px; }
.gb-calc input { width: 100%; border: 1px solid #e1e6eb; border-radius: 10px; padding: 10px 14px; color: var(--gb-title); font-weight: 600; font-family: var(--title-font); background: #fff; height: auto; margin-bottom: 12px; }
.gb-res { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gb-res div { background: #fff; border-radius: 12px; padding: 12px 14px; }
.gb-res small { font-size: 12px; color: var(--gb-light); display: block; }
.gb-res b { font-family: var(--title-font); color: var(--gb-title); font-size: 19px; }
.gb-calc .hint { font-size: 12.5px; color: var(--gb-light); margin: 10px 0 0; line-height: 1.5; }


/* ---------- article cards (listing + "keep reading") ---------- */
.gb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.gb-card { display: block; background: #fff; border-radius: 22px; border: 1px solid #edf0f4; box-shadow: 0 10px 30px rgba(13,40,70,.05); padding: 14px; transition: .3s; }
.gb-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(13,40,70,.10); }
.gb-card .gb-thumb { height: 220px; }
.gb-card .in { padding: 20px 12px 10px; }
.gb-card h3 { font-size: 20px; margin: 0 0 10px; line-height: 1.38; color: var(--gb-title); }
.gb-card p { font-size: 14.5px; line-height: 1.65; margin-bottom: 16px; color: var(--gb-body); }
.gb-card .gb-meta { justify-content: space-between; border-top: 1px dashed #e3e7ec; padding-top: 14px; font-size: 13.5px; }
.gb-card .more { color: var(--gb-theme); font-weight: 600; }
.gb-keep { margin-top: 40px; }
.gb-keep h2 { margin-top: 0 !important; }

/* ---------- compliance calendar ---------- */
.gb-cycle { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 10px 0 30px; }
.gb-cycle div { background: var(--gb-smoke4); border: 1px solid #cdeef8; border-radius: 18px; padding: 20px 18px; text-align: center; }
.gb-cycle b { display: block; font-family: var(--title-font); font-size: 30px; color: var(--gb-theme); line-height: 1.1; }
.gb-cycle span { display: block; font-size: 14.5px; color: var(--gb-title); font-weight: 600; margin-top: 6px; line-height: 1.4; }
.gb-cycle small { display: block; font-size: 13px; color: var(--gb-light); margin-top: 4px; line-height: 1.4; }
.gb-months { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 10px 0 30px; }
.gb-month { border: 1px solid #e6eaef; border-radius: 18px; overflow: hidden; background: #fff; }
.gb-month h3 { background: var(--gb-title); color: #fff; font-size: 17px; padding: 12px 20px; margin: 0; }
.gb-month.hot h3 { background: var(--gb-theme); }
.gb-month ul { padding: 8px 20px 12px !important; }
.gb-month li { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px dashed #e6eaef; font-size: 15px; line-height: 1.5; }
.gb-month li:last-child { border: 0; }
.gb-month li b { flex: none; width: 54px; color: var(--gb-theme-dark); font-family: var(--title-font); font-weight: 600; }
.gb-month li.big b { color: #d23d63; }
.gb-next { background: var(--gb-title); border-radius: 22px; padding: 28px; margin-bottom: 26px; color: #c9d3de; }
.gb-next h4 { color: #fff; font-size: 19px; margin-bottom: 14px; }
.gb-next .days { font-family: var(--title-font); font-size: 46px; font-weight: 700; color: #fff; line-height: 1; }
.gb-next .days small { font-size: 16px; font-weight: 500; color: #c9d3de; margin-left: 6px; }
.gb-next .what { color: #fff; font-weight: 600; margin: 12px 0 4px; font-size: 15.5px; line-height: 1.4; }
.gb-next .when { font-size: 14px; }

/* ---------- 50% test calculator ---------- */
.gb-meter { height: 12px; border-radius: 12px; background: #e3e8ee; overflow: hidden; margin: 12px 0 8px; position: relative; }
.gb-meter span { display: block; height: 100%; background: var(--gb-green); transition: width .2s; }
.gb-meter:after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: var(--gb-title); }
.gb-verdict { border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5; margin-top: 10px; background: #e3f8ef; color: #00795a; }
.gb-verdict.warn { background: #fff3df; color: #9a5d00; }
.gb-verdict b { color: inherit; }
.gb-compare th, .gb-compare td { font-size: 15px; }
.gb-yes { color: #00995f; font-weight: 600; } .gb-no { color: #d23d63; font-weight: 600; } .gb-maybe { color: #c47a00; font-weight: 600; }

@media (max-width: 991px) {
  .gb-grid, .gb-months { grid-template-columns: 1fr; }
  .gb-cycle { grid-template-columns: 1fr 1fr; }
}


/* ---------- calculator tool pages ---------- */
.gb-tool { margin-top: -170px; position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(13,40,70,.14); border: 1px solid #eef2f6; }
.gb-tool .inputs { padding: 40px 44px; }
.gb-tool .inputs h2 { font-size: 24px; margin-bottom: 6px; }
.gb-tool .inputs > p { font-size: 15px; margin-bottom: 24px; }
.gb-field { margin-bottom: 20px; }
.gb-field label { display: block; font-weight: 600; color: var(--gb-title); font-size: 15px; margin-bottom: 8px; font-family: var(--title-font); }
.gb-field small { display: block; font-size: 13px; color: var(--gb-light); margin-top: 6px; }
.gb-field input[type=number] { width: 100%; height: 54px; border: 1.5px solid #e1e6eb; border-radius: 14px; padding: 0 18px; font-size: 17px; font-weight: 600; color: var(--gb-title); background: #fff; font-family: var(--title-font); margin: 0; }
.gb-field input[type=number]:focus { border-color: var(--gb-theme); outline: none; }
.gb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gb-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.gb-seg label { margin: 0; font-family: var(--body-font); font-weight: 500; }
.gb-seg input { position: absolute; opacity: 0; pointer-events: none; }
.gb-seg span { display: inline-block; padding: 10px 16px; border: 1.5px solid #e1e6eb; border-radius: 40px; font-size: 14.5px; color: var(--gb-title); cursor: pointer; transition: .2s; }
.gb-seg input:checked + span { background: var(--gb-theme); border-color: var(--gb-theme); color: #fff; }
.gb-seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(4,180,228,.3); }
.gb-field label.gb-check { font-family: var(--body-font); font-weight: 400; }
.gb-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--gb-body); cursor: pointer; }
/* the theme hides all checkboxes globally; show ours again */
.gb .gb-check input[type="checkbox"] { display: inline-block; visibility: visible; opacity: 1; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gb-theme); flex: none; }
.gb-tool .results { background: linear-gradient(135deg, #0aa6d6 0%, #04b4e4 55%, #19c39a 130%); color: #e8fbff; padding: 40px 44px; display: flex; flex-direction: column; }
.gb-tool .results small.k { text-transform: uppercase; letter-spacing: 2px; font-weight: 600; font-size: 12.5px; opacity: .9; }
.gb-tool .results .amount { font-family: var(--title-font); font-weight: 700; font-size: 58px; color: #fff; line-height: 1.1; margin: 8px 0 6px; word-break: break-word; }
.gb-tool .results .sub { font-size: 15.5px; margin-bottom: 22px; color: #e8fbff; }
.gb-rows { background: rgba(255,255,255,.14); border-radius: 18px; padding: 8px 20px; margin-bottom: 18px; }
.gb-rows div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,.3); font-size: 15px; }
.gb-rows div:last-child { border: 0; }
.gb-rows b { color: #fff; font-family: var(--title-font); font-weight: 600; text-align: right; }
.gb-rows div.total { font-size: 16px; } .gb-rows div.total b { font-size: 18px; }
.gb-flag { background: #fff; color: var(--gb-title); border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.55; margin-top: auto; }
.gb-flag.warn { background: #fff3df; color: #8a5300; }
.gb-flag b { color: inherit; }
.gb-tool .results .gb-btn { margin-top: 16px; align-self: flex-start; }
.gb-formula { background: var(--gb-title); color: #fff; border-radius: 18px; padding: 22px 26px; font-family: var(--title-font); font-size: 20px; text-align: center; margin: 10px 0 26px; }
.gb-formula small { display: block; font-family: var(--body-font); font-size: 14px; color: #c9d3de; margin-top: 6px; }
.gb-tools-list a { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; color: var(--gb-title); transition: .2s; }
.gb-tools-list a:hover { box-shadow: 0 8px 22px rgba(13,40,70,.08); }
.gb-tools-list .ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 17px; }
.gb-tools-list b { font-size: 15px; font-weight: 600; display: block; font-family: var(--title-font); }
.gb-tools-list small { font-size: 12.5px; color: var(--gb-light); }
.gb-tools-list .go { margin-left: auto; color: var(--gb-theme); }
@media (max-width: 991px) {
  .gb-tool { grid-template-columns: minmax(0, 1fr); }
  .gb-tool .inputs, .gb-tool .results { padding: 30px 24px; }
  .gb-tool .results .amount { font-size: 44px; }
}
@media (max-width: 575px) { .gb-two { grid-template-columns: 1fr; } }


/* ---------- regime comparison (salary calculator) ---------- */
.gb-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.gb-vs > div { background: rgba(255,255,255,.14); border-radius: 18px; padding: 16px 18px; position: relative; border: 2px solid transparent; }
.gb-vs > div.win { background: #fff; color: var(--gb-title); border-color: #fff; }
.gb-vs h5 { font-size: 15px; color: #fff; margin: 0 0 10px; font-family: var(--title-font); }
.gb-vs .win h5 { color: var(--gb-title); }
.gb-vs .badge { position: absolute; top: -11px; right: 12px; background: var(--gb-green); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 20px; letter-spacing: .3px; }
.gb-vs .big { font-family: var(--title-font); font-size: 26px; font-weight: 700; color: #fff; line-height: 1.15; }
.gb-vs .win .big { color: var(--gb-title); }
.gb-vs small { display: block; font-size: 12.5px; opacity: .85; margin-bottom: 10px; }
.gb-vs .line { display: flex; justify-content: space-between; font-size: 13.5px; padding: 5px 0; border-top: 1px dashed rgba(255,255,255,.3); }
.gb-vs .win .line { border-top-color: #e3e7ec; }
.gb-vs .line b { font-family: var(--title-font); font-weight: 600; }
.gb-fold { border-top: 1px solid #eef1f4; margin-top: 8px; padding-top: 18px; }
.gb-fold > b { display: block; font-family: var(--title-font); color: var(--gb-title); font-size: 16px; margin-bottom: 4px; }
.gb-fold > small { display: block; font-size: 13px; color: var(--gb-light); margin-bottom: 16px; }
@media (max-width: 575px) { .gb-vs { grid-template-columns: 1fr; } }


/* long forms: keep the results panel in view while scrolling the inputs (desktop only) */
.gb-tool.tall { overflow: visible; background: linear-gradient(90deg, #fff 0 51.2%, #e9f8fd 51.2%); }
.gb-tool.tall .results { position: sticky; top: 150px; align-self: start; border-radius: 0 28px 28px 0; }
.gb-tool.tall .inputs { border-radius: 28px 0 0 28px; background: #fff; }
@media (max-width: 991px) {
  .gb-tool.tall { background: #fff; overflow: hidden; }
  .gb-tool.tall .results { position: static; border-radius: 0; }
  .gb-tool.tall .inputs { border-radius: 0; }
}


/* ---------- blog listing: search, topics, paging ---------- */
.gb-c-policy { background: #efeaff; color: #6b4fd8; }
.gb-c-leave { background: #ffe9ee; color: #d23d63; }
.gb-c-product { background: #eaf0ff; color: #3a64d8; }
.gb-c-perf { background: #e8ecff; color: #4a52d6; }
.gb-c-expense { background: #fff0e0; color: #c25e00; }
.gb-search { max-width: 760px; margin: 32px auto 0; background: #fff; border-radius: 60px; padding: 8px 8px 8px 26px; display: flex; align-items: center; gap: 12px; box-shadow: 0 14px 40px rgba(4,180,228,.14); }
.gb-search > i { color: var(--gb-light); }
.gb-search input[type=search] { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; height: 48px; font-size: 16px; color: var(--gb-title); padding: 0; margin: 0; box-shadow: none; }
.gb-search select { border: 0; border-left: 1px solid #e1e6eb; background: transparent; height: 40px; padding: 0 10px 0 16px; font-size: 14.5px; color: var(--gb-title); outline: none; max-width: 200px; cursor: pointer; margin: 0; }
.gb-search .gb-btn { padding: 13px 26px; }
.gb-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 34px 0 0; }
.gb-tabs a { padding: 9px 20px; border-radius: 40px; border: 1px solid var(--gb-border); font-weight: 500; font-size: 15px; color: var(--gb-title); display: inline-flex; gap: 8px; align-items: center; transition: .2s; background: #fff; }
.gb-tabs a:hover { border-color: var(--gb-theme); color: var(--gb-theme); }
.gb-tabs a.on { background: var(--gb-theme); border-color: var(--gb-theme); color: #fff; }
.gb-tabs a small { font-size: 12px; opacity: .75; }
.gb-results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 0 0 26px; }
.gb-results-head h2 { font-size: 30px; margin-top: 10px; }
.gb-results-head .count { color: var(--gb-light); font-size: 15px; }
.gb-results-head .clear { color: var(--gb-theme); font-weight: 600; font-size: 14.5px; }
.gb-pager { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 46px 0 0; }
.gb-pager a, .gb-pager span { min-width: 46px; height: 46px; border-radius: 46px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; border: 1px solid var(--gb-border); color: var(--gb-title); font-weight: 500; padding: 0 16px; }
.gb-pager a:hover { border-color: var(--gb-theme); color: var(--gb-theme); }
.gb-pager .on { background: var(--gb-theme); border-color: var(--gb-theme); color: #fff; }
.gb-pager .off { opacity: .4; }
.gb-pager .gap { border: 0; min-width: 20px; padding: 0; }
.gb-empty { text-align: center; background: var(--gb-smoke2); border-radius: 24px; padding: 56px 30px; }
.gb-empty i.big { font-size: 40px; color: var(--gb-theme); margin-bottom: 14px; display: block; }
.gb-empty h3 { font-size: 24px; margin-bottom: 10px; }
.gb-empty p { max-width: 520px; margin: 0 auto 20px; }
.gb-topic { transition: .2s; }
a.gb-topic:hover { border-color: var(--gb-theme); box-shadow: 0 12px 30px rgba(13,40,70,.08); }
.gb-topic .cnt { font-size: 13px; color: var(--gb-theme); font-weight: 600; margin-top: 6px; display: block; }
@media (max-width: 767px) {
  .gb-search { flex-wrap: wrap; border-radius: 22px; padding: 12px; }
  .gb-search input[type=search] { flex-basis: calc(100% - 40px); }
  .gb-search select { border-left: 0; border-top: 1px solid #e1e6eb; flex: 1; max-width: none; padding-left: 0; }
}

/* responsive */
@media (max-width: 1199px) {
  .gb-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .gb-share { display: none; }
  .gb-main { grid-template-columns: 1fr 320px; }
}
@media (max-width: 991px) {
  .gb-layout, .gb-main, .gb-featured, .gb-banner, .gb-product, .gb-topics { grid-template-columns: minmax(0, 1fr); }
  .gb-featured { padding: 20px; gap: 26px; }
  .gb-featured .gb-thumb { height: 280px; }
  .gb-banner .r { display: none; }
  .gb-sticky { position: static; }
  .gb-hero h1, .gb-top h1 { font-size: 36px; }
  .gb-banner .big { font-size: 56px; }
  .gb-top { padding: 130px 0 190px; }
}
@media (max-width: 575px) {
  .gb-example, .gb-split { grid-template-columns: 1fr; }
  .gb-banner .l { padding: 34px; }
  .gb-banner .big { font-size: 44px; } .gb-banner .big s { font-size: 28px; }
  .gb-article h2 { font-size: 25px; }
  .gb-feat-foot { flex-direction: column; align-items: flex-start; }
  .gb-byline .sep { display: none; }
  .gb-byline { gap: 14px; }
}
