/*
Theme Name: SolusiPajak Blog & Portal Pajak
Theme URI: https://blog.solusipajak.id
Author: Tim SolusiPajak.id
Author URI: https://solusipajak.id
Description: Tema WordPress Multipage profesional, responsif, mobile-friendly, dan ultra-cepat yang dirancang khusus untuk blog.solusipajak.id. Dilengkapi dengan optimasi SEO tingkat lanjut, Schema.org JSON-LD lengkap (Article, Breadcrumbs, FAQPage, Organization, Speakable), Generative Engine Optimization (GEO) untuk mesin pencari AI (ChatGPT, Perplexity, Google SGE, Gemini), integrasi data otomatis dengan solusipajak.id, kalkulator pajak interaktif (PPh 21 TER, UMKM 0.5%, PPN, PPh Badan), auto Table of Contents, estimasi waktu baca, author E-E-A-T badge, dan formulir konsultasi terintegrasi WhatsApp.
Version: 2.6.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: solusipajak-theme
Tags: blog, news, finance, tax, responsive-layout, grid-layout, custom-colors, custom-menu, custom-logo, featured-images, translation-ready, seo-optimized, schema-markup, one-column, two-columns
*/

/* ==========================================================================
   1. CSS VARIABLES & COLOR SYSTEM (HIGH CONTRAST & ACCESSIBLE)
   ========================================================================== */
:root {
  /* Brand Colors matching SolusiPajak Logo */
  --sp-primary: #0d2847;
  --sp-primary-dark: #07172b;
  --sp-primary-light: #164273;
  --sp-teal: #00a699;
  --sp-teal-dark: #006b62;
  --sp-accent: #047857;
  --sp-accent-light: #10b981;
  --sp-orange: #f58220;
  --sp-orange-dark: #d96b0f;
  --sp-gold: #d97706;
  --sp-gold-light: #f59e0b;
  --sp-danger: #dc2626;
  --sp-info: #0284c7;

  /* Neutral Surfaces */
  --sp-bg: #f8fafc;
  --sp-surface: #ffffff;
  --sp-surface-soft: #f1f5f9;
  --sp-border: #cbd5e1;
  --sp-border-light: #e2e8f0;
  --sp-border-hover: #94a3b8;
  
  /* Text Colors - High Contrast WCAG AAA */
  --sp-text: #1e293b;
  --sp-text-dark: #0f172a;
  --sp-text-muted: #475569;
  --sp-text-light: #64748b;
  --sp-text-white: #ffffff;
  --sp-text-on-dark: #f8fafc;
  --sp-text-on-dark-muted: #cbd5e1;

  /* Typography */
  --sp-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sp-font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Shadows */
  --sp-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --sp-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.08);
  --sp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --sp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --sp-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);

  /* Radii */
  --sp-radius-sm: 6px;
  --sp-radius-md: 10px;
  --sp-radius-lg: 16px;
  --sp-radius-xl: 24px;
  --sp-radius-full: 9999px;

  /* Dimensions */
  --sp-container: 1200px;
  --sp-header-height: 74px;
  --sp-topbar-height: 38px;
  --sp-transition: all 0.2s ease-in-out;
}

/* ==========================================================================
   2. STRICT MOBILE-FIRST RESET & ZERO-OVERFLOW GUARANTEE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box !important;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sp-font-sans);
  background-color: var(--sp-bg);
  color: var(--sp-text);
  line-height: 1.65;
  font-size: 1rem;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
  margin: 0;
  padding: 0;
}

img, svg, video, iframe, embed, object {
  max-width: 100% !important;
  height: auto;
  display: block;
}

a {
  color: var(--sp-primary-light);
  text-decoration: none;
  transition: var(--sp-transition);
}

a:hover {
  color: var(--sp-teal-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sp-font-heading);
  color: var(--sp-text-dark);
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 0.75rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

h1 { font-size: 2.25rem; letter-spacing: -0.02em; }
h2 { font-size: 1.75rem; letter-spacing: -0.015em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p, li, span, a {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

p {
  margin-bottom: 1.25rem;
}

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.4rem;
}

/* Accessibility: visually-hidden labels for screen readers & AI agents */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* ==========================================================================
   3. ASTRA & LEGACY THEME RESET OVERRIDES (PREVENTS LOGO & LAYOUT BUGS)
   ========================================================================== */
