/* ==========================================================
   Salt Pool Calculator
   Complete responsive stylesheet for all site pages
   ========================================================== */

/* ---------- Design tokens ---------- */
:root {
  --primary: #0a3d62;
  --primary-dark: #062a46;
  --primary-light: #126b96;
  --secondary: #027493;
  --accent: #13c8d4;
  --accent-dark: #087e88;
  --accent-soft: #dff9fb;
  --success: #0f9f75;
  --danger: #d92d20;
  --warning: #f59e0b;

  --bg: #ffffff;
  --bg-soft: #f7fbfd;
  --bg-muted: #eef8fb;
  --surface: #ffffff;
  --surface-dark: #082f49;

  --heading: #082f49;
  --text: #243b4a;
  --text-muted: #627784;
  --text-soft: #91a3ad;
  --border: #dbe8ed;
  --border-strong: #c5d9e1;

  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --container-sm: 820px;
  --header-height: 78px;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(8, 47, 73, 0.05);
  --shadow-sm: 0 8px 24px rgba(8, 47, 73, 0.08);
  --shadow: 0 16px 45px rgba(8, 47, 73, 0.11);
  --shadow-lg: 0 25px 70px rgba(8, 47, 73, 0.16);

  --ease: 180ms ease;
}

/* ---------- Reset and base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: var(--secondary);
  text-decoration: none;
  text-underline-offset: 0.18em;
  transition:
    color var(--ease),
    opacity var(--ease);
}

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

::selection {
  color: #ffffff;
  background: var(--primary-light);
}

:focus-visible {
  outline: 3px solid rgba(19, 200, 212, 0.45);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--heading);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 4.15rem);
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.65rem);
}

h3 {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding-left: 1.35rem;
}

table {
  border-spacing: 0;
}

/* ---------- Shared layout ---------- */
.container,
.container-sm {
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.container {
  max-width: var(--container);
}

.container-sm {
  max-width: var(--container-sm);
}

.section {
  position: relative;
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.bg-muted,
.section-muted {
  background:
    radial-gradient(circle at 10% 10%, rgba(19, 200, 212, 0.09), transparent 28rem),
    var(--bg-soft);
}

.section-dark {
  color: rgba(255, 255, 255, 0.84);
  background:
    radial-gradient(circle at 80% 20%, rgba(19, 200, 212, 0.18), transparent 24rem),
    linear-gradient(135deg, var(--primary-dark), var(--primary-light));
}

.section-header {
  max-width: 720px;
  margin: 0 auto clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
}

.section-header h2 {
  margin-bottom: 0.8rem;
}

.section-header h2::after {
  display: block;
  width: 54px;
  height: 4px;
  margin: 1rem auto 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  content: "";
}

.section-header p {
  max-width: 620px;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
}

.section-dark .section-header h2 {
  color: #ffffff;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.76);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.5rem;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition:
    transform var(--ease),
    color var(--ease),
    background-color var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(10, 61, 98, 0.2);
}

.btn-primary:hover {
  color: #ffffff;
  border-color: var(--primary-light);
  background: var(--primary-light);
  box-shadow: 0 12px 28px rgba(10, 61, 98, 0.25);
}

.btn-outline {
  color: var(--primary);
  border-color: var(--border-strong);
  background: #ffffff;
}

.btn-outline:hover {
  color: #ffffff;
  border-color: var(--primary);
  background: var(--primary);
}

.btn-accent {
  color: var(--primary-dark);
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(19, 200, 212, 0.2);
}

.btn-accent:hover {
  color: var(--primary-dark);
  border-color: #35d7e0;
  background: #35d7e0;
}

.btn-lg {
  min-height: 54px;
  padding-inline: 1.8rem;
  font-size: 1rem;
}

/* ---------- Shared cards ---------- */
.card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition:
    transform var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(19, 200, 212, 0.6);
  box-shadow: var(--shadow-sm);
}

.card-body {
  padding: 1.5rem;
}

/* ---------- Header and navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(219, 232, 237, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 24px rgba(8, 47, 73, 0.055);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.site-logo {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.site-logo img {
  content: url("../images/pool-salt-calculator-icon.webp");
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 14px;
  object-fit: contain;
}

.site-logo span {
  max-width: 155px;
  color: var(--heading);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.site-logo:hover span {
  color: var(--primary-light);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.site-nav a {
  position: relative;
  padding: 0.62rem 0.9rem;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a::after {
  position: absolute;
  right: 0.85rem;
  bottom: 0.38rem;
  left: 0.85rem;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition:
    opacity var(--ease),
    transform var(--ease);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
  background: var(--bg-muted);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-right {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
}

.search-form {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
}

.search-form input {
  width: 205px;
  height: 42px;
  padding: 0 1rem 0 2.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  outline: none;
  color: var(--text);
  background: var(--bg-soft);
  font-size: 0.86rem;
  transition:
    width var(--ease),
    border-color var(--ease),
    background-color var(--ease),
    box-shadow var(--ease);
}

.search-form input::placeholder {
  color: var(--text-soft);
}

.search-form input:hover {
  border-color: var(--border-strong);
  background: #ffffff;
}

.search-form input:focus {
  width: 235px;
  border-color: var(--accent-dark);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(19, 200, 212, 0.13);
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  z-index: 1;
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  pointer-events: none;
  stroke-width: 2;
  transform: translateY(-50%);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
  cursor: pointer;
  transition:
    border-color var(--ease),
    background-color var(--ease);
}

.hamburger:hover {
  border-color: var(--accent-dark);
  background: var(--accent-soft);
}

.hamburger span {
  width: 21px;
  height: 2px;
  border-radius: 3px;
  background: var(--primary);
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: none;
  padding: 0.65rem max(1rem, calc((100vw - var(--container)) / 2 + 1.5rem)) 1.2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.mobile-menu.open {
  display: block;
  animation: menu-in 180ms ease both;
}

.mobile-menu > a {
  display: block;
  padding: 0.8rem 0.3rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.mobile-menu > a:hover,
.mobile-menu > a.active {
  color: var(--primary-light);
}

.mobile-search {
  display: flex;
  gap: 0.6rem;
  padding-top: 1rem;
}

.mobile-search input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  outline: none;
  color: var(--text);
  background: var(--bg-soft);
}

.mobile-search input:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 4px rgba(19, 200, 212, 0.12);
}

.mobile-search button {
  min-width: 86px;
  padding: 0 1rem;
  border: 0;
  border-radius: var(--radius-sm);
  color: #ffffff;
  background: var(--primary);
  cursor: pointer;
  font-size: 0.87rem;
  font-weight: 700;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Homepage hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.25rem, 9vw, 7.25rem) 0 clamp(5.25rem, 10vw, 8rem);
  isolation: isolate;
  background:
    radial-gradient(circle at 14% 22%, rgba(69, 226, 232, 0.2), transparent 18rem),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.13), transparent 20rem),
    linear-gradient(135deg, #062a46 0%, #0a4f77 52%, #048ca5 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: -220px;
  right: -140px;
  width: 520px;
  height: 520px;
  box-shadow:
    0 0 0 55px rgba(255, 255, 255, 0.025),
    0 0 0 110px rgba(255, 255, 255, 0.02);
}

.hero::after {
  bottom: -280px;
  left: -160px;
  width: 570px;
  height: 570px;
  box-shadow:
    0 0 0 65px rgba(19, 200, 212, 0.035),
    0 0 0 130px rgba(19, 200, 212, 0.025);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.hero-content::before {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 0.38rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  color: #d9fbfd;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
  content: "Fast • Free • Accurate";
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero h1 {
  max-width: 850px;
  margin: 0 auto 1.15rem;
  color: #ffffff;
  text-wrap: balance;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.18);
}

.hero p {
  max-width: 680px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.75;
  text-wrap: balance;
}

/* ---------- Calculator ---------- */
.calculator-wrap {
  max-width: 870px;
  margin-inline: auto;
}

.calculator-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197, 217, 225, 0.85);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.calculator-card::before {
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
  content: "";
}

