@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1160px !important;
    }
}

/* ══════════════════════════════════════════
   Global: kill grey text — make it black
   ══════════════════════════════════════════ */
.text-muted,
.lead,
p.lead,
.text-secondary,
.text-body-secondary,
small.text-muted,
span.text-muted,
p.text-muted,
div.text-muted {
    color: #1a1a1a !important;
}
/* Bootstrap 5 CSS variable override */
:root {
    --bs-secondary-color: #1a1a1a;
}
/* General body text */
body, p, li, td, span, div {
    color: inherit;
}
body { color: #1a1a1a; }

/* ==========================================
   Premium Navbar Refactoring (Glassmorphism & Compact)
   ========================================== */
.navbar {
  background: rgba(238, 245, 248, 0.85) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  height: auto !important;
  transition: all 0.3s ease;
}

#navbar .nav-link {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #37474f !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  line-height: 1.5 !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#navbar .nav-link i {
  font-size: 17px !important;
  color: #166AC5 !important;
  margin: 0 !important;
  transition: transform 0.25s ease !important;
}

/* Micro-animations */
#navbar .nav-link:hover {
  background: rgba(22, 106, 197, 0.08) !important;
  color: #166AC5 !important;
}

#navbar .nav-link:hover i {
  transform: scale(1.15) translateY(-1px);
}

/* Responsive overrides for media query stack issue */
@media (min-width: 992px) and (max-width: 1199px) {
  #navbar .nav-link i {
    margin-bottom: 0 !important;
  }
  #navbar .nav-link {
    text-align: left !important;
    font-size: 15px !important;
  }
}

/* ==========================================
   Home Content Refactoring (Fits perfectly on screen)
   ========================================== */
.services-section {
  margin-top: 0 !important;
  padding-top: 88px !important;
  padding-bottom: 36px !important;
  background-color: #f8f9fc;
}

/* Tool page main headings */
.services-section h1,
.services-section h1.display-4 {
  font-size: 1.55rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.3px;
  color: #1a2540 !important;
  -webkit-text-fill-color: #1a2540 !important;
  margin-bottom: 6px !important;
  background: none !important;
}

.services-section p.lead {
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  font-weight: 300 !important;
  max-width: 700px;
  margin: 0 auto !important;
  color: #5a6880 !important;
}

/* ==========================================
   Calculator Category Cards (Compact and Premium)
   ========================================== */
.calculator-categories {
  padding-top: 20px !important;
}

.calculator-categories .col-lg-3 {
  background: #fcfdfe;
  border-radius: 12px;
  border: 1px solid #eef2f5;
  padding: 24px 20px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
  height: 100%;
}

.calculator-categories .col-lg-3:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(22, 106, 197, 0.06);
  border-color: #dbe3eb;
  background: #ffffff;
}

.calc-category-heading {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid #f0f4f8 !important;
  position: relative;
}

.calc-category-heading::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #166AC5;
  transition: width 0.3s ease;
}

.calculator-categories .col-lg-3:hover .calc-category-heading::after {
  width: 70px;
}

.calc-category-heading a {
  color: #166AC5 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.calc-category-heading a:hover {
  color: #4a90d9 !important;
}

.calc-link-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0 !important;
}

.calc-link-list li {
  padding: 3px 0 !important;
  line-height: 1.3 !important;
}

.calc-link-list li a {
  color: #455a64 !important;
  text-decoration: none;
  font-size: 13.5px !important;
  font-weight: 500;
  transition: all 0.18s ease !important;
  display: flex !important;
  align-items: center;
  padding: 5px 8px !important;
  border-radius: 6px !important;
  gap: 8px;
}

.calc-link-list li a .link-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: rgba(74, 144, 217, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  color: #4a90d9;
  transition: all 0.18s ease;
}

.calc-link-list li a:hover {
  color: #166AC5 !important;
  background: rgba(22, 106, 197, 0.06) !important;
  padding-left: 10px !important;
}

.calc-link-list li a:hover .link-icon {
  background: #166AC5;
  color: #fff;
}