.ast-header-custom-item,
.ast-site-header-cart,
.site-branding,
.custom-logo-link,
.ast-site-title-wrap,
.ast-logo-title-inline,
.sp-brand,
.sp-brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.custom-logo,
.sp-logo-img,
.custom-logo-link img,
.site-branding img {
  height: 48px !important;
  width: auto !important;
  max-width: 180px !important;
  max-height: 50px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
  image-rendering: -webkit-optimize-contrast;
}

/* ==========================================================================
   4. LAYOUT CONTAINERS & GRID
   ========================================================================== */
.sp-container {
  width: 100%;
  max-width: var(--sp-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}

.sp-main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.25rem;
  padding: 2.5rem 0;
  width: 100%;
  max-width: 100%;
}

.sp-main-content,
.sp-sidebar,
.sp-card,
.sp-hero-main,
.sp-hero-side {
  min-width: 0 !important;
  max-width: 100% !important;
}

.sp-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  border-bottom: 2px solid var(--sp-border-light);
  padding-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sp-section-title h2 {
  margin-bottom: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.sp-section-title h2::after {
  content: "";
  position: absolute;
  bottom: -0.85rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--sp-orange);
  border-radius: 2px;
}

/* Responsive Table Container */
.sp-table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.75rem;
  border-radius: var(--sp-radius-md);
  border: 1px solid var(--sp-border);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
  font-size: 0.95rem;
  background-color: var(--sp-surface);
}

th, td {
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--sp-border-light);
  text-align: left;
}

th {
  background-color: var(--sp-surface-soft);
  font-weight: 700;
  color: var(--sp-text-dark);
}

blockquote {
  border-left: 4px solid var(--sp-teal);
  padding: 1rem 1.25rem;
  background-color: #f0fdfa;
  border-radius: 0 var(--sp-radius-md) var(--sp-radius-md) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--sp-text);
}

/* ==========================================================================
   5. BUTTONS & BADGES (HIGH CONTRAST & ACCESSIBLE)
   ========================================================================== */
.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--sp-radius-full);
  background: #f0fdfa;
  color: #006b62;
  border: 1px solid rgba(0, 107, 98, 0.35);
}

.sp-badge-primary {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

.sp-badge-gold {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.925rem;
  font-weight: 700;
  border-radius: var(--sp-radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--sp-transition);
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  min-height: 42px;
  box-sizing: border-box;
}

.sp-btn-primary {
  background-color: var(--sp-primary);
  color: #ffffff !important;
  border-color: var(--sp-primary);
}

.sp-btn-primary:hover {
  background-color: var(--sp-primary-light);
  border-color: var(--sp-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--sp-shadow-md);
}

.sp-btn-accent {
  background-color: #9a4b00;
  color: #ffffff !important;
  border-color: #9a4b00;
}

.sp-btn-accent:hover {
  background-color: #7c3d00;
  border-color: #7c3d00;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(154, 75, 0, 0.35);
}

/* Outline on Light Background */
.sp-btn-outline {
  border-color: var(--sp-border);
  background-color: var(--sp-surface);
  color: var(--sp-text-dark) !important;
}

.sp-btn-outline:hover {
  border-color: var(--sp-primary);
  color: var(--sp-primary) !important;
  background-color: var(--sp-surface-soft);
}

/* Outline on Dark Background */
.sp-btn-outline-white {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
}

.sp-btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--sp-primary-dark) !important;
  border-color: #ffffff;
}

.sp-btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.825rem;
  min-height: 36px;
}

.sp-btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
  min-height: 48px;
}