.calculator-card::after {
  position: absolute;
  top: -110px;
  right: -110px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(19, 200, 212, 0.055);
  content: "";
  pointer-events: none;
}

.calc-body {
  position: relative;
  z-index: 1;
  padding: clamp(1.35rem, 5vw, 3rem);
}

.unit-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2.1rem;
}

.unit-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-muted);
  box-shadow: inset 0 1px 2px rgba(8, 47, 73, 0.05);
}

.unit-toggle-btn {
  min-height: 42px;
  padding: 0.55rem 1.45rem;
  border: 0;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    color var(--ease),
    background-color var(--ease),
    box-shadow var(--ease),
    transform var(--ease);
}

.unit-toggle-btn:not(.active):hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.7);
}

.unit-toggle-btn.active {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 6px 16px rgba(10, 61, 98, 0.22);
}

.calc-field-group {
  position: relative;
  margin-bottom: 1.45rem;
}

.calc-label {
  display: block;
  margin-bottom: 0.52rem;
  color: var(--heading);
  font-size: 0.9rem;
  font-weight: 750;
}

.calc-input {
  width: 100%;
  height: 54px;
  padding: 0 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  outline: none;
  color: var(--text);
  background: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  transition:
    border-color var(--ease),
    box-shadow var(--ease),
    background-color var(--ease);
  -moz-appearance: textfield;
}

