/* ============================================================
   WEeB.in — theme.css  (FINAL 2026 refresh)
   ------------------------------------------------------------
   Palette derived from YOUR brand: logo orange #f2592a as the
   accent, deep navy as the primary (your logo wordmark is white,
   so the brand bar is navy). Loads after style.css and re-skins
   every existing Bootstrap-3 pattern + the new components:
   hero, search, chips, link-cards, comments, ebooks, 404.
   Re-color the whole site from the :root tokens below.
   ============================================================ */

:root {
  --brand:        #153e8c;   /* primary blue        */
  --brand-dark:   #0e2a63;
  --brand-darker: #0a1f4a;
  --brand-light:  #2f6ae0;
  --accent:       #f2592a;   /* YOUR logo orange    */
  --accent-dark:  #d43f10;
  --accent-soft:  #fff1ec;
  --bg:           #f4f6fb;
  --card:         #ffffff;
  --text:         #1f2430;
  --muted:        #5b6474;
  --line:         #e4e8f2;
  --footer-bg:    #0d1730;
  --radius:       14px;
  --radius-sm:    10px;
  --shadow-sm:    0 1px 3px rgba(16,27,58,.07);
  --shadow-md:    0 8px 24px rgba(16,27,58,.10);
  --shadow-lg:    0 14px 34px rgba(16,27,58,.16);
  --grad-brand:   linear-gradient(135deg,#153e8c 0%,#2f6ae0 100%);
  --grad-accent:  linear-gradient(135deg,#f2592a 0%,#ff8a5c 100%);
  --grad-navy:    linear-gradient(120deg,#0a1f4a 0%,#153e8c 60%,#1d4fb0 100%);
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body {
  background: var(--bg) !important;
  color: var(--text);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
#background-wrapper { background: none !important; }
h1,h2,h3,h4,h5,h6 { color: var(--brand-dark); font-weight: 700; line-height: 1.3; }
a { color: var(--brand-light); transition: color .18s ease; }
a:hover, a:focus { color: var(--accent-dark); text-decoration: none; }
::selection { background: var(--accent); color: #fff; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color: #fff; }

/* ---------- top bar ---------- */
.header_top {
  background: var(--brand-darker) !important; color: rgba(255,255,255,.85);
  border-bottom: 0 !important; padding: 7px 0; font-size: 13px;
}
.header_top a { color: rgba(255,255,255,.9); }
.header_top a:hover { color: #fff; }
.header-top-left ul { margin: 0; padding: 0; list-style: none; }
.header-top-left ul li { display: inline-block; margin-left: 18px; }
.header-top-left ul li i, .header-top-brand i { color: var(--accent); margin-right: 5px; }
.header-top-brand { display: inline-block; letter-spacing: .3px; }

/* ---------- brand bar (navy — white logo wordmark pops) ---------- */
.header {
  background: var(--grad-navy) !important;
  border-bottom: 0 !important; padding: 18px 0 !important;
}
.header-inner { display: flex; align-items: center; flex-wrap: wrap; }
.navbar-brand { padding: 0 !important; height: auto !important; float: none !important; display: inline-block; }
.navbar-brand img { max-height: 44px; width: auto; }
.navbar-slogan {
  display: inline-block; margin-left: 14px; vertical-align: middle;
  color: rgba(255,255,255,.85); font-size: 13px; line-height: 1.35; font-style: italic;
  border-left: 3px solid var(--accent); padding-left: 12px;
}
.nav-search-toggle {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff;
  width: 40px; height: 40px; border-radius: 50%; font-size: 16px; margin-top: 4px;
  transition: background .2s ease, transform .2s ease;
}
.nav-search-toggle:hover { background: var(--accent); transform: scale(1.06); }
.nav-search-band { background: var(--brand-darker); padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); }
.nav-search-band[hidden] { display: none; }
.nav-search-form { max-width: 640px; margin: 0 auto; }

/* ---------- sticky nav ---------- */
.navbar-default {
  background: var(--card) !important; border: 0 !important; border-radius: 0 !important;
  margin-bottom: 0 !important; min-height: 52px;
  position: sticky; top: 0; z-index: 1030;
  box-shadow: var(--shadow-sm); transition: box-shadow .25s ease;
}
.navbar-default.navbar-scrolled { box-shadow: var(--shadow-md); }
.navbar-mobile-title { display: none; }
#main-menu > li > a {
  color: var(--text) !important; font-weight: 500; font-size: 14px;
  padding: 16px 12px !important; position: relative; background: none !important;
}
#main-menu > li > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 10px; height: 3px;
  border-radius: 2px; background: var(--grad-accent);
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
#main-menu > li > a:hover::after, #main-menu > li > a:focus::after, #main-menu > li.active > a::after { transform: scaleX(1); }
#main-menu > li > a:hover, #main-menu > li > a:focus { color: var(--brand) !important; }
#main-menu > li > a > .fa { color: var(--accent); margin-right: 6px; }
.dropdown-menu {
  border: 1px solid var(--line) !important; border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-md) !important; padding: 8px !important; min-width: 220px;
}
.dropdown-menu > li > a { border-radius: 8px; padding: 9px 12px !important; color: var(--text) !important; font-size: 14px; }
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus { background: var(--bg) !important; color: var(--brand) !important; }
.navbar-toggle { border-color: var(--line) !important; margin-top: 9px; }
.navbar-toggle .icon-bar { background: var(--brand) !important; }

/* ---------- header ad slot ---------- */
.header-ad { background: #fff; padding: 10px 0; border-bottom: 1px solid var(--line); }
.header-ad ins, .footer-ad ins { display: block; margin: 0 auto; }

/* ---------- HERO ---------- */
.hero-band {
  background: var(--grad-navy); color: #fff; padding: 52px 0 58px;
  position: relative; overflow: hidden;
}
.hero-band::before, .hero-band::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.06);
}
.hero-band::before { width: 340px; height: 340px; right: -90px; top: -140px; }
.hero-band::after  { width: 220px; height: 220px; left: -70px; bottom: -110px; }
.hero-title { color: #fff !important; font-size: 34px; font-weight: 800; margin: 0 0 10px; letter-spacing: .2px; }
.hero-sub { color: rgba(255,255,255,.85); font-size: 16px; margin-bottom: 22px; }
.hero-search { max-width: 620px; margin: 0 auto 18px; position: relative; z-index: 2; }
.hero-search .form-control {
  height: 52px; border-radius: 999px 0 0 999px !important; border: 0 !important;
  font-size: 15.5px; padding-left: 22px; box-shadow: var(--shadow-md) !important;
}
.hero-search .input-group-btn > .btn { border-radius: 0 999px 999px 0 !important; height: 52px; padding: 0 26px !important; }
.hero-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  color: #fff !important; border-radius: 999px; padding: 7px 16px; font-size: 13px;
  transition: background .2s ease, transform .2s ease;
}
.chip:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* ---------- content / titles ---------- */
#content { padding: 36px 0 48px; }
.block-title {
  font-size: 26px; font-weight: 800; color: var(--brand-dark);
  text-align: center; position: relative; padding-bottom: 14px; margin: 6px 0 28px;
}
.block-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 64px; height: 4px; border-radius: 2px; background: var(--grad-accent);
}
.page-h1 { font-size: 28px; color: var(--brand-dark); margin: 4px 0 10px; position: relative; padding-bottom: 12px; }
.page-h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 2px; background: var(--grad-accent); }
.page-intro { color: var(--muted); max-width: 760px; margin-bottom: 22px; }
.section-sub { font-size: 21px; margin: 34px 0 12px; padding-top: 18px; border-top: 2px solid var(--line); }

/* ---------- category cards ---------- */
.cat-grid { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.cat-grid > [class*="col-"] { padding: 0 12px; display: flex; }
.panel, .panel-pricing {
  border: 1px solid var(--line) !important; border-radius: var(--radius) !important;
  box-shadow: var(--shadow-sm) !important; background: var(--card); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-card { width: 100%; display: flex; flex-direction: column; margin-bottom: 24px; }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg) !important; }
.cat-card .panel-heading {
  background: var(--card) !important; border-bottom: 1px solid var(--line) !important;
  text-align: center; padding: 20px 14px 14px !important;
}
.cat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 10px;
  background: var(--grad-brand); color: #fff; font-size: 24px;
  box-shadow: 0 6px 16px rgba(21,62,140,.28);
}
.cat-card .panel-title { font-size: 17px !important; font-weight: 700 !important; color: var(--brand-dark) !important; margin: 0; }
.cat-card .panel-body { flex: 1; display: flex; flex-direction: column; padding: 16px 18px 18px !important; }
.list-dotted { list-style: none; margin: 0 0 16px; padding: 0; flex: 1; }
.list-dotted li { border-bottom: 1px dotted var(--line); padding: 7px 0; font-size: 14px; line-height: 1.45; }
.list-dotted li:last-child { border-bottom: 0; }
.list-dotted li a { color: var(--text); display: block; }
.list-dotted li a:hover { color: var(--accent-dark); padding-left: 4px; transition: padding .18s ease, color .18s ease; }