.sp-btn-whatsapp {
  background-color: #25d366;
  color: #ffffff !important;
  border-color: #25d366;
}

.sp-btn-whatsapp:hover {
  background-color: #1eb956;
  border-color: #1eb956;
}

/* ==========================================================================
   6. HEADER & LOGO POSITIONING (CLEAN & PROFESSIONAL)
   ========================================================================== */
.sp-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--sp-surface);
  box-shadow: var(--sp-shadow-sm);
  border-bottom: 1px solid var(--sp-border-light);
  width: 100%;
}

.sp-topbar {
  background-color: var(--sp-primary-dark);
  color: var(--sp-text-on-dark-muted);
  font-size: 0.825rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.sp-topbar .sp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sp-topbar-badge {
  background: var(--sp-orange);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.675rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.sp-topbar-ticker a {
  color: #e2e8f0;
  font-weight: 500;
}

.sp-topbar-ticker a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.sp-topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.sp-topbar-contact a {
  color: #cbd5e1;
  font-weight: 500;
}

.sp-topbar-contact a:hover {
  color: #ffffff;
}

.sp-topbar-backlink {
  color: var(--sp-gold-light);
  font-weight: 700;
}

.sp-topbar-backlink:hover {
  color: #fde68a;
}

/* Header Navbar */
.sp-header {
  height: var(--sp-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.sp-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.sp-brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.sp-nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.sp-nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.sp-nav-item {
  position: relative;
}

.sp-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--sp-text-dark);
  border-radius: var(--sp-radius-sm);
  transition: var(--sp-transition);
}

.sp-nav-link:hover,
.sp-nav-item.current-menu-item > .sp-nav-link {
  color: var(--sp-teal-dark);
  background-color: var(--sp-surface-soft);
}

.sp-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.sp-search-btn {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  width: 40px;
  height: 40px;
  border-radius: var(--sp-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--sp-text-muted);
  transition: var(--sp-transition);
}

.sp-search-btn:hover {
  border-color: var(--sp-primary);
  color: var(--sp-primary);
  background: var(--sp-surface-soft);
}

.sp-menu-toggle {
  display: none;
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  width: 42px;
  height: 42px;
  border-radius: var(--sp-radius-md);
  cursor: pointer;
  color: var(--sp-text-dark);
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   7. MOBILE DRAWER (FIXED WITH ZERO VIEWPORT EXPANSION)
   ========================================================================== */
.sp-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--sp-surface);
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s ease;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

.sp-mobile-drawer.is-active {
  transform: translateX(0);
  visibility: visible;
}

.sp-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(3px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.sp-drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sp-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--sp-border-light);
}

.sp-drawer-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--sp-text-muted);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.sp-mobile-menu li {
  margin-bottom: 0.4rem;
}

.sp-mobile-menu a {
  display: block;
  padding: 0.7rem 0.9rem;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--sp-text-dark);
  border-radius: var(--sp-radius-sm);
}

.sp-mobile-menu a:hover {
  background: var(--sp-surface-soft);
  color: var(--sp-teal-dark);
}

/* Search Modal */
.sp-search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 1rem 1rem 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  box-sizing: border-box;
}

.sp-search-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sp-search-box {
  background: var(--sp-surface);
  width: 100%;
  max-width: 600px;
  border-radius: var(--sp-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--sp-shadow-xl);
  position: relative;
  box-sizing: border-box;
}

.sp-search-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.sp-search-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--sp-border);
  border-radius: var(--sp-radius-md);
  font-size: 1.05rem;
  outline: none;
  min-width: 0;
}

.sp-search-input:focus {
  border-color: var(--sp-teal);
}

.sp-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.sp-search-tags span {
  font-size: 0.8rem;
  color: var(--sp-text-muted);
}

.sp-search-tags a {
  font-size: 0.8rem;
  background: var(--sp-surface-soft);
  padding: 0.2rem 0.6rem;
  border-radius: var(--sp-radius-full);
  color: var(--sp-text);
  font-weight: 500;
}