.calc-input::-webkit-inner-spin-button,
.calc-input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.calc-input::placeholder {
  color: #9caeb8;
}

.calc-input:hover {
  border-color: #a9c4cf;
}

.calc-input:focus {
  border-color: var(--secondary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 132, 168, 0.12);
}

.calc-input.error {
  border-color: var(--danger);
  background: #fffafa;
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.08);
}

.field-error {
  display: none;
  margin-top: 0.42rem;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.field-error.show {
  display: block;
}

.calc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 2rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--border);
}

.calc-btn-primary,
.calc-btn-reset,
.calc-btn {
  min-height: 54px;
  padding: 0.75rem 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform var(--ease),
    color var(--ease),
    background-color var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.calc-btn-primary,
.calc-btn {
  border: 1.5px solid var(--primary);
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 8px 20px rgba(10, 61, 98, 0.19);
}

.calc-btn-primary:hover,
.calc-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  box-shadow: 0 13px 28px rgba(10, 61, 98, 0.25);
}

.calc-btn-reset {
  border: 1.5px solid var(--border-strong);
  color: var(--primary);
  background: #ffffff;
}

.calc-btn-reset:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  background: var(--bg-muted);
}

.calc-btn-primary:active,
.calc-btn-reset:active,
.calc-btn:active {
  transform: translateY(0);
}

.results {
  display: none;
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 0, rgba(19, 200, 212, 0.22), transparent 18rem),
    linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  box-shadow: 0 16px 35px rgba(8, 47, 73, 0.2);
}

.results.show {
  display: block;
  animation: result-in 420ms ease both;
}

.results-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
  color: #ffffff;
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  text-align: center;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.result-card {
  min-width: 0;
  padding: 1.25rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.085);
  text-align: center;
  backdrop-filter: blur(8px);
}

.result-card--highlight {
  border-color: rgba(79, 235, 239, 0.52);
  background: rgba(19, 200, 212, 0.15);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.11);
}

.result-label {
  min-height: 2.6em;
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1.3;
}

.result-card--highlight .result-label {
  color: #91f4f6;
}

.result-value {
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.result-unit {
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.77rem;
  font-weight: 600;
}

.results-note {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.13);
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
}

