/* Calculator.net Stylesheet - Pure CSS (no frameworks, no external CDNs) */

:root {
  --header-bg: #003366;
  --header-text: #ffffff;
  --logo-green: #82c341;
  --hero-bg: #dbe7f2;
  --calc-border: #9bb5cf;
  --calc-display-bg: #2b5a88;
  --calc-display-text: #ffffff;
  --btn-func-bg: #e9edf2;
  --btn-func-hover: #dce3ec;
  --btn-num-bg: #ffffff;
  --btn-num-hover: #f1f5f9;
  --btn-op-bg: #dae4f2;
  --btn-op-hover: #cbdcee;
  --btn-eq-bg: #b4cee8;
  --btn-eq-hover: #a1c2e2;
  --btn-border: #bcc7d4;
  --btn-text: #1b3552;
  --btn-num-text: #111e2e;
  --btn-eq-text: #0b2440;
  --text-dark: #333333;
  --text-light: #666666;
  --text-muted: #595959;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --primary-dark: #0a1628;
  --primary-blue: #1a5276;
  --accent-green: #27ae60;
  --link-blue: #0044aa;
  --link-blue-hover: #002277;
  --cat-title-green: #2e7d32;
  --all-calc-green: #4c7a34;
  --all-calc-green-hover: #406a2b;
  --border-light: #e0e0e0;
  --legal-text: #444444;
  --cookie-bg: #1a5276;
  --cookie-text: #ffffff;
  --footer-bg: #e9e9e9;
  --footer-border: #d4d4d4;
  --font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: #ffffff;
  color: var(--text-dark);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility helper for screen readers */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  background-color: var(--header-bg);
  height: 48px;
  width: 100%;
}

.header-container {
  max-width: 1000px;
  height: 100%;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 13.5px;
  padding: 4px 9px;
  border-radius: 3px;
  transition: background-color 0.15s, color 0.15s;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.18);
  text-decoration: none;
}

.nav-link.active {
  background-color: rgba(255, 255, 255, 0.25);
  font-weight: bold;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   LANGUAGE SWITCHER DROPDOWN
   ========================================================================== */
.lang-switcher-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  padding: 3px 8px 3px 8px;
  height: 28px;
  box-sizing: border-box;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.lang-switcher-wrapper:hover,
.lang-switcher-wrapper:focus-within {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
}

.lang-icon {
  color: #ffffff;
  flex-shrink: 0;
  opacity: 0.95;
  display: inline-block;
  vertical-align: middle;
}

#language-selector,
.lang-select {
  background: transparent !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0 18px 0 2px !important;
  margin: 0 !important;
  line-height: 1.2;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210%22%20height%3D%226%22%20viewBox%3D%220%200%2010%206%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m1%201%204%204%204-4%22%2F%3E%3C%2Fsvg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1px center !important;
}

#language-selector option,
.lang-select option {
  background-color: #003366;
  color: #ffffff;
  font-weight: normal;
  font-size: 13px;
  padding: 6px 10px;
}

#language-selector:focus,
.lang-select:focus {
  outline: none !important;
}

@media (max-width: 480px) {
  .lang-switcher-wrapper {
    padding: 1px 4px;
    gap: 3px;
  }
  .lang-select {
    font-size: 11.5px;
    padding-right: 14px;
  }
}

/* RTL Layout Support (Arabic) */
[dir="rtl"] {
  direction: rtl;
}

[dir="rtl"] #language-selector,
[dir="rtl"] .lang-select {
  padding: 0 4px 0 18px !important;
  background-position: left 1px center !important;
}

[dir="rtl"] .search-button {
  border-radius: 4px 0 0 4px;
}

[dir="rtl"] .search-input {
  border-radius: 0 4px 4px 0;
  text-align: right;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  user-select: none;
}

.logo-white {
  color: #ffffff;
  font-size: 25px;
  font-weight: bold;
  letter-spacing: -0.3px;
}

.logo-green {
  color: var(--logo-green);
  font-size: 25px;
  font-weight: bold;
}

.header-signin {
  color: #ffffff;
  font-size: 13.5px;
  text-decoration: none;
  cursor: pointer;
  transition: text-decoration 0.15s ease;
}

.header-signin:hover {
  text-decoration: underline;
}

/* ==========================================================================
   HERO / UPPER SECTION (Scientific Calculator + Search)
   ========================================================================== */
.hero-section {
  background-color: var(--hero-bg);
  border-bottom: 1px solid #c5d5e5;
  padding: 22px 0 25px 0;
  width: 100%;
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

/* ==========================================================================
   SCIENTIFIC CALCULATOR
   ========================================================================== */
.calculator-card {
  background: #ffffff;
  border: 1px solid var(--calc-border);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  padding: 7px;
  width: 512px;
  flex-shrink: 0;
}

/* Calculator Screen */
.calc-screen {
  background-color: var(--calc-display-bg);
  border-radius: 2px;
  height: 44px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
}

.screen-memory {
  color: #a8cded;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.5px;
  visibility: hidden;
  user-select: none;
  padding-right: 6px;
}

.screen-memory.active {
  visibility: visible;
}

.screen-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex-grow: 1;
  overflow: hidden;
}

.screen-history {
  color: #bad3eb;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  height: 14px;
  line-height: 14px;
}

.screen-main {
  color: var(--calc-display-text);
  font-size: 24px;
  font-weight: bold;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 26px;
}

/* Buttons Grid */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
  margin-top: 6px;
}

.calc-btn {
  height: 33px;
  border-radius: 3px;
  border: 1px solid var(--btn-border);
  background-color: var(--btn-func-bg);
  color: var(--btn-text);
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  padding: 0;
  transition: background-color 0.1s ease, border-color 0.1s ease, transform 0.05s ease;
  outline: none;
}

.calc-btn:hover {
  background-color: var(--btn-func-hover);
  border-color: #a2b0c0;
}

.calc-btn:active {
  transform: translateY(1px);
  background-color: #cfdbe8;
}

/* Button Variants */
.btn-number {
  background-color: var(--btn-num-bg);
  color: var(--btn-num-text);
}

.btn-number:hover {
  background-color: var(--btn-num-hover);
}

.btn-op {
  background-color: var(--btn-op-bg);
  color: var(--btn-text);
}

.btn-op:hover {
  background-color: var(--btn-op-hover);
}

.btn-equal {
  background-color: var(--btn-eq-bg);
  color: var(--btn-eq-text);
  border-color: #9cbddc;
}

.btn-equal:hover {
  background-color: var(--btn-eq-hover);
  border-color: #8bb1d6;
}

.btn-clear {
  background-color: #e2ebf5;
  color: #1a3858;
}