.sp-search-tags a:hover {
  background: var(--sp-primary);
  color: #ffffff !important;
}

.sp-search-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--sp-text-muted);
}

/* ==========================================================================
   8. HERO SECTION
   ========================================================================== */
.sp-hero {
  background: linear-gradient(135deg, #0d2847 0%, #164273 100%);
  color: #ffffff;
  padding: 3rem 0 3.5rem 0;
  position: relative;
  overflow: hidden !important;
  contain: paint !important;
  width: 100%;
}

.sp-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

.sp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 130, 32, 0.2);
  border: 1px solid rgba(245, 130, 32, 0.5);
  color: #fde68a;
  padding: 0.3rem 0.75rem;
  border-radius: var(--sp-radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.sp-hero-title {
  color: #ffffff !important;
  font-size: 2.35rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.sp-hero-title a {
  color: #ffffff !important;
}

.sp-hero-desc {
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.sp-hero-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: #cbd5e1;
  flex-wrap: wrap;
}

.sp-hero-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-weight: 600;
}

.sp-hero-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--sp-primary-dark);
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.sp-hero-card {
  background: var(--sp-surface);
  border-radius: var(--sp-radius-lg);
  padding: 1.75rem;
  color: var(--sp-text-dark);
  box-shadow: var(--sp-shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
  width: 100%;
}

.sp-hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--sp-border-light);
}

.sp-hero-card-title {
  font-size: 1.15rem;
  color: var(--sp-text-dark);
  font-weight: 700;
  margin-bottom: 0;
}

/* Category Filter Bar */
.sp-category-bar {
  background: var(--sp-surface);
  border-bottom: 1px solid var(--sp-border-light);
  padding: 0.75rem 0;
  width: 100%;
}

.sp-category-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sp-category-list::-webkit-scrollbar {
  display: none;
}

.sp-cat-pill {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.4rem 0.9rem;
  border-radius: var(--sp-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--sp-surface-soft);
  color: var(--sp-text-dark);
  border: 1px solid var(--sp-border);
  transition: var(--sp-transition);
}

.sp-cat-pill:hover,
.sp-cat-pill.is-active {
  background: var(--sp-primary);
  color: #ffffff !important;
  border-color: var(--sp-primary);
}

/* ==========================================================================
   9. POST CARDS & GRID
   ========================================================================== */
.sp-post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

.sp-card {
  background: var(--sp-surface);
  border-radius: var(--sp-radius-lg);
  border: 1px solid var(--sp-border);
  overflow: hidden;
  box-shadow: var(--sp-shadow-xs);
  transition: var(--sp-transition);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
}

.sp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sp-shadow-lg);
  border-color: var(--sp-border-hover);
}

.sp-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--sp-surface-soft);
  overflow: hidden;
}

.sp-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-card-thumb-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
}

.sp-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sp-card-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: var(--sp-text-muted);
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.sp-card-title {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.sp-card-title a {
  color: var(--sp-text-dark);
}

.sp-card-title a:hover {
  color: var(--sp-teal-dark);
}

.sp-card-excerpt {
  font-size: 0.9rem;
  color: var(--sp-text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.sp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--sp-border-light);
  font-size: 0.825rem;
  color: var(--sp-text-muted);
}

.sp-card-author {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--sp-text);
}

/* ==========================================================================
   10. SIDEBAR WIDGETS
   ========================================================================== */
.sp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.sp-widget {
  background: var(--sp-surface);
  border-radius: var(--sp-radius-lg);
  border: 1px solid var(--sp-border);
  padding: 1.5rem;
  box-shadow: var(--sp-shadow-xs);
  box-sizing: border-box;
  width: 100%;
}

.sp-widget-title {
  font-size: 1.1rem;
  color: var(--sp-text-dark);
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--sp-surface-soft);
  position: relative;
}

.sp-widget-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--sp-orange);
}

.sp-widget-promo {
  background: linear-gradient(135deg, var(--sp-primary) 0%, var(--sp-primary-dark) 100%);
  color: #ffffff;
  border: none;
  text-align: center;
}