@keyframes result-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Optional legacy calculator markup support */
.calc-section {
  margin-bottom: 2.2rem;
}

.calc-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--heading);
  font-size: 1.05rem;
  font-weight: 800;
}

.step-badge,
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  font-weight: 800;
}

.step-badge {
  width: 32px;
  height: 32px;
  color: var(--primary);
  background: var(--accent-soft);
  font-size: 0.86rem;
}

.shape-grid,
.fields-grid,
.salt-grid {
  display: grid;
  gap: 0.9rem;
}

.shape-grid,
.salt-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.shape-option {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  cursor: pointer;
  transition:
    border-color var(--ease),
    background-color var(--ease);
}

.shape-option:hover,
.shape-option.selected,
.shape-option:has(input:checked) {
  border-color: var(--secondary);
  background: var(--bg-muted);
}

.shape-option input[type="radio"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.shape-option label {
  color: var(--text);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
}

.field-group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.4rem;
}

.field-group label {
  color: var(--heading);
  font-size: 0.85rem;
  font-weight: 700;
}

.field-group input,
.field-group select {
  width: 100%;
  height: 50px;
  padding: 0 0.95rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  outline: none;
  color: var(--text);
  background: #ffffff;
}

.field-group input:focus,
.field-group select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(2, 132, 168, 0.11);
}

.field-hint {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.step-card {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
}

.step-num {
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: var(--primary);
}

.step-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.6;
}

.pro-tip {
  max-width: 720px;
  margin: 2rem auto 0;
  padding: 1.1rem 1.3rem;
  border: 1px solid rgba(19, 200, 212, 0.38);
  border-radius: var(--radius);
  color: var(--primary);
  background: var(--accent-soft);
  font-size: 0.92rem;
  text-align: center;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.feature-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.feature-card::after {
  position: absolute;
  z-index: -1;
  top: -55px;
  right: -55px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(19, 200, 212, 0.065);
  content: "";
  transition: transform 260ms ease;
}

.feature-card:hover::after {
  transform: scale(1.35);
}

.feature-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(19, 200, 212, 0.22);
  border-radius: 14px;
  background: linear-gradient(145deg, #e8fcfd, #d8f4f8);
  box-shadow: 0 7px 18px rgba(2, 132, 168, 0.1);
  font-size: 1.4rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.02rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ---------- Blog cards and listing ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.blog-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(19, 200, 212, 0.55);
  box-shadow: var(--shadow);
}

.blog-card-img-wrap,
.blog-img {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-muted);
}

.blog-card-img-wrap::after,
.blog-img::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 47, 73, 0.18), transparent 45%);
  content: "";
  opacity: 0;
  transition: opacity 260ms ease;
}

.blog-card-img-wrap img,
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 450ms ease,
    filter 450ms ease;
}

.blog-card:hover .blog-card-img-wrap::after,
.blog-card:hover .blog-img::after {
  opacity: 1;
}

.blog-card:hover .blog-card-img-wrap img,
.blog-card:hover .blog-img img {
  filter: saturate(1.06);
  transform: scale(1.045);
}

.blog-card-body,
.blog-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.3rem 1.35rem 1.1rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
  margin-bottom: 0.7rem;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.4;
}

.blog-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.blog-card h3 a {
  color: var(--heading);
}

.blog-card h3 a:hover {
  color: var(--secondary);
}

.blog-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-footer {
  padding: 0.9rem 1.35rem 1.15rem;
  border-top: 1px solid var(--border);
  background: #fbfdfe;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
}

.read-more:hover {
  gap: 0.65rem;
  color: var(--secondary);
}

.read-more svg {
  width: 15px;
  height: 15px;
  transition: transform var(--ease);
}

.read-more:hover svg {
  transform: translateX(2px);
}

