/* ============================================================
   "The Lithium Battery State of Charge Separation" — article CSS
   Scoped under .soc-article so it only affects this post's content.
   Paste this into: Appearance → Customize → Additional CSS
   (or your theme's custom CSS field / a Simple Custom CSS plugin)
   ============================================================ */

.soc-article, .soc-article *, .soc-article *::before, .soc-article *::after {
  box-sizing: border-box;
}

.soc-article {
  font-family: Georgia, 'Times New Roman', serif;
  color: #2C3E50;
  background: #ffffff;
  font-size: 1.05rem;
  line-height: 1.82;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.6rem 3rem;
}

/* ── TAGS ── */
.soc-article .tag-row { margin-bottom: 1rem; }
.soc-article .tag {
  display: inline-block; background: #CC0000; color: #fff;
  font-family: Arial, sans-serif; font-size: 0.72rem; font-weight: 700;
  padding: 0.18rem 0.55rem; border-radius: 2px; margin-right: 0.35rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ── TITLE ── */
.soc-article h1 {
  font-family: Arial, Helvetica, sans-serif;
  color: #CC0000; font-size: 1.95rem; line-height: 1.25;
  border-bottom: 3px solid #CC0000; padding-bottom: 0.5rem;
  margin-bottom: 0.35rem; margin-top: 1.5rem;
}
.soc-article .meta {
  font-family: Arial, sans-serif; font-size: 0.83rem;
  color: #777; margin-bottom: 1.7rem;
}

/* ── HEADINGS ── */
.soc-article h2 {
  font-family: Arial, Helvetica, sans-serif;
  color: #CC0000; font-size: 1.2rem; font-weight: 700;
  border-bottom: 2px solid #CC0000; padding-bottom: 0.25rem;
  margin: 2.2rem 0 0.7rem;
}

.soc-article p { margin-bottom: 1rem; }

/* ── CALLOUT BOXES ── */
.soc-article .callout {
  border-left: 5px solid #CC0000;
  background: #FFF5F5;
  padding: 1rem 1.2rem;
  margin: 1.4rem 0;
  font-family: Arial, sans-serif;
  font-size: 0.96rem;
}
.soc-article .callout.navy {
  border-left-color: #1B3A6B;
  background: #EEF2FF;
}
.soc-article .callout-title {
  font-weight: 700; margin-bottom: 0.5rem;
  color: #CC0000;
}
.soc-article .callout.navy .callout-title { color: #1B3A6B; }

/* ── AIR VS SEA BOX ── */
.soc-article .air-sea {
  border: 1.5px solid #CBD5E8;
  border-radius: 4px;
  overflow: hidden;
  margin: 1.4rem 0;
  font-family: Arial, sans-serif;
  font-size: 0.94rem;
}
.soc-article .air-row, .soc-article .sea-row {
  display: grid;
  grid-template-columns: 180px 1fr;
}
.soc-article .air-row { background: #EEF2FF; }
.soc-article .sea-row { background: #FFF0F0; }
.soc-article .air-label, .soc-article .sea-label {
  padding: 0.9rem 1rem;
  font-weight: 700; font-size: 0.93rem;
  display: flex; align-items: flex-start;
  border-right: 1.5px solid #CBD5E8;
}
.soc-article .air-label { color: #1B3A6B; }
.soc-article .sea-label { color: #CC0000; border-top: 1.5px solid #CBD5E8; }
.soc-article .air-content, .soc-article .sea-content {
  padding: 0.9rem 1rem;
  color: #2C3E50;
}
.soc-article .sea-content { border-top: 1.5px solid #CBD5E8; }

/* verbatim quote */
.soc-article .verbatim-block {
  border-left: 4px solid #1B3A6B;
  background: #dde5f5;
  padding: 0.7rem 0.9rem;
  margin: 0.6rem 0;
  font-style: italic;
  color: #1B3A6B;
  font-size: 0.91rem;
  line-height: 1.65;
}
.soc-article .source-line {
  font-size: 0.8rem; color: #555; font-style: normal;
  margin-top: 0.4rem;
}
.soc-article .source-line a { color: #1B3A6B; }

/* ── TABLES ── */
.soc-article table {
  width: 100%; border-collapse: collapse;
  margin: 1.2rem 0; font-family: Arial, sans-serif; font-size: 0.88rem;
}
.soc-article th {
  background: #CC0000; color: #fff;
  padding: 0.55rem 0.8rem; text-align: left; vertical-align: top;
}
.soc-article td {
  border: 1px solid #ddd; padding: 0.55rem 0.8rem; vertical-align: top;
}
.soc-article tr:nth-child(even) td { background: #fafafa; }
.soc-article td a { color: #CC0000; word-break: break-word; }
.soc-article td a:hover { text-decoration: underline; }
.soc-article .table-note {
  font-family: Arial, sans-serif; font-size: 0.81rem;
  color: #555; font-style: italic; margin: -0.6rem 0 1rem;
}

/* ── CHECKLIST ── */
.soc-article .checklist { list-style: none; margin: 0.8rem 0 1.2rem; }
.soc-article .checklist li {
  display: grid; grid-template-columns: 110px 1fr;
  gap: 0; margin-bottom: 0.3rem;
  font-family: Arial, sans-serif; font-size: 0.92rem;
}
.soc-article .step-label {
  background: #CC0000; color: #fff;
  font-weight: 700; padding: 0.55rem 0.7rem;
  display: flex; align-items: flex-start;
}
.soc-article .step-body {
  background: #FFF5F5; padding: 0.55rem 0.9rem;
  border: 1px solid #f0d0d0; border-left: none;
  color: #2C3E50; line-height: 1.6;
}
.soc-article .checklist li:nth-child(even) .step-body { background: #fff0f0; }

/* ── BOTTOM LINE ── */
.soc-article .bottom-line {
  background: #2C3E50; color: #fff;
  padding: 1.2rem 1.4rem; margin: 2rem 0 0;
  font-family: Arial, sans-serif; font-size: 0.97rem; line-height: 1.65;
}
.soc-article .bottom-line strong { color: #ffcccc; }

/* ── REFERENCES ── */
.soc-article .references {
  border-top: 1px solid #ddd; margin-top: 2rem; padding-top: 1rem;
  font-family: Arial, sans-serif; font-size: 0.83rem; color: #555; line-height: 1.7;
}
.soc-article .references strong { color: #2C3E50; }
.soc-article .references a { color: #CC0000; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .soc-article h1 { font-size: 1.45rem; }
  .soc-article .air-row, .soc-article .sea-row { grid-template-columns: 1fr; }
  .soc-article .air-label, .soc-article .sea-label { border-right: none; border-bottom: 1px solid #CBD5E8; }
  .soc-article .sea-label { border-top: none; }
  .soc-article .checklist li { grid-template-columns: 1fr; }
  .soc-article .step-label { border-bottom: none; }
}
{
  --primary-color: #0D9488;
  --secondary-color: #0F766E;
  --link-color: #0D9488;
  --btn-bg: #0D9488;
  --btn-bg-hover: #0F766E;
}

/* Global Link & Accent Changes */
a {
  color: #0D9488;
}

a:hover, a:focus {
  color: #0F766E;
}

/* Primary Navigation & Header Accents */
.main-navigation,
.nav-menu .active > a,
.nav-menu a:hover {
  color: #0D9488 !important;
}

/* Buttons */
button,
input[type="submit"],
.button,
.btn,
.wp-block-button__link {
  background-color: #0D9488 !important;
  color: #ffffff !important;
  border-color: #0D9488 !important;
}

button:hover,
input[type="submit"]:hover,
.button:hover,
.btn:hover,
.wp-block-button__link:hover {
  background-color: #0F766E !important;
  border-color: #0F766E !important;
}