.sp-widget-promo h3 {
  color: #ffffff !important;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.sp-widget-promo p {
  color: #cbd5e1;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.sp-widget-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-widget-post-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--sp-border-light);
}

.sp-widget-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sp-widget-post-thumb {
  width: 65px;
  height: 55px;
  border-radius: var(--sp-radius-sm);
  background: var(--sp-surface-soft);
  flex-shrink: 0;
  overflow: hidden;
}

.sp-widget-post-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.sp-widget-post-title a {
  color: var(--sp-text-dark);
}

.sp-widget-post-title a:hover {
  color: var(--sp-teal-dark);
}

.sp-widget-post-date {
  font-size: 0.75rem;
  color: var(--sp-text-muted);
}

.sp-portal-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-portal-link {
  display: flex;
  flex-direction: column;
  padding: 0.65rem;
  background: var(--sp-surface-soft);
  border-radius: var(--sp-radius-md);
  border: 1px solid var(--sp-border);
  transition: var(--sp-transition);
  text-decoration: none;
}

.sp-portal-link:hover {
  border-color: var(--sp-teal);
  background: #ffffff;
  transform: translateY(-2px);
}

.sp-portal-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sp-text-dark);
}

.sp-portal-desc {
  font-size: 0.7rem;
  color: var(--sp-text-muted);
}

/* ==========================================================================
   11. SINGLE ARTICLE & SEO ELEMENTS
   ========================================================================== */
.sp-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 9999;
}

.sp-progress-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--sp-teal), var(--sp-orange));
  width: 0%;
  transition: width 0.1s linear;
}

.sp-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.825rem;
  color: var(--sp-text-muted);
  margin-bottom: 1.25rem;
}

.sp-breadcrumbs a {
  color: var(--sp-text-muted);
}

.sp-breadcrumbs a:hover {
  color: var(--sp-teal-dark);
}

.sp-breadcrumbs-sep {
  color: var(--sp-border);
}

.sp-breadcrumbs-current {
  color: var(--sp-text-dark);
  font-weight: 600;
}

.sp-article-header {
  margin-bottom: 1.75rem;
}

.sp-article-title {
  font-size: 2.25rem;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--sp-text-dark);
}

.sp-article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--sp-border-light);
  border-bottom: 1px solid var(--sp-border-light);
  margin-bottom: 1.5rem;
}

.sp-author-badge-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sp-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sp-text-dark);
}

.sp-author-role {
  font-size: 0.75rem;
  color: var(--sp-text-muted);
}

.sp-article-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.825rem;
  color: var(--sp-text-muted);
  flex-wrap: wrap;
}

.sp-takeaways-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-left: 4px solid var(--sp-accent);
  border-radius: var(--sp-radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-sizing: border-box;
}

.sp-takeaways-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: #166534;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.sp-takeaways-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-takeaways-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.925rem;
  color: #14532d;
}

.sp-takeaways-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sp-accent);
  font-weight: 800;
}

.sp-toc-box {
  background: var(--sp-surface-soft);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-sizing: border-box;
}

.sp-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.sp-toc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sp-text-dark);
}

.sp-toc-toggle-btn {
  background: none;
  border: none;
  font-size: 0.8rem;
  color: var(--sp-teal-dark);
  font-weight: 700;
  cursor: pointer;
}

.sp-toc-list {
  list-style: none;
  padding: 0.75rem 0 0 0;
  margin: 0.75rem 0 0 0;
  border-top: 1px solid var(--sp-border);
}

.sp-toc-list li {
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
}

.sp-toc-list a {
  color: var(--sp-text);
  font-weight: 500;
}

.sp-toc-list a:hover {
  color: var(--sp-teal-dark);
}

.sp-article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.sp-article-content h2 {
  font-size: 1.6rem;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--sp-border-light);
  color: var(--sp-text-dark);
}

.sp-article-content h3 {
  font-size: 1.3rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--sp-text-dark);
}