/* The blog listing search form also uses .search-form. */
#blogSearchForm {
  display: flex;
  max-width: 540px !important;
  min-height: 50px;
  margin: 0 auto 2rem !important;
  padding: 0.25rem 0.5rem !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: var(--radius-pill) !important;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

#blogSearchForm .search-icon {
  left: 1rem;
}

#blogSearchForm input {
  width: 100%;
  height: 42px;
  padding-left: 2.7rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.92rem;
}

#blogSearchForm input:focus {
  width: 100%;
  box-shadow: none;
}

#searchInfo {
  min-height: 1.6rem;
  color: var(--text-muted) !important;
  font-size: 0.9rem;
}

#searchInfo a,
#noResults a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

#noResults {
  padding: 3.5rem 0 !important;
}

/* Optional legacy blog search classes */
.blog-page-search {
  display: flex;
  max-width: 520px;
  gap: 0.55rem;
  margin: 0 auto 2.5rem;
}

.blog-page-search input {
  width: 100%;
  height: 48px;
  padding: 0 1.1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-pill);
  outline: none;
}

.blog-page-search input:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 4px rgba(19, 200, 212, 0.12);
}

.blog-page-search button {
  padding-inline: 1.3rem;
  border: 0;
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: var(--primary);
  cursor: pointer;
  font-weight: 700;
}

.search-info {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.no-results {
  padding: 4rem 1rem;
  text-align: center;
}

/* ---------- Page and article heroes ---------- */
.page-hero,
.article-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 5.75rem) 0;
  border-bottom: 1px solid var(--border);
  isolation: isolate;
  background:
    radial-gradient(circle at 85% 0, rgba(19, 200, 212, 0.16), transparent 22rem),
    linear-gradient(145deg, #f7fcfd, #eaf6fa);
  text-align: center;
}

.page-hero::before,
.article-hero::before {
  position: absolute;
  z-index: -1;
  bottom: -160px;
  left: -100px;
  width: 330px;
  height: 330px;
  border: 55px solid rgba(2, 132, 168, 0.04);
  border-radius: 50%;
  content: "";
}

.page-hero h1,
.article-hero h1 {
  max-width: 940px;
  margin-inline: auto;
  color: var(--heading);
  font-size: clamp(2rem, 5vw, 3.55rem);
  text-wrap: balance;
}

.page-hero p,
.article-hero p {
  max-width: 680px;
  margin: 0.9rem auto 0;
  color: var(--text-muted);
  font-size: clamp(0.96rem, 2vw, 1.08rem);
  text-wrap: balance;
}

.page-hero .blog-meta,
.article-hero .blog-meta,
.article-meta {
  justify-content: center;
  margin: 0 0 0.85rem;
  color: var(--primary-light);
  font-size: 0.78rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

/* ---------- Long-form articles and guide ---------- */
.article-body {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 9vw, 7rem);
}