.calc-view-all {
  display: inline-flex !important;
  align-items: center;
  margin-top: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #166AC5 !important;
  transition: all 0.2s ease !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-view-all:hover {
  color: #4a90d9 !important;
  text-decoration: none !important;
  transform: translateX(4px);
}

.btn-all-calculators {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #388e3c;
  color: #fff;
  padding: 14px 40px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-all-calculators:hover {
  background-color: #2e7d32;
  color: #fff;
  transform: translateY(-1px);
}

.btn-arrow {
  background-color: #2e7d32;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}



.sitemap-section {
  padding: 150px 0 60px;
}

.sitemap-main-heading {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.sitemap-sub {
  color: #6c757d;
  font-size: 15px;
  margin-bottom: 10px;
}

.sitemap-category {
  margin-bottom: 40px;
  border: 1px solid #e4e9f0;
  border-radius: 8px;
  overflow: hidden;
}

.sitemap-cat-heading {
  font-size: 18px;
  font-weight: 700;
  background-color: #f0f7f0;
  border-left: 4px solid #2e7d32;
  margin: 0;
  padding: 14px 20px;
}

.sitemap-cat-heading a {
  color: #2e7d32;
  text-decoration: none;
}

.sitemap-cat-heading a:hover {
  color: #1b5e20;
  text-decoration: underline;
}

.sitemap-table {
  width: 100%;
  border-collapse: collapse;
}

.sitemap-table tr:nth-child(even) {
  background-color: #fafafa;
}

.sitemap-table tr td:hover {
  background-color: #f0f7f0;
}

.sitemap-table td {
  width: 33.33%;
  padding: 10px 20px;
  border-bottom: 1px solid #eef1f5;
  font-size: 14px;
  vertical-align: middle;
}

.sitemap-table td:not(:last-child) {
  border-right: 1px solid #eef1f5;
}

.sitemap-table td a {
  color: #37474f;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.15s ease;
  display: block;
}

.sitemap-table td a:hover {
  color: #2e7d32;
  padding-left: 5px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top:5%;
}
.search-icon {
    position: absolute;
    left: 20px;
    color: #888;
    font-size: 18px;
    z-index: 5;
}
.search-input {
    padding: 15px 50px 15px 55px !important;
    border-radius: 50px !important;
    border: 2px solid #e1e1e1 !important;
    font-size: 16px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 60px !important;
    background: #fff !important;
}
.search-input:focus {
    border-color: #007bff !important;
    box-shadow: 0 8px 25px rgba(0,123,255,0.08) !important;
    outline: none;
}
.search-clear {
    position: absolute;
    right: 20px;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s;
    z-index: 5;
}
.search-clear:hover {
    color: #ff4d4d;
}
.search-status {
    font-size: 15px;
}
.search-status span {
    color: #007bff;
}
.no-results-box {
    margin-top: 30px;
}

/* Animation for smooth appearance */
.fade-in {
    animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Highlight effect for matched boxes */
.service-box.matched {
    border-color: #007bff;
    transform: scale(1.02);
}
.services-section .col-lg-3,
.services-section .col-sm-6 {
    padding: 6px;
}

/* ── Calculator category cards (service-box) ── */
.service-link {
    display: block;
    text-decoration: none;
    height: 100%;
}
.service-link:hover { text-decoration: none; }

.service-box {
    background: #ffffff;
    border: 1px solid #e4eaf5;
    border-left: 3px solid #4a90d9;
    border-radius: 10px;
    padding: 13px 15px 12px;
    height: 100%;
    position: relative;
    transition: all 0.20s ease;
    box-shadow: 0 1px 5px rgba(22, 106, 197, 0.05);
    display: block;
}
.service-box::before { display: none; }
.service-box::after  { display: none; }

.service-link:hover .service-box {
    border-left-color: #166AC5;
    background: #f6f9ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(22, 106, 197, 0.11);
}

.service-text { display: block; }

h3.service-heading {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #166AC5 !important;
    margin: 0 0 4px !important;
    line-height: 1.35;
    transition: color 0.18s;
}
.service-link:hover h3.service-heading { color: #1e3a78 !important; }

p.service-para {
    font-size: 12px !important;
    font-weight: 300 !important;
    color: #7a8aaa !important;
    line-height: 1.55;
    margin: 0;
}

/* ── Form controls — range, switch, checkbox ── */

/* Range slider */
.form-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    background: #e2e8f5;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    padding: 0;
    border: none;
}
.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #166AC5;
    cursor: pointer;
    box-shadow: 0 1px 8px rgba(22, 106, 197, 0.35);
    transition: background 0.2s, box-shadow 0.2s;
}
.form-range::-webkit-slider-thumb:hover {
    background: #5a7de8;
    box-shadow: 0 2px 12px rgba(22, 106, 197, 0.45);
}
.form-range::-moz-range-thumb {
    width: 18px; height: 18px;
    border-radius: 50%; border: none;
    background: #166AC5; cursor: pointer;
    box-shadow: 0 1px 8px rgba(22, 106, 197, 0.35);
}

/* Toggle switch */
.form-check-input[type="checkbox"] {
    width: 2.4em;
    height: 1.25em;
    border-radius: 2em;
    background-color: #d1daf0;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
}
.form-check-input[type="checkbox"]::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px;
    width: calc(1.25em - 4px);
    height: calc(1.25em - 4px);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    transition: transform 0.2s;
}
.form-check-input[type="checkbox"]:checked {
    background-color: #166AC5;
}
.form-check-input[type="checkbox"]:checked::after {
    transform: translateX(1.15em);
}
/* Toggle-switch labels (checkboxes) only */
.form-check-input[type="checkbox"] + .form-check-label,
.form-switch .form-check-label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #374060 !important;
    cursor: pointer;
    margin-left: 4px;
}

/* ════════════════════════════════════════════════════
   GLOBAL RADIO BUTTONS — pill toggle design
   Covers every HTML pattern used across all tool pages.
   ════════════════════════════════════════════════════ */

/* ── shared pill variables ── */
:root {
    --radio-pill-bg:        #f5f7fb;
    --radio-pill-border:    #d1daf0;
    --radio-pill-color:     #4a5568;
    --radio-pill-hover-bg:  #eaf1fb;
    --radio-pill-active-bg: #166AC5;
    --radio-pill-shadow:    0 2px 8px rgba(22, 106, 197, 0.28);
}

/* ──────────────────────────────────────────────────
   PATTERN A — div.form-check.custom-radio  and  div.custom-radio
   <div class="form-check custom-radio">
     <input class="form-check-input" type="radio" id="x">
     <label class="form-check-label" for="x">Text</label>
   </div>
   ────────────────────────────────────────────────── */

.form-check.custom-radio,
.custom-radio {
    padding-left: 0 !important;
    display: inline-block !important;
    margin: 0 6px 6px 0 !important;
}

/* Completely hide the native radio circle */
.form-check.custom-radio input[type="radio"],
.custom-radio input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
    border: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

/* Label styled as pill */
.form-check.custom-radio input[type="radio"] + .form-check-label,
.form-check.custom-radio input[type="radio"] + label,
.custom-radio input[type="radio"] + .form-check-label,
.custom-radio input[type="radio"] + label {
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    padding: 7px 18px !important;
    border: 1.5px solid var(--radio-pill-border) !important;
    border-radius: 50px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--radio-pill-color) !important;
    background: var(--radio-pill-bg) !important;
    transition: border-color 0.18s ease, background 0.18s ease,
                color 0.18s ease, box-shadow 0.18s ease !important;
    user-select: none !important;
    margin: 0 !important;
    white-space: nowrap !important;
    line-height: 1.35 !important;
}

.form-check.custom-radio input[type="radio"] + .form-check-label:hover,
.form-check.custom-radio input[type="radio"] + label:hover,
.custom-radio input[type="radio"] + .form-check-label:hover,
.custom-radio input[type="radio"] + label:hover {
    border-color: #166AC5 !important;
    color: #166AC5 !important;
    background: var(--radio-pill-hover-bg) !important;
}

.form-check.custom-radio input[type="radio"]:checked + .form-check-label,
.form-check.custom-radio input[type="radio"]:checked + label,
.custom-radio input[type="radio"]:checked + .form-check-label,
.custom-radio input[type="radio"]:checked + label {
    background: var(--radio-pill-active-bg) !important;
    border-color: var(--radio-pill-active-bg) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: var(--radio-pill-shadow) !important;
}

/* ──────────────────────────────────────────────────
   PATTERN B — label.premium-radio-container
   <label class="premium-radio-container">
     <input type="radio">
     <span class="premium-radio-checkmark"></span>
     Text
   </label>
   ────────────────────────────────────────────────── */

.premium-radio-container {
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    padding: 7px 18px !important;
    border: 1.5px solid var(--radio-pill-border) !important;
    border-radius: 50px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--radio-pill-color) !important;
    background: var(--radio-pill-bg) !important;
    transition: border-color 0.18s ease, background 0.18s ease,
                color 0.18s ease, box-shadow 0.18s ease !important;
    user-select: none !important;
    margin: 0 6px 6px 0 !important;
    white-space: nowrap !important;
    line-height: 1.35 !important;
    position: relative !important;
}