.sp-share-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--sp-border-light);
  border-bottom: 1px solid var(--sp-border-light);
  margin: 2.5rem 0;
}

.sp-share-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--sp-text-dark);
}

.sp-share-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sp-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--sp-radius-md);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff !important;
}

.sp-share-wa { background: #25d366; }
.sp-share-li { background: #0a66c2; }
.sp-share-tw { background: #0f1419; }
.sp-share-copy { background: var(--sp-primary); cursor: pointer; border: none; }

.sp-author-bio-box {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  box-sizing: border-box;
}

.sp-author-bio-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sp-author-bio-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sp-text-dark);
  margin-bottom: 0.25rem;
}

.sp-author-bio-subtitle {
  font-size: 0.8rem;
  color: var(--sp-teal-dark);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.sp-author-bio-text {
  font-size: 0.875rem;
  color: var(--sp-text-muted);
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.sp-article-cta-box {
  background: linear-gradient(135deg, #0d2847 0%, #164273 100%);
  border-radius: var(--sp-radius-lg);
  padding: 2rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  box-sizing: border-box;
  width: 100%;
}

.sp-article-cta-text h3 {
  color: #ffffff !important;
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.sp-article-cta-text p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   12. INTERACTIVE TAX CALCULATOR
   ========================================================================== */
.sp-calc-card {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  padding: 2rem;
  box-shadow: var(--sp-shadow-md);
  margin-bottom: 2rem;
  box-sizing: border-box;
  width: 100%;
}

.sp-calc-tabs {
  display: flex;
  gap: 0.35rem;
  border-bottom: 1px solid var(--sp-border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sp-calc-tabs::-webkit-scrollbar {
  display: none;
}

.sp-calc-tab-btn {
  padding: 0.65rem 1.15rem;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--sp-text-muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: var(--sp-transition);
  flex-shrink: 0;
}

.sp-calc-tab-btn.is-active {
  color: var(--sp-primary);
  border-bottom-color: var(--sp-orange);
}

.sp-calc-form-group {
  margin-bottom: 1.25rem;
  width: 100%;
}

.sp-calc-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--sp-text-dark);
}

.sp-calc-input,
.sp-calc-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-md);
  font-size: 1rem;
  outline: none;
  background-color: var(--sp-surface);
  color: var(--sp-text-dark);
  transition: var(--sp-transition);
  min-height: 44px;
  box-sizing: border-box;
}

.sp-calc-input:focus,
.sp-calc-select:focus {
  border-color: var(--sp-teal);
  box-shadow: 0 0 0 3px rgba(0, 166, 153, 0.15);
}

.sp-calc-result-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--sp-radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
  box-sizing: border-box;
}

.sp-calc-result-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #166534;
  margin-bottom: 0.25rem;
}

.sp-calc-result-value {
  font-size: 1.85rem;
  font-weight: 900;
  color: #14532d;
  margin-bottom: 0.75rem;
}

.sp-calc-breakdown {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #bbf7d0;
  padding-top: 0.75rem;
}

.sp-calc-breakdown li {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #166534;
  margin-bottom: 0.35rem;
}

/* FAQ Accordion */
.sp-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 2rem 0;
  width: 100%;
}

.sp-faq-item {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-md);
  overflow: hidden;
  box-sizing: border-box;
}