.article-content {
  max-width: 100%;
  color: var(--text);
  font-size: clamp(1rem, 1.5vw, 1.065rem);
  line-height: 1.85;
  overflow-wrap: break-word;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content h2 {
  position: relative;
  margin: clamp(2.8rem, 6vw, 4rem) 0 1.05rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
  color: var(--heading);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.article-content h2::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 56px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  content: "";
}

.article-content h3 {
  margin: 2.1rem 0 0.75rem;
  color: var(--primary-light);
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
}

.article-content h2[id],
.article-content h3[id] {
  scroll-margin-top: calc(var(--header-height) + 1.25rem);
}

.article-content p {
  margin-bottom: 1.2rem;
}

.article-content a:not(.btn) {
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(2, 132, 168, 0.3);
  text-decoration-thickness: 1.5px;
}

.article-content strong {
  color: var(--heading);
  font-weight: 750;
}

.article-content ul,
.article-content ol {
  margin: 0.85rem 0 1.55rem;
  padding-left: 1.4rem;
}

.article-content li {
  margin-bottom: 0.62rem;
  padding-left: 0.2rem;
}

.article-content li > p {
  margin: 0;
}

.article-content li::marker {
  color: var(--secondary);
  font-weight: 800;
}

.article-content figure {
  overflow: hidden;
  margin: 0 0 2rem !important;
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  background: var(--bg-muted);
  box-shadow: var(--shadow-sm);
}

.article-content figure img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.article-content dl {
  margin: 1rem 0 1.75rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.article-content dt {
  margin-top: 1.15rem;
  color: var(--heading);
}

.article-content dt:first-child {
  margin-top: 0;
}

.article-content dd {
  margin: 0.3rem 0 0;
  color: var(--text-muted);
}

.article-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1.65rem 0 2rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 13px;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  box-shadow: var(--shadow-xs);
  font-size: 0.87rem;
  line-height: 1.5;
  -webkit-overflow-scrolling: touch;
}

.article-content thead,
.article-content tbody {
  display: table;
  width: 100%;
  min-width: 620px;
  table-layout: auto;
}

.article-content th {
  padding: 0.9rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  background: var(--primary);
  font-size: 0.8rem;
  font-weight: 750;
  text-align: left;
  vertical-align: middle;
  white-space: normal;
}

.article-content th:last-child {
  border-right: 0;
}

.article-content td {
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-align: left;
  vertical-align: top;
}

.article-content td:last-child {
  border-right: 0;
}

.article-content tbody tr:last-child td {
  border-bottom: 0;
}

.article-content tbody tr:nth-child(even) td {
  background: var(--bg-soft);
}

.article-content tbody tr:hover td {
  background: var(--bg-muted);
}

.tip-box,
.warning-box {
  position: relative;
  margin: 1.6rem 0;
  padding: 1.15rem 1.3rem 1.15rem 1.45rem;
  border: 1px solid;
  border-left-width: 4px;
  border-radius: 0 13px 13px 0;
  font-size: 0.96em;
}

.tip-box {
  border-color: rgba(19, 200, 212, 0.35);
  border-left-color: var(--accent-dark);
  background: #effcfd;
}

.warning-box {
  border-color: #fed7aa;
  border-left-color: var(--warning);
  background: #fffaf2;
}

.tip-box strong,
.warning-box strong {
  color: var(--heading);
}

.tip-box > p:last-child,
.warning-box > p:last-child {
  margin-bottom: 0;
}

.cta-box {
  position: relative;
  overflow: hidden;
  margin: clamp(2.5rem, 6vw, 4rem) 0;
  padding: clamp(1.6rem, 5vw, 2.6rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  color: #ffffff;
  isolation: isolate;
  background:
    radial-gradient(circle at 100% 0, rgba(19, 200, 212, 0.28), transparent 15rem),
    linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-box::after {
  position: absolute;
  z-index: -1;
  bottom: -85px;
  left: -55px;
  width: 190px;
  height: 190px;
  border: 34px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
  content: "";
}

.cta-box h3 {
  margin: 0 0 0.65rem;
  color: #ffffff;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.cta-box p {
  max-width: 580px;
  margin: 0 auto 1.25rem;
  color: rgba(255, 255, 255, 0.78);
}

.cta-box .btn-accent {
  color: var(--primary-dark);
  text-decoration: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 1.5rem);
  border: 0;
  color: var(--heading);
  background: transparent;
  cursor: pointer;
  font-size: clamp(0.94rem, 2vw, 1.02rem);
  font-weight: 750;
  line-height: 1.45;
  text-align: left;
  transition:
    color var(--ease),
    background-color var(--ease);
}

.faq-question:hover,
.faq-item.open .faq-question {
  color: var(--secondary);
  background: var(--bg-soft);
}

.faq-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--accent-soft);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  transition:
    color 250ms ease,
    background-color 250ms ease,
    transform 250ms ease;
}

.faq-item.open .faq-icon {
  color: #ffffff;
  background: var(--secondary);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: var(--bg-soft);
  transition: max-height 360ms ease;
}

