/*
SPDX-License-Identifier: GPL-2.0-only

Copyright (C) 2026  Ian Scott

This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License (as published by the
Free Software Foundation) version 2, dated June 1991.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, see <https://www.gnu.org/licenses/>.
*/

:root {
  --md-primary-fg-color: #dc2626;
  --md-primary-fg-color--light: #ef4444;
  --md-primary-fg-color--dark: #8b1821;
  --md-accent-fg-color: #dc2626;
}

[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #dc2626;
  --md-accent-fg-color: #ef4444;
}

/* Right-aligned figure with caption */
figure.figure-right {
  float: right;
  margin: 0 0 1em 1em;
  text-align: center;
}

figure.figure-right figcaption {
  font-size: 0.85em;
  font-style: italic;
  color: var(--md-default-fg-color--light);
}