.btn-clear:hover {
  background-color: #d1dfed;
}

/* Radio Toggle for Deg/Rad */
.angle-toggle {
  grid-column: span 2;
  background-color: #edf2f7;
  border: 1px solid var(--btn-border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px;
  font-size: 11.5px;
  color: #203854;
  user-select: none;
}

.angle-label {
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  font-weight: normal;
}

.angle-label input[type="radio"] {
  cursor: pointer;
  margin: 0;
  accent-color: #2b5a88;
}

/* ==========================================================================
   HERO RIGHT (Search Section)
   ========================================================================== */
.hero-search-col {
  flex-grow: 1;
  padding-top: 4px;
}

.hero-search-title {
  color: #003366;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 12px;
}

.search-form {
  display: flex;
  gap: 0;
  position: relative;
  max-width: 320px;
}

.search-input {
  width: 220px;
  height: 26px;
  border: 1px solid #7c9dbd;
  border-right: none;
  padding: 0 8px;
  font-size: 13px;
  font-family: var(--font-family);
  border-radius: 2px 0 0 2px;
  outline: none;
}

.search-input:focus {
  border-color: #2b5a88;
}

.search-button {
  background-color: #2b5a88;
  color: #ffffff;
  border: 1px solid #1e4770;
  border-radius: 0 2px 2px 0;
  height: 26px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: bold;
  font-family: var(--font-family);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.search-button:hover {
  background-color: #1e4770;
}

/* Live Search Suggestions Dropdown */
.search-results-dropdown {
  position: absolute;
  top: 30px;
  left: 0;
  width: 330px;
  min-width: 310px;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid #a0b6cc;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  border-radius: 3px;
  z-index: 100;
  display: none;
  max-height: 280px;
  overflow-y: auto;
}

[dir="rtl"] .search-results-dropdown {
  left: auto;
  right: 0;
  text-align: right;
}

.search-results-dropdown.active {
  display: block;
}

.search-result-item {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--link-blue);
  cursor: pointer;
  border-bottom: 1px solid #edf2f7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.12s ease;
}

[dir="rtl"] .search-result-item {
  flex-direction: row-reverse;
}

.search-result-item:hover,
.search-result-item.focused {
  background-color: #eef5fc;
  color: #1e4770;
  text-decoration: underline;
}

.search-result-cat {
  font-size: 10.5px;
  color: #718096;
  text-decoration: none !important;
  margin-left: 8px;
}

[dir="rtl"] .search-result-cat {
  margin-left: 0;
  margin-right: 8px;
}

.search-no-results {
  padding: 10px 12px;
  font-size: 12.5px;
  color: #666666;
  font-style: italic;
}

/* ==========================================================================
   CALCULATOR CATEGORIES (4 COLUMNS)
   ========================================================================== */
.categories-section {
  padding: 30px 0 25px 0;
  width: 100%;
}

.categories-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.category-card {
  display: flex;
  flex-direction: column;
}

.category-icon-wrapper {
  margin: 0 auto 12px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  border: 3px solid #ffffff;
  background-color: #f7fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-icon-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

.category-icon-svg {
  width: 100%;
  height: 100%;
}

.category-title {
  color: #003366;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 12px;
  line-height: 1.25;
  white-space: nowrap;
  letter-spacing: -0.1px;
}

.category-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.category-link-item {
  height: 22px;
  display: flex;
  align-items: center;
  margin-bottom: 3px;
  line-height: 1.35;
}

.calc-link {
  color: #0044aa;
  font-family: var(--font-family);
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.calc-link:hover {
  text-decoration: underline;
  color: #002277;
}

/* ==========================================================================
   ALL CALCULATORS BUTTON
   ========================================================================== */
.all-calc-section {
  text-align: center;
  margin: 28px 0 35px 0;
}

.all-calc-btn {
  background-color: var(--all-calc-green, #4c7a34);
  color: #ffffff;
  font-family: var(--font-family, Arial, Helvetica, sans-serif);
  font-size: 15.5px;
  font-weight: bold;
  padding: 8px 22px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.all-calc-btn:hover {
  background-color: var(--all-calc-green-hover, #406a2b);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
}

.all-calc-btn:active {
  transform: translateY(1px);
}

.all-calc-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.play-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #ffffff;
  margin-left: 2px;
}

[dir="rtl"] .all-calc-btn .play-arrow {
  border-left: none;
  border-right: 8px solid #ffffff;
  margin-left: 0;
  margin-right: 2px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 24px 0 30px 0;
  width: 100%;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
  text-align: left;
}

.footer-links-row {
  text-align: center;
  margin-top: 18px;
  font-size: 12.5px;
  color: #666666;
}

.footer-link {
  color: var(--link-blue);
  text-decoration: none;
  margin: 0 2px;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-copyright {
  margin-left: 10px;
  margin-inline-start: 10px;
}

/* ==========================================================================
   MODAL / POPUP DIALOGS (For Interactive Calculators & All Directory)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 15px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-window {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 550px;
  overflow: hidden;
  animation: modalFadeIn 0.18s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  background-color: #003366;
  color: #ffffff;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 16px;
  font-weight: bold;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.modal-close-btn:hover {
  color: #e2e8f0;
}

.modal-body {
  padding: 20px;
  max-height: 75vh;
  overflow-y: auto;
}

.interactive-tool-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 13px;
  font-weight: bold;
  color: #2d3748;
}

.form-group input,
.form-group select {
  height: 32px;
  padding: 4px 8px;
  border: 1px solid #cbd5e0;
  border-radius: 3px;
  font-size: 14px;
  font-family: var(--font-family);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #2b5a88;
}

.tool-calc-btn {
  background-color: #2e7d32;
  color: #ffffff;
  border: none;
  border-radius: 3px;
  height: 34px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 6px;
  transition: background-color 0.15s ease;
}

.tool-calc-btn:hover {
  background-color: #256629;
}

.tool-result-box {
  margin-top: 15px;
  background-color: #f0f7f0;
  border: 1px solid #c3e6cb;
  border-radius: 3px;
  padding: 12px;
  color: #155724;
  font-size: 14px;
  line-height: 1.5;
}

.tool-result-box.info {
  background-color: #edf5fc;
  border-color: #bcd9f2;
  color: #0c4375;
}

/* All Calculators Directory Grid Inside Modal */
.directory-search {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #a0aec0;
  border-radius: 3px;
  margin-bottom: 15px;
  font-size: 14px;
}

.directory-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.dir-cat-title {
  font-size: 14px;
  font-weight: bold;
  color: var(--cat-title-green);
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 4px;
  margin-bottom: 6px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .calculator-card {
    width: 100%;
    max-width: 512px;
  }

  .hero-search-col {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .categories-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .category-title {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .calculator-card {
    padding: 4px;
  }

  .calc-btn {
    height: 30px;
    font-size: 12px;
  }

  .angle-toggle {
    font-size: 10.5px;
  }

  .categories-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .directory-columns {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ABOUT US PAGE STYLES
   ========================================================================== */

/* Breadcrumb Navigation */
.breadcrumb-bar {
  background-color: var(--bg-light);
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 0;
  width: 100%;
}

.breadcrumb-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  font-size: 12.5px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-link {
  color: var(--link-blue);
  text-decoration: none;
}

.breadcrumb-link:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #94a3b8;
  font-size: 11px;
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: bold;
}

/* Page Hero / Banner */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 55%, #0f6277 100%);
  color: #ffffff;
  padding: 48px 15px;
  text-align: center;
  border-bottom: 3px solid var(--accent-green);
}

.hero-content-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: 36px;
  font-weight: bold;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-hero-subtitle {
  font-size: 18px;
  color: #d1e5f0;
  font-weight: 300;
  line-height: 1.5;
}

/* Main Container */
.about-main {
  width: 100%;
  background-color: #ffffff;
}

.about-article {
  max-width: 960px;
  margin: 0 auto;
  padding: 35px 15px 20px 15px;
}

.about-section {
  margin-bottom: 38px;
}

.section-title {
  font-size: 22px;
  color: var(--primary-dark);
  font-weight: bold;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e5e9f0;
  position: relative;
}

.section-title.center {
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
}

.section-subtitle.center {
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  margin-top: 4px;
  margin-bottom: 24px;
}

.section-paragraph {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Categories List Grid */
.categories-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.category-info-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 16px 18px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.category-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.cat-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.cat-badge {
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cat-card-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-blue);
}

.cat-card-desc {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.55;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 14px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.value-icon {
  font-size: 26px;
  line-height: 1;
}

.value-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.value-desc {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.5;
}

/* Why Choose Us Cards */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.feature-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.feature-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

/* Contact Us Section */
.contact-section {
  background-color: var(--bg-light);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 44px 15px;
  width: 100%;
}

.contact-inner-container {
  max-width: 960px;
  margin: 0 auto;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.contact-icon {
  font-size: 30px;
  margin-bottom: 10px;
  color: var(--primary-blue);
}

.contact-card-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.contact-email {
  color: var(--link-blue);
  font-size: 13.5px;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 8px;
  word-break: break-all;
}

.contact-email:hover {
  text-decoration: underline;
  color: var(--link-blue-hover);
}

.contact-card-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.copy-email-btn {
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.copy-email-btn:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

/* Social Media Section */
.social-section {
  padding: 44px 15px;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  width: 100%;
}

.social-inner-container {
  max-width: 960px;
  margin: 0 auto;
}

.social-buttons-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 6px;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  filter: brightness(1.06);
}

.social-icon {
  font-size: 18px;
  font-weight: bold;
}

.social-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.social-platform {
  font-size: 11px;
  opacity: 0.88;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.social-handle {
  font-size: 12.5px;
  font-weight: bold;
  white-space: nowrap;
}

.social-twitter {
  background-color: #1d9bf0;
}

.social-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-facebook {
  background-color: #1877f2;
}

.social-linkedin {
  background-color: #0077b5;
}

.social-youtube {
  background-color: #ff0000;
}

/* FAQ Section (Accordion) */
.faq-section {
  padding: 44px 15px;
  background-color: #f8fafc;
  width: 100%;
}

.faq-inner-container {
  max-width: 820px;
  margin: 0 auto;
}

.accordion-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: border-color 0.15s ease;
}

.accordion-item.active {
  border-color: #cbd5e1;
}

.accordion-header {
  width: 100%;
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
  transition: background-color 0.15s ease;
}

.accordion-header:hover {
  background-color: #f1f5f9;
}

.accordion-indicator {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-blue);
  transition: transform 0.2s ease;
  line-height: 1;
}

.accordion-item.active .accordion-indicator {
  transform: rotate(45deg);
  color: #e11d48;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out, padding 0.25s ease;
  background-color: #ffffff;
  padding: 0 18px;
}

.accordion-item.active .accordion-content {
  padding: 0 18px 16px 18px;
}

.accordion-text {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.65;
}

.faq-inline-link {
  color: var(--link-blue);
  text-decoration: underline;
}

/* Call to Action Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 60%, #0f6277 100%);
  color: #ffffff;
  padding: 50px 15px;
  text-align: center;
  width: 100%;
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 28px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-subtext {
  font-size: 16px;
  color: #d1e5f0;
  margin-bottom: 24px;
}

.cta-btn {
  display: inline-block;
  background-color: var(--accent-green);
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.cta-btn:hover {
  background-color: #219653;
  transform: translateY(-2px);
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #1e293b;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 9999;
}

.toast-notification.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Responsive Adjustments for About Page */
@media (max-width: 900px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-buttons-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .page-hero-title {
    font-size: 28px;
  }

  .page-hero-subtitle {
    font-size: 15px;
  }

  .categories-list-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .social-buttons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-left {
    gap: 12px;
  }

  .nav-link {
    font-size: 12.5px;
    padding: 3px 6px;
  }
}

@media (max-width: 420px) {
  .social-buttons-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SITEMAP PAGE STYLES
   ========================================================================== */
:root {
  --primary-dark: #0a1628;
  --primary-blue: #1a5276;
  --accent-green: #27ae60;
  --accent-orange: #e67e22;
  --accent-blue: #2980b9;
  --accent-purple: #8e44ad;
  --accent-teal: #1abc9c;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --border-light: #e0e0e0;
  --link-color: #2980b9;
  --link-hover: #1a5276;
}

.skip-to-content {
  position: absolute;
  top: -40px;
  left: 10px;
  background: var(--primary-blue);
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  z-index: 10000;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 10px;
}

.sitemap-page {
  background-color: #fbfbfb;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sitemap-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 20px 60px 20px;
  flex: 1;
}

/* Search & Filter Box */
.search-filter-section {
  margin-bottom: 25px;
}

.search-box-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-icon-symbol {
  position: absolute;
  left: 14px;
  font-size: 18px;
  color: #888888;
  pointer-events: none;
}

.sitemap-search-input {
  width: 100%;
  height: 48px;
  padding: 10px 42px 10px 42px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background-color: #fcfcfc;
  border: 1.5px solid #dcdcdc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.sitemap-search-input:focus {
  border-color: var(--primary-blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.15);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  width: 26px;
  height: 26px;
  background: #e2e8f0;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  color: #475569;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.search-clear-btn:hover {
  background: #cbd5e1;
  color: #0f172a;
}

.search-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 10px;
}

.results-count-text {
  font-weight: bold;
  color: var(--primary-blue);
}

.print-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.print-btn:hover {
  background-color: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}

/* Quick Navigation Links */
.quick-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 35px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.quick-nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  overflow-x: auto;
}

.quick-nav-label {
  font-size: 13px;
  font-weight: bold;
  color: #555555;
  margin-right: 4px;
  white-space: nowrap;
}

.quick-nav-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--link-color);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  background-color: #f4f8fb;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.quick-nav-link:hover,
.quick-nav-link.active {
  background-color: var(--primary-blue);
  color: #ffffff;
}

/* Sitemap Sections */
.sitemap-section {
  margin-bottom: 40px;
  scroll-margin-top: 70px;
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px;
}

.sitemap-section-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-icon {
  font-size: 20px;
}

.section-desc {
  font-size: 14px;
  color: var(--text-light);
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.category-badge {
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.3px;
}

.gold-badge {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.green-badge {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.orange-badge {
  background-color: #ffedd5;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

.blue-badge {
  background-color: #e0f2fe;
  color: #075985;
  border: 1px solid #bae6fd;
}

.purple-badge {
  background-color: #f3e8ff;
  color: #6b21a8;
  border: 1px solid #e9d5ff;
}

.gray-badge {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

/* Links Grid (Responsive 3-columns) */
.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.calculator-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.calculator-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
}

.calc-name {
  font-size: 15.5px;
  font-weight: bold;
  color: var(--link-color);
  margin-bottom: 6px;
  line-height: 1.35;
  transition: color 0.15s ease;
}

.calculator-card:hover .calc-name {
  color: var(--link-hover);
  text-decoration: underline;
}

.calc-desc {
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.5;
  flex: 1;
}

/* Category Left Border Accents (4px) */
.financial-card {
  border-left: 4px solid var(--accent-green);
}

.health-card {
  border-left: 4px solid var(--accent-orange);
}

.math-card {
  border-left: 4px solid var(--accent-blue);
}

.other-card {
  border-left: 4px solid var(--accent-purple);
}

/* Popular Section Styling */
.popular-section {
  background: #fffdf5;
  border: 1px solid #fef08a;
  border-radius: 8px;
  padding: 22px 20px;
}

.popular-card {
  border-left: 4px solid #f59e0b;
  background: #ffffff;
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: bold;
  background: #fef3c7;
  color: #b45309;
  padding: 2px 7px;
  border-radius: 10px;
}

/* Main Pages List */
.main-pages-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.main-page-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid #475569;
  border-radius: 6px;
  padding: 14px 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.main-page-item:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  background-color: #fafafa;
}

.main-page-item.current-page {
  border-left-color: var(--accent-green);
  background-color: #f0fdf4;
}

.item-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.item-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.item-title {
  font-size: 15px;
  font-weight: bold;
  color: var(--link-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-page-item:hover .item-title {
  color: var(--link-hover);
  text-decoration: underline;
}

.current-tag {
  font-size: 11px;
  font-weight: bold;
  color: #15803d;
  background-color: #dcfce7;
  padding: 1px 7px;
  border-radius: 8px;
}

.item-desc {
  font-size: 13px;
  color: var(--text-light);
}

.item-arrow {
  color: #94a3b8;
  font-size: 16px;
}

/* Utility Pages Grid */
.utility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.utility-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid #64748b;
  border-radius: 6px;
  padding: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.utility-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.utility-card.active {
  border-left-color: var(--accent-green);
  background-color: #f0fdf4;
}

.utility-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.utility-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.utility-title {
  font-size: 14.5px;
  font-weight: bold;
  color: var(--link-color);
}

.utility-card:hover .utility-title {
  color: var(--link-hover);
  text-decoration: underline;
}

.utility-desc {
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.45;
}

/* Statistics Cards */
.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--primary-blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.stat-title {
  font-size: 15px;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.45;
}

/* Highlight Text for Search */
mark.search-highlight {
  background-color: #fef08a;
  color: #1e293b;
  padding: 0 2px;
  border-radius: 2px;
}

/* Back to Top Floating Button */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background-color: var(--primary-blue);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background-color 0.2s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background-color: var(--primary-dark);
}

/* Responsive Breakpoints for Sitemap */
@media (max-width: 1024px) {
  .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .utility-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sitemap-container {
    padding: 20px 15px 40px 15px;
  }

  .links-grid {
    grid-template-columns: 1fr;
  }

  .utility-grid {
    grid-template-columns: 1fr;
  }

  .stats-cards-grid {
    grid-template-columns: 1fr;
  }

  .search-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .sitemap-section-title {
    font-size: 20px;
  }

  .back-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   TERMS OF USE PAGE STYLES
   ========================================================================== */
.terms-page {
  background-color: #fbfbfd;
  color: var(--text-dark);
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.terms-main-wrapper {
  width: 100%;
  flex: 1;
  padding: 30px 20px 60px 20px;
}

.terms-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

/* Terms Sidebar & Sticky TOC */
.terms-sidebar {
  width: 320px;
  flex-shrink: 0;
}

.terms-sidebar-sticky {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: calc(100vh - 40px);
}

/* Sidebar Action Buttons */
.sidebar-action-box {
  display: flex;
  gap: 10px;
}

.legal-action-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: bold;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.legal-action-btn:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.legal-action-btn.primary {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
}

.legal-action-btn.primary:hover {
  background: #154360;
  border-color: #154360;
}

/* TOC Card */
.toc-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  max-height: 480px;
}

.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf2f7;
}

.toc-title {
  font-size: 15px;
  font-weight: bold;
  color: var(--primary-dark);
  margin: 0;
}

.toc-count {
  font-size: 12px;
  color: #6b7280;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.toc-filter-wrap {
  margin-bottom: 10px;
}

.toc-filter-input {
  width: 100%;
  padding: 7px 10px;
  font-size: 13px;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  background-color: #fafafa;
  outline: none;
}

.toc-filter-input:focus {
  border-color: var(--primary-blue);
  background-color: #ffffff;
}

.toc-nav-list {
  overflow-y: auto;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-nav-list::-webkit-scrollbar {
  width: 5px;
}

.toc-nav-list::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.toc-link {
  display: block;
  padding: 6px 10px;
  font-size: 13px;
  color: #4b5563;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.15s, color 0.15s;
  line-height: 1.4;
}

.toc-link:hover {
  background-color: #f3f4f6;
  color: var(--primary-blue);
}

.toc-link.active {
  background-color: #ebf5fb;
  color: var(--primary-blue);
  font-weight: bold;
  border-left: 3px solid var(--primary-blue);
}

/* Quick Summary Card in Sidebar */
.legal-summary-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 16px;
}

.summary-card-title {
  font-size: 13.5px;
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.summary-card-list {
  margin: 0;
  padding-left: 18px;
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
}

.summary-card-list li {
  margin-bottom: 6px;
}

/* Terms Content Article */
.terms-content {
  flex: 1;
  max-width: 840px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 36px 42px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.75;
  color: #333333;
}

/* Hero Badges */
.hero-badge-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.effective-badge, .version-badge {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.3px;
}

.effective-badge {
  background: rgba(39, 174, 96, 0.25);
  color: #a3e4d7;
  border: 1px solid rgba(39, 174, 96, 0.5);
}

.version-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #e0e0e0;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-updated-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #bdc3c7;
  margin-top: 6px;
}

/* Legal Sections */
.legal-section {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid #f0f0f0;
  scroll-margin-top: 30px;
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-callout-box {
  background: #f8fafc;
  border-left: 4px solid var(--primary-blue);
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 10px;
}

.callout-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.callout-icon {
  font-size: 20px;
  color: var(--primary-blue);
}

.callout-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-dark);
  margin: 0;
}

.callout-text {
  margin: 0;
  font-size: 16px;
  color: #334155;
  line-height: 1.75;
}

/* Section Header */
.legal-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.section-num-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #1e293b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: bold;
  flex-shrink: 0;
}

.legal-heading {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 21px;
  font-weight: bold;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.35;
}

.legal-body p {
  margin: 0 0 16px 0;
  color: #333333;
}

.legal-body p:last-child {
  margin-bottom: 0;
}

/* Bullet Lists */
.legal-bullet-list {
  margin: 10px 0 18px 24px;
  padding: 0;
  list-style-type: disc;
}

.legal-bullet-list li {
  margin-bottom: 10px;
  line-height: 1.65;
  color: #333333;
}

/* Features Grid */
.legal-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.legal-feature-item {
  display: flex;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14.5px;
}

.feature-bullet {
  color: var(--accent-green);
  font-weight: bold;
  font-size: 16px;
  line-height: 1.2;
}

.feature-text {
  color: #334155;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

/* Notice & Warning Boxes */
.legal-notice-box {
  border-radius: 6px;
  padding: 16px 20px;
  margin: 18px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
}

.legal-notice-box.info-notice {
  background: #ebf5fb;
  border-left: 4px solid var(--accent-blue);
  color: #1a5276;
}

.legal-notice-box.warning-notice {
  background: #fef9e7;
  border-left: 4px solid var(--accent-orange);
  color: #7d6608;
}

.legal-caps-box {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  border-radius: 6px;
  padding: 18px 22px;
  margin: 16px 0;
}

.caps-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.6;
  color: #991b1b;
  margin: 0 !important;
}

/* Contact Card in Section 19 */
.legal-contact-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 18px 22px;
  margin-top: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

.contact-org-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.contact-label {
  font-weight: 600;
  color: #475569;
  min-width: 130px;
}

.legal-email-link, .legal-link {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
}

.legal-email-link:hover, .legal-link:hover {
  text-decoration: underline;
}

/* Acceptance Checkbox Component */
.terms-acceptance-card {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 8px;
  padding: 22px 26px;
  margin-top: 30px;
  font-family: Arial, Helvetica, sans-serif;
}

.acceptance-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.acceptance-icon {
  font-size: 18px;
  color: #16a34a;
  font-weight: bold;
}

.acceptance-title {
  font-size: 17px;
  font-weight: bold;
  color: #166534;
  margin: 0;
}

.acceptance-desc {
  font-size: 14px;
  color: #374151;
  margin-bottom: 14px;
}

.acceptance-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.acceptance-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #16a34a;
}

.checkbox-text {
  font-size: 14px;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.45;
}

.acceptance-status-msg {
  margin-top: 12px;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 4px;
  display: none;
}

.acceptance-status-msg.active {
  display: block;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.footer-update-note {
  font-size: 12px;
  color: #888888;
  margin-top: 10px;
  font-style: italic;
}

/* Responsive Styles for Terms */
@media (max-width: 1100px) {
  .terms-container {
    flex-direction: column;
  }

  .terms-sidebar {
    width: 100%;
  }

  .terms-sidebar-sticky {
    position: static;
    max-height: none;
  }

  .toc-card {
    max-height: 280px;
  }

  .terms-content {
    max-width: 100%;
    padding: 28px 24px;
  }
}

@media (max-width: 768px) {
  .legal-features-grid {
    grid-template-columns: 1fr;
  }

  .terms-content {
    padding: 20px 16px;
    font-size: 15px;
  }

  .legal-heading {
    font-size: 18px;
  }

  .sidebar-action-box {
    flex-direction: column;
  }

  .contact-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .contact-label {
    min-width: unset;
  }
}

/* ==========================================
   PRIVACY POLICY SPECIFIC STYLES
   ========================================== */
.privacy-page .terms-container {
  max-width: 960px;
}

.privacy-branding-bar {
  border-bottom: 2px solid #002244;
}

.hero-dates-line {
  font-size: 13.5px;
  color: #cbd5e1;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-brief-intro {
  font-size: 15px;
  color: #e2e8f0;
  margin-top: 10px;
  line-height: 1.5;
}

.privacy-seal-badge {
  background: rgba(39, 174, 96, 0.25);
  color: #a3e4d7;
  border: 1px solid rgba(39, 174, 96, 0.5);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 12px;
}

.legal-subheading {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark, #0a1628);
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 22px;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #f1f5f9;
}

/* Mobile Accordion Toggle for TOC */
.toc-accordion-toggle {
  display: none;
  width: 100%;
  padding: 11px 14px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary-dark, #0a1628);
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.accordion-chevron {
  transition: transform 0.25s ease;
  font-size: 12px;
}

@media (max-width: 900px) {
  .toc-accordion-toggle {
    display: flex;
  }
  .terms-sidebar .toc-card {
    display: none;
  }
  .terms-sidebar .toc-card.is-open {
    display: block;
    margin-top: 8px;
  }
  .toc-accordion-toggle.active .accordion-chevron {
    transform: rotate(180deg);
  }
}

/* Consent Section Callout */
.consent-callout-card {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  margin-top: 8px;
}

.consent-statement {
  font-size: 17px;
  font-weight: 700;
  color: #166534;
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.5;
}

.consent-subtext {
  font-size: 13.5px;
  color: #14532d;
  line-height: 1.5;
  margin: 0;
}

.submit-request-btn {
  background: #1a5276;
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-request-btn:hover {
  background: #154360;
}

.privacy-guarantee-note {
  font-size: 12px;
  color: #64748b;
  margin-left: 12px;
  display: inline-block;
  vertical-align: middle;
}

/* Quick Facts Box */
.privacy-quick-facts-box {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 8px;
  padding: 22px 24px;
  margin-bottom: 30px;
}

.facts-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.facts-icon {
  font-size: 22px;
}

.facts-title {
  font-size: 20px;
  font-weight: 700;
  color: #166534;
  font-family: Arial, Helvetica, sans-serif;
}

.facts-intro {
  font-size: 14.5px;
  color: #14532d;
  line-height: 1.5;
  margin-bottom: 16px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.fact-card {
  background: #ffffff;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.fact-num {
  font-size: 22px;
  font-weight: 800;
  color: #15803d;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 4px;
}

.fact-text {
  font-size: 12.5px;
  line-height: 1.4;
  color: #374151;
}

.fact-text strong {
  color: #111827;
  display: block;
  margin-bottom: 2px;
}

@media (max-width: 900px) {
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .facts-grid {
    grid-template-columns: 1fr;
  }
}

/* Sidebar Cookie Preferences Button */
.legal-action-btn.cookie-manage-btn {
  background: #ebf5fb;
  color: #1a5276;
  border: 1px solid #aed6f1;
  margin-bottom: 16px;
  width: 100%;
  justify-content: center;
}

.legal-action-btn.cookie-manage-btn:hover {
  background: #d4e6f1;
  color: #154360;
}

/* Compliance Badge Card */
.compliance-badge-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.compliance-badge-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
  margin-bottom: 10px;
}

.compliance-tags-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.comp-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 4px 6px;
  border-radius: 4px;
}

.comp-icon {
  color: #16a34a;
  font-weight: 800;
}

/* Cookie Data Table */
.table-responsive-wrapper {
  overflow-x: auto;
  margin: 18px 0;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.legal-data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13.5px;
  background: #ffffff;
}

.legal-data-table th {
  background: #f1f5f9;
  color: #1e293b;
  font-weight: 700;
  text-align: left;
  padding: 11px 14px;
  border-bottom: 2px solid #cbd5e1;
}

.legal-data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  vertical-align: middle;
}

.legal-data-table tr:last-child td {
  border-bottom: none;
}

.legal-data-table tr:hover td {
  background: #f8fafc;
}

.legal-data-table code {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: Consolas, Monaco, monospace;
  font-size: 12.5px;
}

.badge-cookie {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-cookie.essential {
  background: #dbeafe;
  color: #1e40af;
}

.badge-cookie.preference {
  background: #fef3c7;
  color: #92400e;
}

.badge-cookie.analytics {
  background: #dcfce7;
  color: #166534;
}

.badge-cookie.marketing {
  background: #f3e8ff;
  color: #6b21a8;
}

/* Data Request Form Box */
.privacy-request-box {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 26px 28px;
  margin-top: 36px;
}

.request-box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.request-icon {
  font-size: 22px;
}

.request-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-dark, #0a1628);
  font-family: Arial, Helvetica, sans-serif;
}

.request-desc {
  font-size: 14.5px;
  color: #475569;
  margin-bottom: 20px;
  line-height: 1.5;
}

.privacy-form .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .privacy-form .form-row-2 {
    grid-template-columns: 1fr;
  }
}

.privacy-form .form-group {
  margin-bottom: 16px;
}

.privacy-form .form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.privacy-form .form-input,
.privacy-form .form-select,
.privacy-form .form-textarea {
  width: 100%;
  padding: 9px 12px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.privacy-form .form-input:focus,
.privacy-form .form-select:focus,
.privacy-form .form-textarea:focus {
  border-color: #1a5276;
  box-shadow: 0 0 0 2px rgba(26, 82, 118, 0.15);
}

.privacy-form .submit-req-btn {
  background: #1a5276;
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
}

.privacy-form .submit-req-btn:hover {
  background: #154360;
}

.data-request-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  display: none;
  padding: 10px 14px;
  border-radius: 5px;
}

.data-request-status.success {
  display: block;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.data-request-status.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ==========================================
   COOKIE CONSENT BANNER & MODAL
   ========================================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--cookie-bg, #1a5276);
  color: var(--cookie-text, #ffffff);
  z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  padding: 16px 20px;
  transform: translateY(120%);
  transition: transform 0.35s ease-in-out;
  display: block;
}

.cookie-consent.visible {
  transform: translateY(0);
}

.cookie-consent-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.cookie-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.cookie-message {
  font-size: 13.5px;
  line-height: 1.5;
  color: #f0fdf4;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.cookie-btn.cookie-accept {
  background: #27ae60;
  color: #ffffff;
  border: 1px solid #219653;
}

.cookie-btn.cookie-accept:hover {
  background: #219653;
}

.cookie-btn.cookie-manage {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.cookie-manage:hover {
  background: rgba(255, 255, 255, 0.25);
}

.cookie-btn.cookie-decline {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid #94a3b8;
}

.cookie-btn.cookie-decline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

@media (max-width: 900px) {
  .cookie-consent-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    flex-wrap: wrap;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 15px;
}

.cookie-modal-backdrop.active {
  display: flex;
}

.cookie-modal-window,
.cookie-pref-modal {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  width: 100%;
  max-width: 580px;
  overflow: hidden;
  animation: modalFadeIn 0.2s ease-out;
}

.cookie-modal-header {
  background: #003366;
  color: #ffffff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-modal-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.cookie-modal-close:hover {
  opacity: 1;
}

.cookie-modal-body,
.cookie-pref-body {
  padding: 20px 24px;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal-intro,
.cookie-pref-intro {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 20px;
}

.pref-toggle {
  position: relative;
  display: flex;
  align-items: center;
}

.cookie-pref-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.pref-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.pref-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.pref-required-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  background: #dbeafe;
  color: #1e40af;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  text-transform: uppercase;
}

.pref-type-label {
  display: inline-block;
  font-size: 11px;
  color: #64748b;
  margin-left: 6px;
}

.pref-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.25s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #27ae60;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

.toggle-slider.disabled {
  background-color: #94a3b8;
  cursor: not-allowed;
}

.cookie-pref-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.cookie-pref-actions .cookie-btn {
  flex: 1;
}

/* Update Footer Note */
.footer-update-note {
  font-size: 12.5px;
  color: #666666;
  text-align: center;
  margin-top: 12px;
  font-style: italic;
}

/* PRINT-FRIENDLY STYLES */
@media print {
  .site-header,
  .breadcrumb-bar,
  .search-filter-section,
  .quick-nav,
  .cta-banner,
  .back-to-top-btn,
  .modal-backdrop,
  .toast-notification,
  .print-btn,
  .terms-sidebar,
  .terms-acceptance-card,
  .copy-email-btn,
  .cookie-consent,
  .privacy-request-box,
  .sidebar-action-box,
  .legal-action-btn,
  .site-footer {
    display: none !important;
  }

  body, .sitemap-page, .sitemap-container, .terms-page, .terms-main-wrapper, .terms-container {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .terms-content {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 100% !important;
    font-size: 11pt !important;
    line-height: 1.5 !important;
  }

  .legal-section {
    page-break-inside: avoid;
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
  }

  .page-hero {
    background: none !important;
    color: #000 !important;
    padding: 20px 0 !important;
    border-bottom: 2px solid #333 !important;
  }

  .page-hero-title {
    color: #000 !important;
    font-size: 24pt !important;
  }

  .page-hero-subtitle {
    color: #333 !important;
    font-size: 14pt !important;
  }

  .hero-description, .hero-badge-row {
    display: none !important;
  }

  .sitemap-section {
    page-break-inside: avoid;
    margin-bottom: 25px !important;
  }

  .links-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .calculator-card {
    border: 1px solid #999 !important;
    box-shadow: none !important;
    padding: 10px !important;
    break-inside: avoid;
  }

  .calc-name {
    color: #000 !important;
    font-size: 11pt !important;
  }

  .calc-desc {
    color: #444 !important;
    font-size: 9pt !important;
  }
}

/* ==========================================================================
   BLOGS PAGE STYLING
   ========================================================================== */
.blogs-page {
  background-color: #f8fafc;
}

.blogs-main {
  width: 100%;
  padding-bottom: 60px;
}

.blogs-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 30px 20px;
}

.blogs-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.blogs-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-cat-btn {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-cat-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.blog-cat-btn.active {
  background: var(--primary-blue, #004080);
  color: #ffffff;
  border-color: var(--primary-blue, #004080);
}

.blogs-search-box {
  position: relative;
  min-width: 240px;
}

.blogs-search-input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  font-size: 13.5px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.blogs-search-input:focus {
  border-color: var(--primary-blue, #004080);
  box-shadow: 0 0 0 3px rgba(0, 64, 128, 0.12);
}

.blogs-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

/* Featured Blog Post */
.featured-blog-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #cbd5e1;
  border-left: 5px solid var(--accent-green, #00d084);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 35px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.featured-blog-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.featured-blog-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.35;
}

.featured-blog-excerpt {
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 18px;
}

.blog-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 18px;
}

.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-blue, #004080);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.blog-read-btn:hover {
  background: #002d5a;
  color: #ffffff;
}

/* Blog Posts Grid */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.blog-post-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.07);
  border-color: #cbd5e1;
}

.blog-card-category {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  width: fit-content;
}

.cat-finance {
  background: #e0f2fe;
  color: #0369a1;
}

.cat-health {
  background: #fef2f2;
  color: #b91c1c;
}

.cat-math {
  background: #f0fdf4;
  color: #15803d;
}

.cat-computing {
  background: #faf5ff;
  color: #7e22ce;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.blog-card-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #64748b;
}

.blog-inline-link {
  color: var(--primary-blue, #004080);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
}

.blog-inline-link:hover {
  text-decoration: underline;
  color: #002d5a;
}

/* Full Article Modal */
.blog-modal-content {
  line-height: 1.75;
  color: #334155;
  font-size: 15px;
}

.blog-modal-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 24px 0 12px 0;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 6px;
}

.blog-modal-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 18px 0 8px 0;
}

.blog-modal-content p {
  margin-bottom: 16px;
}

.blog-modal-content ul, .blog-modal-content ol {
  margin: 12px 0 18px 24px;
}

.blog-modal-content li {
  margin-bottom: 8px;
}

.blog-formula-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary-blue, #004080);
  border-radius: 4px;
  padding: 14px 18px;
  margin: 16px 0;
  font-family: monospace;
  font-size: 14px;
  color: #0f172a;
}

.blog-callout-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 14px;
  color: #166534;
}

.blog-tools-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 12px 18px;
  margin: 20px 0 10px 0;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  transition: all 0.2s;
}

.blog-tools-link-card:hover {
  background: #e2e8f0;
  color: var(--primary-blue, #004080);
}

@media (max-width: 768px) {
  .blogs-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .blogs-search-box {
    width: 100%;
  }
  .blogs-grid {
    grid-template-columns: 1fr;
  }
  .featured-blog-card {
    padding: 20px;
  }
  .featured-blog-title {
    font-size: 20px;
  }
}

/* ==========================================================================
   RTL SUPPORT
   ========================================================================== */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .header-right {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .category-links {
  text-align: right;
}

[dir="rtl"] .category-links li {
  padding-left: 0;
  padding-right: 0.5rem;
}

[dir="rtl"] .footer-desc {
  text-align: right;
}

[dir="rtl"] .footer-links-row {
  direction: rtl;
}

[dir="rtl"] .footer-copyright {
  margin-left: 0;
  margin-right: 10px;
}

/* ==========================================================================
   CALCULATOR RICH SEO / AEO / GEO EDITORIAL CONTENT STYLES
   ========================================================================== */
.calc-seo-section {
  background: #ffffff;
  border: 1px solid #dbe7f2;
  border-top: 4px solid #003366;
  border-radius: 6px;
  padding: 24px 28px;
  margin: 28px 0 32px 0;
  color: #333333;
  font-family: var(--font-family, Arial, Helvetica, sans-serif);
  line-height: 1.65;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.calc-seo-section h2 {
  color: #003366;
  font-size: 21px;
  font-weight: 700;
  border-bottom: 2px solid #dbe7f2;
  padding-bottom: 8px;
  margin: 24px 0 12px 0;
}

.calc-seo-section h2:first-child {
  margin-top: 0;
}

.calc-seo-section h3 {
  color: #1a5276;
  font-size: 16px;
  font-weight: 700;
  margin: 18px 0 8px 0;
}

.calc-seo-section h4 {
  color: #2e7d32;
  font-size: 14px;
  font-weight: 700;
  margin: 12px 0 6px 0;
}

.calc-seo-section p {
  font-size: 13.5px;
  color: #333333;
  margin-bottom: 12px;
  line-height: 1.65;
}

.calc-seo-section strong {
  color: #0f172a;
}

.calc-seo-section ul,
.calc-seo-section ol {
  margin: 8px 0 14px 22px;
  font-size: 13.5px;
  line-height: 1.65;
}

.calc-seo-section li {
  margin-bottom: 6px;
}

/* AEO Q&A Cards */
.seo-aeo-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #003366;
  border-radius: 5px;
  padding: 14px 16px;
  margin: 12px 0 16px 0;
}

.seo-aeo-card h4 {
  margin-top: 0;
  color: #003366;
  font-size: 14.5px;
}

/* GEO Geographic Context Box */
.geo-insight-box {
  background: #f0f7ff;
  border: 1px solid #cce3f6;
  border-left: 4px solid #1a5276;
  border-radius: 4px;
  padding: 14px 18px;
  margin: 16px 0;
}

.geo-insight-box h4 {
  margin-top: 0;
  color: #1a5276;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Mathematical Formula Display */
.seo-formula-box {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 10px 14px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  color: #0f172a;
  margin: 10px 0 14px 0;
  overflow-x: auto;
}

/* Financial Comparison Tables */
.seo-table-wrap {
  overflow-x: auto;
  margin: 14px 0 18px 0;
}

.seo-summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #ffffff;
}

.seo-summary-table th {
  background: #e9edf2;
  color: #003366;
  font-weight: 700;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  text-align: left;
}

.seo-summary-table td {
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  color: #333333;
}

.seo-summary-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

/* RTL Adaptations for Editorial Section */
[dir="rtl"] .calc-seo-section {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] .calc-seo-section ul,
[dir="rtl"] .calc-seo-section ol {
  margin-left: 0;
  margin-right: 22px;
}

[dir="rtl"] .seo-aeo-card {
  border-left: none;
  border-right: 3px solid #003366;
}

[dir="rtl"] .geo-insight-box {
  border-left: none;
  border-right: 4px solid #1a5276;
}

[dir="rtl"] .seo-summary-table th,
[dir="rtl"] .seo-summary-table td {
  text-align: right;
}

@media (max-width: 768px) {
  .calc-seo-section {
    padding: 16px;
    margin: 20px 0;
  }
  .calc-seo-section h2 {
    font-size: 18px;
  }
  .calc-seo-section h3 {
    font-size: 15px;
  }
}

/* ==========================================================================
   CLASSIC SITEMAP LAYOUT (Matches Reference Directory Image)
   ========================================================================== */
.sitemap-classic-body {
  background-color: #ffffff;
  color: #333333;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}

.sitemap-classic-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 20px 40px 20px;
  position: relative;
}

.sitemap-classic-breadcrumb {
  font-size: 12px;
  color: #0844a4;
  margin-bottom: 8px;
}

.sitemap-classic-breadcrumb a {
  color: #0844a4;
  text-decoration: underline;
}

.sitemap-classic-breadcrumb a:hover {
  color: #002277;
}

.sitemap-classic-breadcrumb .sep {
  color: #555555;
  margin: 0 4px;
}

.sitemap-classic-title {
  font-size: 26px;
  font-weight: bold;
  color: #0844a4;
  margin: 0 0 16px 0;
}

/* Floating Right Search Box */
.sitemap-right-search-wrapper {
  float: right;
  width: 250px;
  margin: 12px 0 20px 20px;
  position: relative;
}

.sitemap-right-search-form {
  display: flex;
  align-items: center;
}

.sitemap-right-search-input {
  flex: 1;
  height: 24px;
  padding: 2px 6px;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  border: 1px solid #7f9db9;
  border-right: none;
  background-color: #ffffff;
  outline: none;
  box-sizing: border-box;
}

.sitemap-right-search-input:focus {
  border-color: #0844a4;
}

.sitemap-right-search-btn {
  height: 24px;
  padding: 0 12px;
  background-color: #2c5f88;
  color: #ffffff;
  font-size: 12.5px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  border: 1px solid #1f4366;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

.sitemap-right-search-btn:hover {
  background-color: #1f476a;
}

/* Live search dropdown on sitemap */
.sitemap-live-dropdown {
  display: none;
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #7f9db9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  max-height: 280px;
  overflow-y: auto;
  z-index: 1000;
}

.sitemap-live-dropdown.active {
  display: block;
}

.sitemap-live-item {
  display: block;
  padding: 5px 8px;
  font-size: 12.5px;
  color: #0844a4;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
}

.sitemap-live-item:hover,
.sitemap-live-item.selected {
  background-color: #f2f6fa;
  text-decoration: underline;
}

.sitemap-classic-content {
  overflow: hidden;
}

.sitemap-classic-category {
  margin-bottom: 22px;
}

.sitemap-cat-heading {
  font-size: 15px;
  font-weight: bold;
  margin: 16px 0 6px 0;
}

.sitemap-cat-heading a {
  color: #0844a4;
  text-decoration: underline;
}

.sitemap-cat-heading a:hover {
  color: #002277;
}

.sitemap-2col-grid {
  display: grid;
  grid-template-columns: 290px 290px;
  column-gap: 30px;
}

.sitemap-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-col-list li {
  margin-bottom: 2.5px;
  line-height: 1.45;
}

.sitemap-col-list a {
  color: #0844a4;
  font-size: 12.5px;
  text-decoration: none;
  display: inline-block;
}

.sitemap-col-list a:hover {
  text-decoration: underline;
}

.sitemap-col-list a.search-match {
  background-color: #fff3bf;
  color: #000000;
  padding: 0 2px;
  border-radius: 2px;
}

.sitemap-utility-links {
  margin: 22px 0 0 0;
  list-style: none;
  padding: 0;
}

.sitemap-utility-links li {
  margin-bottom: 2.5px;
  line-height: 1.45;
}

.sitemap-utility-links a {
  color: #0844a4;
  font-size: 12.5px;
  text-decoration: none;
}

.sitemap-utility-links a:hover {
  text-decoration: underline;
}

.sitemap-classic-footer {
  margin-top: 35px;
  padding: 10px 15px;
  background-color: #e9e9e9;
  border-top: 1px solid #d0d0d0;
  text-align: center;
  font-size: 11.5px;
  color: #333333;
}

.sitemap-classic-footer a {
  color: #0844a4;
  text-decoration: none;
  margin: 0 4px;
}

.sitemap-classic-footer a:hover {
  text-decoration: underline;
}

.sitemap-classic-footer .copy {
  margin-left: 12px;
  color: #333333;
}

/* Responsive */
@media (max-width: 768px) {
  .sitemap-right-search-wrapper {
    float: none;
    width: 100%;
    margin: 10px 0 20px 0;
  }
  .sitemap-2col-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
}

/* RTL Support */
[dir="rtl"] .sitemap-classic-body {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .sitemap-right-search-wrapper {
  float: left;
  margin: 12px 20px 20px 0;
}

[dir="rtl"] .sitemap-right-search-input {
  border-right: 1px solid #7f9db9;
  border-left: none;
}

[dir="rtl"] .sitemap-classic-footer .copy {
  margin-left: 0;
  margin-right: 12px;
}