/* ---------- buttons ---------- */
.btn-more, .btn.btn-more {
  background: var(--grad-brand) !important; color: #fff !important; border: 0 !important;
  border-radius: 999px !important; padding: 9px 20px !important;
  font-size: 13.5px; font-weight: 600; letter-spacing: .3px;
  box-shadow: 0 5px 14px rgba(21,62,140,.25);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-more:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 8px 20px rgba(21,62,140,.35); color: #fff !important; }
.btn-more i { margin-right: 4px; }
.btn-more .fa-angle-right, .btn-more .fa-chevron-right { margin-right: 0; margin-left: 6px; }
.cat-card .btn-more { align-self: center; margin-top: auto; }
.btn-accent, .btn.btn-accent {
  background: var(--grad-accent) !important; color: #fff !important; border: 0 !important;
  border-radius: 999px !important; padding: 9px 20px !important; font-weight: 600;
  box-shadow: 0 5px 14px rgba(242,89,42,.3);
  transition: transform .18s ease, filter .18s ease;
}
.btn-accent:hover { transform: translateY(-2px); filter: brightness(1.06); color: #fff !important; }
.btn-ghost { background: transparent !important; color: var(--muted) !important; border: 1.5px solid var(--line) !important; border-radius: 999px !important; padding: 9px 20px !important; }
.btn-ghost:hover { border-color: var(--brand-light) !important; color: var(--brand) !important; }

/* ---------- service cards ---------- */
.services-row { margin-top: 6px; }
.service-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 22px 26px; margin-bottom: 24px; height: 100%;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column; align-items: center;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%; margin-bottom: 14px;
  background: var(--grad-accent); color: #fff; font-size: 26px;
  box-shadow: 0 8px 18px rgba(242,89,42,.35);
}
.service-card h3 { font-size: 18px; margin: 0 0 8px; }
.service-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; flex: 1; }