.premium-radio-container input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide the span checkmark — pill container IS the indicator */
.premium-radio-container .premium-radio-checkmark {
    display: none !important;
}

.premium-radio-container:hover {
    border-color: #166AC5 !important;
    color: #166AC5 !important;
    background: var(--radio-pill-hover-bg) !important;
}

/* :has() — modern, well-supported — for checked state */
.premium-radio-container:has(input[type="radio"]:checked) {
    background: var(--radio-pill-active-bg) !important;
    border-color: var(--radio-pill-active-bg) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: var(--radio-pill-shadow) !important;
}

/* ──────────────────────────────────────────────────
   PATTERN C — Bootstrap btn-check
   <input type="radio" class="btn-check" id="x">
   <label class="btn btn-outline-primary-custom" for="x">Text</label>
   ────────────────────────────────────────────────── */

.btn-check {
    position: absolute !important;
    clip: rect(0,0,0,0) !important;
    pointer-events: none !important;
}

.btn-check + .btn,
.btn-check + .btn-outline-primary-custom {
    border: 1.5px solid var(--radio-pill-border) !important;
    border-radius: 50px !important;
    color: var(--radio-pill-color) !important;
    background: var(--radio-pill-bg) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 7px 18px !important;
    transition: border-color 0.18s ease, background 0.18s ease,
                color 0.18s ease, box-shadow 0.18s ease !important;
    box-shadow: none !important;
}