.faq-answer-inner {
  padding: 0 clamp(1rem, 4vw, 1.5rem) 1.35rem;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 5rem) 0 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  isolation: isolate;
  background:
    radial-gradient(circle at 90% 0, rgba(19, 200, 212, 0.18), transparent 22rem),
    var(--primary-dark);
}

.site-footer::before {
  position: absolute;
  z-index: -1;
  bottom: -220px;
  left: -150px;
  width: 430px;
  height: 430px;
  border: 70px solid rgba(255, 255, 255, 0.025);
  border-radius: 50%;
  content: "";
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(150px, 0.75fr) minmax(240px, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-bottom: 3rem;
}

.footer-brand img {
  width: 112px;
  height: 112px;
  margin-bottom: 1rem;
  border-radius: 17px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-links h4 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

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

.footer-links a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
  line-height: 1.5;
}

.footer-links a:hover {
  color: #7ce9ed;
  transform: translateX(2px);
}

.footer-bottom {
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  line-height: 1.6;
}

/* ---------- Subtle section reveal ---------- */
.lazy-section {
  opacity: 1;
  transform: none;
}

.lazy-section.visible {
  animation: section-in 600ms ease both;
}

@keyframes section-in {
  from {
    opacity: 0.35;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive: tablet ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 0.8fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .site-logo img {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .site-logo span {
    max-width: 130px;
    font-size: 0.86rem;
  }

  .site-nav {
    display: none;
  }

  .header-right > .search-form {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Responsive: mobile ---------- */
@media (max-width: 680px) {
  body {
    font-size: 15.5px;
  }

  .section {
    padding-block: 3.75rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .features-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.7rem;
    padding-bottom: 5.7rem;
  }

  .hero-content::before {
    font-size: 0.69rem;
    letter-spacing: 0.065em;
  }

  .calc-actions {
    grid-template-columns: 1fr;
  }

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

  .result-label {
    min-height: 0;
  }

  .result-card--highlight {
    order: -1;
  }

  .shape-grid,
  .salt-grid,
  .fields-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-img-wrap,
  .blog-img {
    aspect-ratio: 16 / 9;
  }

  .article-content table {
    font-size: 0.82rem;
  }

  .article-content thead,
  .article-content tbody {
    min-width: 560px;
  }

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

  .footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 440px) {
  .container,
  .container-sm {
    padding-inline: 1rem;
  }

  

  .unit-toggle {
    width: 100%;
  }

  .unit-toggle-btn {
    min-width: 0;
    padding-inline: 0.7rem;
    font-size: 0.82rem;
  }

  .calculator-card {
    border-radius: 18px;
  }

  .results {
    padding: 1rem;
    border-radius: 14px;
  }

  .mobile-search {
    flex-direction: column;
  }

  .mobile-search button {
    min-height: 44px;
  }

  .page-hero,
  .article-hero {
    padding-block: 3rem;
  }

  .faq-question {
    padding-block: 1.1rem;
  }

  .cta-box {
    border-radius: 18px;
  }
}

/* ---------- Reduced motion and print ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .mobile-menu,
  .calc-actions,
  .cta-box {
    display: none !important;
  }

  body {
    color: #000000;
    background: #ffffff;
  }

  .hero,
  .page-hero,
  .article-hero {
    padding: 1.5rem 0;
    color: #000000;
    background: #ffffff;
  }

  .hero h1,
  .hero p,
  .page-hero h1,
  .page-hero p,
  .article-hero h1,
  .article-hero p {
    color: #000000;
    text-shadow: none;
  }

  .section,
  .article-body {
    padding: 1.5rem 0;
  }

  .article-content table {
    display: table;
    overflow: visible;
  }

  .article-content thead,
  .article-content tbody {
    display: table-row-group;
    min-width: 0;
  }

  a {
    color: #000000;
  }
}