/* ---------- quote ---------- */
.quote-card {
  background: var(--grad-navy); color: #fff; border-radius: var(--radius);
  padding: 34px 30px 30px; margin: 10px 0 8px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-md); text-align: center;
}
.quote-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.07); }
.quote-mark { font-size: 32px; color: var(--accent); margin-bottom: 6px; }
.quote-heading { color: #fff !important; font-size: 19px; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 14px; font-weight: 800; }
.quote-card blockquote { border: 0; margin: 0 auto; max-width: 720px; padding: 0; }
.quote-card blockquote p { font-size: 19px; font-style: italic; color: #fff; margin: 0; }

/* ---------- link grid (category / search / ebooks) ---------- */
.link-grid { margin: 0 -8px; }
.link-grid > [class*="col-"] { padding: 0 8px; }
.link-card {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; margin-bottom: 14px; color: var(--text) !important;
  font-weight: 600; font-size: 14px; line-height: 1.45;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.link-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.link-card .fa { color: var(--accent); margin-top: 3px; }
.link-card span { flex: 1; }
.link-card-cat { display: block; font-style: normal; font-weight: 500; color: var(--muted); font-size: 12px; margin-top: 3px; }
.result-count { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }
.search-again { max-width: 560px; margin-bottom: 22px; }
.empty-state { padding: 26px; }

/* ---------- sidebar & widgets ---------- */
.sidebar { margin-bottom: 30px; }
.sidebar .page-header { border-bottom: 0; margin: 24px 0 12px; padding: 0; }
.widget-card, .time-frame {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 18px; margin-bottom: 22px;
}
.time-frame { text-align: center; }
#date-part { font-weight: 700; color: var(--brand-dark); font-size: 15px; padding: 2px 0; }
#time-part {
  font-family: 'SFMono-Regular', Consolas, 'Roboto Mono', monospace;
  font-size: 26px; font-weight: 700; color: var(--accent-dark);
  letter-spacing: 2px; padding: 4px 0 10px; border-bottom: 1px dashed var(--line); margin-bottom: 10px;
}
.widget-title {
  font-size: 14.5px; font-weight: 700; color: var(--brand-dark);
  text-transform: uppercase; letter-spacing: .8px;
  border-bottom: 2px solid var(--line); padding-bottom: 8px; margin: 4px 0 12px; position: relative;
}
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 42px; height: 2px; background: var(--accent); }
.widget-list { list-style: none; margin: 0; padding: 0; font-size: 13.5px; color: var(--muted); }
.widget-list li { padding: 6px 0; border-bottom: 1px dotted var(--line); text-align: left; }
.widget-list li:last-child { border-bottom: 0; }
.widget-posts li a { color: var(--text); }
.widget-posts li a:hover { color: var(--accent-dark); }
.sidebar .adsbygoogle { margin: 0 0 22px; border-radius: var(--radius); overflow: hidden; }

/* ---------- article ---------- */
.weeb-breadcrumb { background: transparent; padding: 8px 0; margin-bottom: 12px; font-size: 13px; }
.weeb-breadcrumb > li + li::before { content: "\f105"; font-family: FontAwesome; color: var(--muted); padding: 0 8px; }
.weeb-breadcrumb a { color: var(--muted); }
.weeb-breadcrumb a:hover { color: var(--brand); }
.weeb-breadcrumb > .active { color: var(--brand-dark); font-weight: 600; }

.post-article {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 28px 28px 24px; margin-bottom: 26px;
}
.post-title { font-size: 27px; margin: 0 0 12px; color: var(--brand-dark); }
.post-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 13px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 10px 0; margin-bottom: 20px;
}
.post-meta .fa { color: var(--accent); margin-right: 5px; }
.post-meta a { color: var(--muted); font-weight: 600; }
.post-meta a:hover { color: var(--brand); }
.lang-toggle { margin-bottom: 16px; }
.post-body p { margin-bottom: 14px; }
.post-body h2 { font-size: 21px; margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.post-body h3 { font-size: 18px; margin: 22px 0 10px; }
.post-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.post-body ul, .post-body ol { margin-bottom: 14px; }
.post-body table { width: 100%; margin: 16px 0; border-collapse: collapse; font-size: 14px; }
.post-body table th { background: var(--brand); color: #fff; padding: 9px 12px; text-align: left; font-weight: 600; }
.post-body table td { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.post-body table tr:nth-child(even) td { background: #f8fafd; }

.post-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.post-share { display: flex; align-items: center; gap: 10px; }
.share-label { font-weight: 700; color: var(--brand-dark); font-size: 14px; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; color: #fff !important; font-size: 16px;
  transition: transform .18s ease, filter .18s ease;
}
.share-btn:hover { transform: translateY(-3px) scale(1.05); filter: brightness(1.08); }
.share-fb { background: #1877f2; } .share-wa { background: #25d366; }
.share-tw { background: #111; }    .share-tg { background: #2aabee; }

.post-related { margin-top: 26px; }
.related-title { font-size: 17px; margin-bottom: 12px; }
.related-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.related-chips .chip { background: var(--accent-soft); border-color: #ffd9cc; color: var(--accent-dark) !important; font-weight: 600; }
.related-chips .chip:hover { background: var(--accent); border-color: var(--accent); color: #fff !important; }

/* ---------- comments ---------- */
.comments-card, .comment-form-card { padding: 22px; }
.comment-item { border-bottom: 1px dotted var(--line); padding: 12px 0; }
.comment-item:last-child { border-bottom: 0; }
.comment-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.comment-meta .fa { color: var(--accent); }
.comment-item p { margin: 0; }
.flash-msg {
  background: #eaf7ee; border: 1px solid #bfe6cb; color: #1c7a37;
  border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 16px; font-size: 14px;
}
.comment-form-card .form-control { margin-bottom: 4px; }

/* ---------- ebooks ---------- */
.ebook-group { padding: 22px; }

/* ---------- forms ---------- */
.form-control {
  border: 1.5px solid var(--line) !important; border-radius: var(--radius-sm) !important;
  box-shadow: none !important; height: 42px; font-size: 14.5px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-control:focus { border-color: var(--brand-light) !important; box-shadow: 0 0 0 4px rgba(47,106,224,.14) !important; }
textarea.form-control { height: auto; }
.input-group-btn > .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important; }

/* ---------- 404 ---------- */
.error-page-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 48px 34px; margin: 30px 0 26px;
}
.error-code { font-size: 96px; font-weight: 900; line-height: 1; background: var(--grad-navy); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-title { font-size: 26px; margin: 6px 0 10px; }
.error-text { color: var(--muted); max-width: 520px; margin: 0 auto 22px; }
.error-search { max-width: 460px; margin: 0 auto 24px; }
.error-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- footer ---------- */
.footer-ad { background: var(--bg); padding: 14px 0 0; }
footer#footer, #footer.block-bg-grey-dark {
  background: var(--footer-bg) !important; background-image: none !important;
  color: rgba(255,255,255,.72); padding: 0 !important; margin-top: 44px;
}
.footer-main { padding: 44px 0 26px; }
.footer-title {
  color: #fff; font-size: 14.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  margin: 0 0 16px; padding-bottom: 10px; position: relative;
}
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 2px; background: var(--accent); }
.footer-about, .footer-disclaimer { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,.65); font-style: normal; }
.footer-disclaimer .fa { color: var(--accent); margin-right: 4px; }
.footer-mail { color: rgba(255,255,255,.85); font-size: 13.5px; }
.footer-mail:hover { color: var(--accent); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: 13.5px; }
.footer-links a:hover { color: #fff; padding-left: 4px; transition: padding .18s ease; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  color: #fff; font-size: 16px; margin: 12px 8px 0 0; transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.subfooter { border-top: 1px solid rgba(255,255,255,.09); padding: 16px 0; margin: 0 !important; font-size: 13px; }
.subfooter p { margin: 0; color: rgba(255,255,255,.6); }
.subfooter .credits, .subfooter .credits a { color: rgba(255,255,255,.45); font-size: 12.5px; }
.subfooter .credits a:hover { color: var(--accent); }
.subfooter ul.list-inline { margin: 4px 0 0; }
.subfooter ul.list-inline a { color: rgba(255,255,255,.65); }
.subfooter ul.list-inline a:hover { color: #fff; }
.scrolltop {
  position: fixed; right: 22px; bottom: 22px; z-index: 1040;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-accent); color: #fff !important;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  box-shadow: var(--shadow-md); transition: transform .2s ease;
}
.scrolltop:hover { transform: translateY(-4px); }

/* ---------- reveal / lazy ---------- */
img[loading="lazy"] { opacity: 0; transition: opacity .5s ease; }
img[loading="lazy"].img-loaded, img[loading="lazy"][complete] { opacity: 1; }
.js .cat-card, .js .service-card, .js .widget-card, .js .quote-card, .js .time-frame {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease, box-shadow .25s ease;
}
.js .cat-card.revealed, .js .service-card.revealed, .js .widget-card.revealed,
.js .quote-card.revealed, .js .time-frame.revealed { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .hero-title { font-size: 27px; }
  .navbar-slogan { display: none; }
}
@media (max-width: 767px) {
  .header_top { text-align: center; }
  .header-top-left ul li { margin: 2px 9px; }
  .navbar-mobile-title { display: inline-block; vertical-align: middle; margin-left: 8px; font-weight: 700; color: var(--brand-dark); font-size: 15px; }
  .navbar-collapse { background: var(--card); border-top: 1px solid var(--line) !important; box-shadow: var(--shadow-md); }
  #main-menu > li > a { padding: 12px 16px !important; }
  #main-menu > li > a::after { display: none; }
  #main-menu > li { border-bottom: 1px solid var(--line); }
  .hero-band { padding: 36px 0 42px; }
  .hero-title { font-size: 23px; }
  .hero-search .form-control, .hero-search .input-group-btn > .btn { height: 46px; }
  .post-article { padding: 20px 16px; border-radius: var(--radius-sm); }
  .post-title { font-size: 22px; }
  .block-title, .page-h1 { font-size: 22px; }
  .error-code { font-size: 72px; }
  .subfooter ul.list-inline { float: none !important; text-align: left; margin-top: 10px; }
  .post-actions { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .cat-card, .js .service-card, .js .widget-card, .js .quote-card, .js .time-frame { opacity: 1; transform: none; }
}

/* ============================================================
   v20260922b — overrides for old style.css leaks
   (found during staging test at /weebtest/)
   ============================================================ */
ul.list-dotted { padding: 0 !important; margin: 0 !important; }
ul.list-dotted li { padding: 7px 0 !important; }
ul.list-dotted li::before { content: none !important; display: none !important; }

blockquote { background-image: none !important; }
.quote-card blockquote p {
  padding: 0 !important; margin: 0 !important;
  text-align: center !important;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}
.post-body blockquote {
  background-image: none !important;
  background-color: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 18px !important;
  margin: 16px 0 !important;
}
.post-body blockquote p {
  padding: 0 !important; margin: 0 0 8px !important;
  text-align: left !important; font-family: inherit !important;
}

/* ============================================================
   v20260922c — logo/menu refresh, home quick-tools, captcha,
   sticky sidebar (round-2 staging feedback)
   ============================================================ */

/* crisper vector logo, slightly larger */
.navbar-brand img { max-height: 46px; }

/* menu polish */
#main-menu > li > a {
  font-size: 13.5px !important; font-weight: 600; letter-spacing: .4px;
  padding: 17px 13px !important; text-transform: uppercase;
}
#main-menu > li.active > a { color: var(--brand) !important; }
#main-menu > li.active > a::after { transform: scaleX(1); }
#main-menu > li > a > .fa { font-size: 14px; }
.dropdown-menu > li > a { text-transform: none !important; letter-spacing: 0; }

/* home quick-tools band */
.tools-row { margin-bottom: 10px; }
.tool-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 26px 24px; margin-bottom: 24px; height: 100%;
  text-align: center; transition: transform .25s ease, box-shadow .25s ease;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tool-card h3 { font-size: 18px; margin: 12px 0 6px; }
.tool-card p { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }
.tool-card form { max-width: 340px; margin: 0 auto; }
.tool-card select.form-control { margin-bottom: 12px; }
.tool-card .btn { width: 100%; }

/* captcha rows (comment / feedback / contact) */
.captcha-row { margin-top: 6px; }
.captcha-label {
  display: block; font-size: 12.5px; font-weight: 700; color: var(--brand-dark);
  text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px;
}
.captcha-box { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.captcha-img {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; width: 160px; height: 52px; display: block;
}
.captcha-refresh {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--bg);
  border: 1px solid var(--line); color: var(--brand) !important; font-size: 15px;
  transition: background .2s ease, transform .2s ease;
}
.captcha-refresh:hover { background: var(--accent); border-color: var(--accent); color: #fff !important; transform: rotate(90deg); }

/* sticky sidebar on desktop */
@media (min-width: 992px) {
  .sidebar { position: sticky; top: 66px; z-index: 5; }
}

/* ============================================================
   v20260922d — WhatsApp float, print stylesheet
   ============================================================ */
.wa-float {
  position: fixed; left: 22px; bottom: 22px; z-index: 1040;
  width: 48px; height: 48px; border-radius: 50%;
  background: #25d366; color: #fff !important; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, .4);
  transition: transform .2s ease, filter .2s ease;
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); filter: brightness(1.05); }

@media print {
  .header_top, .header, #mainnav, .header-ad, .footer-ad, .hero-band,
  .sidebar, footer#footer, .scrolltop, .wa-float, .post-share, .post-related,
  .comments-card, .comment-form-card, .nav-search-band, .tools-row { display: none !important; }
  body { background: #fff !important; }
  .post-article { border: 0 !important; box-shadow: none !important; padding: 0 !important; }
  .col-md-9 { width: 100% !important; }
  a[href]::after { content: ""; }
}

/* ============================================================
   v20260922e — single compact navy bar (logo + menu + search)
   fixes: ghost logo (old CSS background), empty navy band,
   boxy over-spaced menu
   ============================================================ */

/* kill the OLD template's CSS background logo (caused double logo) */
.navbar-brand { background: none !important; background-image: none !important; }

.header {
  background: var(--grad-navy) !important;
  border: 0 !important; padding: 0 !important;
  position: sticky; top: 0; z-index: 1030;
  box-shadow: var(--shadow-sm); transition: box-shadow .25s ease;
}
.header.navbar-scrolled { box-shadow: var(--shadow-md); }
.header-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; min-height: 60px; }
.navbar-slogan { display: none; }

.navbar-toggle { border-color: rgba(255,255,255,.35) !important; background: transparent !important; margin: 12px 0 12px auto; }
.navbar-toggle .icon-bar { background: #fff !important; }

/* desktop: menu sits right beside the logo block, search at the end */
@media (min-width: 768px) {
  .header .navbar-collapse {
    flex: 1 1 auto; display: block !important;
    border: 0 !important; box-shadow: none !important; background: transparent !important;
    padding: 0 !important; margin: 0 !important;
  }
  #main-menu {
    display: flex; flex-wrap: wrap; justify-content: flex-end;
    float: none !important; margin: 0 !important; width: auto !important;
  }
  #main-menu > li { border: 0 !important; background: none !important; }
  #main-menu > li > a {
    color: rgba(255,255,255,.92) !important;
    padding: 20px 11px !important; font-size: 12.5px !important;
    font-weight: 600; letter-spacing: .4px; text-transform: uppercase;
    background: none !important;
  }
  #main-menu > li > a:hover, #main-menu > li.active > a { color: #fff !important; }
  #main-menu > li > a > .fa { color: var(--accent); }
  .nav-search-toggle { margin-left: 8px; }
  .dropdown-menu { margin-top: 0 !important; }
}

/* mobile: logo + hamburger + search on one row, menu slides below */
@media (max-width: 767px) {
  .header-bar { padding: 6px 0; min-height: 54px; }
  .navbar-toggle { order: 2; margin-left: auto; }
  .nav-search-toggle { order: 3; margin-left: 6px; }
  .header .navbar-collapse {
    order: 10; width: 100%; flex: 1 1 100%;
    background: var(--brand-darker);
    border-top: 1px solid rgba(255,255,255,.12);
  }
  #main-menu { float: none !important; margin: 0 !important; width: 100% !important; }
  #main-menu > li { border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.08) !important; }
  #main-menu > li > a {
    color: rgba(255,255,255,.92) !important; padding: 12px 16px !important;
    font-size: 13px !important; text-transform: uppercase; letter-spacing: .4px;
  }
  #main-menu > li > a::after { display: none; }
}

/* search band inherits sticky bar look */
.nav-search-band { background: var(--brand-darker); }