.btn-check + .btn:hover,
.btn-check + .btn-outline-primary-custom:hover {
    border-color: #166AC5 !important;
    color: #166AC5 !important;
    background: var(--radio-pill-hover-bg) !important;
}

.btn-check:checked + .btn,
.btn-check:checked + .btn-outline-primary-custom {
    background: var(--radio-pill-active-bg) !important;
    border-color: var(--radio-pill-active-bg) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: var(--radio-pill-shadow) !important;
}

/* Copy input group */
.input-group-copy {
    display: flex;
    border: 1.5px solid #d4dff5;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
}
.input-group-copy .universal-input {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex: 1;
    font-size: 0.95rem !important;
    letter-spacing: 1.5px;
    font-weight: 600 !important;
    color: #1e3a78 !important;
    background: #f8faff !important;
}
.btn-copy {
    background: #166AC5;
    color: #fff !important;
    border: none;
    padding: 0 18px;
    font-size: 12.5px !important;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background 0.18s;
    border-radius: 0;
    flex-shrink: 0;
    height: 38px;
}
.btn-copy:hover { background: #1e3a78; }
.btn-copy i { font-size: 12px; }
.btn {
  margin:5px;
}
label, .form-label, .field-label {
  margin-top: 10px !important;
  margin-bottom: 4px !important;
}
select {
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
    padding: .4rem .75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}
h6.text-primary-custom {
   font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #166AC5;
}
h6.text-primary-custom .fa {
    font-size: 24px;
    margin-right: 10px;
}
.tool-content-wrap p {
    font-size: 16px;
}
.bg-success {
  background-color: #4a90d9 !important;
}
.text-success {
  color: #4a90d9 !important;
}
.border-success {
  border-color: #4a90d9 !important;
}


@media (max-width: 767px) {
  .sitemap-table,
  .sitemap-table tbody,
  .sitemap-table tr,
  .sitemap-table td {
    display: block;
    width: 100%;
  }

  .sitemap-table td {
    border-right: none;
  }
}

/* ══════════════════════════════════════════
   Global font weight — light & readable
   ══════════════════════════════════════════ */
body {
  font-weight: 300 !important;
  font-size: 14px !important;
}

p, li, td, span:not(.badge):not(.hv-badge):not(.sf-pill) {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

label, .form-label, .field-label {
  font-size: 13px !important;
  font-weight: 500 !important;
}

/* ══════════════════════════════════════════
   Footer — complete redesign
   ══════════════════════════════════════════ */

/* kill old footer styles */
.footer { display: none !important; }

.site-footer {
  background: #0d1b3e !important;
  color: #c8d4ec;
  font-family: 'Roboto', sans-serif;
  padding: 0 !important;      /* override section { padding: 80px 0 } */
  float: left;
  width: 100%;
}

/* Top section */
.site-footer-top {
  padding: 52px 0 40px;
  border-top: 3px solid #166AC5;
}

/* Brand column */
.sf-logo {
  height: 75px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  filter: brightness(1.1);
}

.sf-tagline {
  font-size: 13px !important;
  font-weight: 300;
  color: #7a94c0;
  line-height: 1.75;
  margin-bottom: 18px;
  max-width: 300px;
}

.sf-cats-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.sf-pill {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(107, 158, 255, 0.28);
  border-radius: 50px;
  font-size: 12px !important;
  font-weight: 500;
  color: #8aabdd;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sf-pill:hover {
  background: #166AC5;
  color: #fff;
  border-color: #166AC5;
}

/* Link columns */
.sf-link-col { padding-top: 4px; }

.sf-col-heading {
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #5a7de8;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(107, 158, 255, 0.12);
}

.sf-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sf-link-list li {
  margin-bottom: 1px;
}

.sf-link-list li a {
  font-size: 13px !important;
  font-weight: 300;
  color: #8296bb;
  text-decoration: none;
  display: block;
  padding: 5px 0;
  transition: color 0.15s, padding-left 0.15s;
  position: relative;
}

.sf-link-list li a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid transparent;
  margin-right: 0;
  vertical-align: middle;
  transition: all 0.15s;
}

.sf-link-list li a:hover {
  color: #4a90d9;
  padding-left: 8px;
}

/* Bottom bar */
.site-footer-bottom {
  border-top: 1px solid rgba(107, 158, 255, 0.10);
  padding: 14px 0;
  background: rgba(0, 0, 0, 0.18);
}

.sf-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.sf-copy {
  font-size: 12px !important;
  color: #4a6490;
  font-weight: 400;
}

.sf-bottom-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sf-bottom-links a {
  font-size: 12px !important;
  color: #4a6490;
  text-decoration: none;
  transition: color 0.15s;
  font-weight: 400;
}
.sf-bottom-links a:hover { color: #4a90d9; }

.sf-bottom-links span { color: #2d4070; font-size: 11px; }

.page-content-plain p:has(br:only-child) { display: none; }
.page-content-plain { padding: 20px 0; }
.page-content-plain p, .page-content-plain li { font-size: 16px; color: #1a1a1a; line-height: 1.7; }
.page-content-plain h2 { color: #000; font-size: 1.15rem; margin-top: 1.5rem; }
.page-content-plain h3 { color: #000; font-size: 1rem; margin-top: 1.2rem; }
.page-content-plain h4, .page-content-plain h5 { color: #000; font-size: 0.9rem; margin-top: 1rem; }
.tag-pill {
    display: inline-block;
    padding: 4px 12px;
    margin: 3px 4px 3px 0;
    border-radius: 20px;
    background: #f0f0f8;
    color: #332353;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e0ddf0;
    transition: background .15s, color .15s;
}
.tag-pill:hover { background: #332353; color: #fff; border-color: #332353; }

/* Footer responsive */
@media (max-width: 991px) {
  .site-footer-top { padding: 38px 0 28px; }
  .sf-tagline { max-width: 100%; }
}

@media (max-width: 575px) {
  .sf-bottom-inner { flex-direction: column; align-items: flex-start; }
  .site-footer-top { padding: 30px 0 22px; }
}