.sp-faq-question {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--sp-text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.sp-faq-icon {
  font-size: 1.25rem;
  color: var(--sp-teal-dark);
  font-weight: 800;
  flex-shrink: 0;
}

.sp-faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: var(--sp-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.sp-footer {
  background: var(--sp-primary-dark);
  color: var(--sp-text-on-dark-muted);
  padding-top: 4rem;
  margin-top: auto;
  border-top: 4px solid var(--sp-orange);
  width: 100%;
}

.sp-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.sp-footer-col h2.sp-footer-heading,
.sp-footer-col h3.sp-footer-heading,
.sp-footer-col h4 {
  color: #ffffff !important;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.sp-footer-col h2.sp-footer-heading::after,
.sp-footer-col h3.sp-footer-heading::after,
.sp-footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--sp-orange);
}

.sp-footer-brand-card {
  background: #ffffff;
  padding: 0.6rem 1rem;
  border-radius: var(--sp-radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.25rem;
}

.sp-footer-logo-img {
  height: 44px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

.sp-footer-about p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.sp-footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 0.65rem;
}

.sp-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-footer-links li {
  margin-bottom: 0.5rem;
}

.sp-footer-links a {
  color: #cbd5e1;
  font-size: 0.875rem;
}

.sp-footer-links a:hover {
  color: #38bdf8;
  padding-left: 0.25rem;
}

.sp-footer-bottom {
  padding: 1.5rem 0;
  font-size: 0.825rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.sp-footer-bottom a {
  color: #cbd5e1;
}

.sp-footer-bottom a:hover {
  color: #ffffff;
}

.sp-float-wa {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1500;
  background: #25d366;
  color: #ffffff !important;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: var(--sp-transition);
}

.sp-float-wa:hover {
  transform: scale(1.08);
}

.sp-back-to-top {
  position: fixed;
  bottom: 95px;
  right: 25px;
  z-index: 1400;
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  color: var(--sp-text-dark);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sp-shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--sp-transition);
}

.sp-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.sp-back-to-top:hover {
  background: var(--sp-primary);
  color: #ffffff;
}

/* ==========================================================================
   14. STRICT MOBILE RESPONSIVE RULES (ZERO HORIZONTAL SCROLL)
   ========================================================================== */

/* Two-column grids that collapse to one column on small screens */
.sp-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.sp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 1024px) {
  .sp-main-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .sp-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .sp-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .sp-topbar .sp-container {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.35rem;
  }

  .sp-topbar-backlink {
    display: none;
  }
}

@media (max-width: 768px) {
  .sp-topbar {
    display: none !important;
  }

  .sp-nav-desktop {
    display: none !important;
  }

  .sp-menu-toggle {
    display: flex !important;
  }

  .sp-header {
    height: 64px;
  }

  .custom-logo,
  .sp-logo-img,
  .custom-logo-link img {
    height: 40px !important;
    max-height: 40px !important;
    max-width: 140px !important;
  }

  .sp-header-actions {
    gap: 0.35rem;
  }

  .sp-header-actions .sp-btn-sm {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    min-height: 36px;
  }

  .sp-hero {
    padding: 2rem 0 2.5rem 0;
  }

  .sp-hero-title {
    font-size: 1.55rem;
    line-height: 1.3;
  }

  .sp-hero-desc {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }

  .sp-post-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .sp-article-title {
    font-size: 1.55rem;
    line-height: 1.3;
  }

  .sp-article-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .sp-article-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.25rem;
  }

  .sp-article-cta-box .sp-btn {
    width: 100%;
  }

  .sp-author-bio-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 1.5rem 1rem;
  }

  .sp-share-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .sp-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .sp-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .sp-calc-grid,
  .sp-form-grid,
  .sp-two-col {
    grid-template-columns: 1fr;
  }

  .sp-article-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  pre {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .custom-logo,
  .sp-logo-img,
  .custom-logo-link img {
    height: 36px !important;
    max-height: 36px !important;
    max-width: 125px !important;
  }

  .sp-card-body {
    padding: 1.15rem;
  }

  .sp-calc-card {
    padding: 1.25rem 1rem;
  }

  .sp-header-actions .sp-btn-sm span {
    display: none;
  }

  .sp-header-actions .sp-btn-sm {
    width: 40px;
    padding: 0;
    min-height: 40px;
  }

  .sp-footer-brand-card {
    width: 100%;
  }

  .sp-footer .sp-btn {
    white-space: normal;
    justify-content: center !important;
    text-align: center;
    width: 100%;
    padding: 0.7rem 0.75rem;
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .sp-footer .sp-btn span {
    flex-shrink: 0;
  }
}
