/* styles.css — antonovich.com.ua — Dark Editorial: Warm Charcoal + Terracotta */

:root {
    color-scheme: dark;

    /* Palette: warm charcoal surfaces */
    --bg: #131211;
    --surface: #1a1917;
    --surface-2: #211f1d;
    --surface-3: #292724;
    --border: #312e2a;
    --border-strong: #423e39;

    /* Text */
    --text: #e2ddd5;
    --text-strong: #f0ebe3;
    --muted: #a9a298;
    --faint: #8c857b;

    /* Accents: muted terracotta + sage */
    --accent: #e0896b;
    --accent-hover: #eca287;
    --accent-visited: #c99a86;
    --accent-soft: rgba(224, 137, 107, 0.12);
    --accent-line: rgba(224, 137, 107, 0.4);
    --accent2: #a3bf9c;
    --accent2-soft: rgba(163, 191, 156, 0.12);

    --focus: #f2b49c;
    --selection: rgba(224, 137, 107, 0.32);

    /* Typography */
    --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: "Source Serif Pro", "Iowan Old Style", Georgia, "Times New Roman", serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

    /* Spacing scale */
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 24px;
    --s-6: 32px;
    --s-7: 48px;
    --s-8: 64px;

    /* Radii & borders */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --bw: 1px;
    --line: var(--bw) solid var(--border);

    /* Layout */
    --container: 1180px;
    --measure: 70ch;
    --gutter: var(--s-4);
    --header-h: 60px;

    --ease: 0.18s ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + var(--s-4));
    background-color: var(--bg);
    scrollbar-color: var(--border-strong) var(--bg);
    scrollbar-width: thin;
}

body {
    min-height: 100vh;
    background-color: var(--bg);
    background-image: radial-gradient(rgba(226, 221, 213, 0.028) 1px, transparent 1px);
    background-size: 24px 24px;
    color: var(--text);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
}

::selection {
    background: var(--selection);
    color: var(--text-strong);
}

/* Scrollbar (WebKit) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 10px;
    border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
    background: #57524b;
}
::-webkit-scrollbar-corner {
    background: var(--bg);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

img,
video {
    border-radius: var(--radius);
    filter: brightness(0.92);
}

iframe {
    max-width: 100%;
    border: 0;
    border-radius: var(--radius);
}

ul,
ol {
    list-style: none;
}

/* ---------- Links ---------- */
a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--ease), background-color var(--ease), border-color var(--ease), text-decoration-color var(--ease);
}

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

:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-strong);
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -0.012em;
    overflow-wrap: break-word;
    hyphens: auto;
}

h1 { font-size: 1.375rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.125rem; }
h4 { font-size: 1.0625rem; }
h5,
h6 { font-size: 1rem; }

p {
    margin: 0;
}

strong,
b {
    font-weight: 650;
    color: var(--text-strong);
}

em,
i {
    font-style: italic;
}

small {
    font-size: 0.85em;
    color: var(--muted);
}

mark {
    background: rgba(224, 137, 107, 0.22);
    color: var(--text-strong);
    padding: 0.05em 0.3em;
    border-radius: var(--radius-sm);
}

abbr[title] {
    text-decoration: underline dotted var(--faint);
    cursor: help;
}

hr {
    border: 0;
    height: var(--bw);
    background: var(--border);
    margin: var(--s-7) 0;
}

code,
kbd,
samp,
pre {
    font-family: var(--font-mono);
    font-size: 0.9em;
}

code {
    background: var(--surface-3);
    color: #edc5b4;
    border: var(--line);
    padding: 0.1em 0.4em;
    border-radius: var(--radius-sm);
    overflow-wrap: anywhere;
    word-break: break-word;
}

kbd {
    display: inline-block;
    background: var(--surface-2);
    color: var(--text-strong);
    border: var(--bw) solid var(--border-strong);
    border-bottom-width: 2px;
    padding: 0.05em 0.45em;
    border-radius: var(--radius-sm);
    font-size: 0.82em;
    line-height: 1.5;
}

pre {
    background: #0f0e0d;
    color: var(--text);
    border: var(--line);
    border-radius: var(--radius);
    padding: var(--s-4);
    margin: var(--s-5) 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    line-height: 1.6;
    tab-size: 4;
    max-width: 100%;
}

pre code {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    font-size: 0.875rem;
    overflow-wrap: normal;
    word-break: normal;
    white-space: pre;
}

figure {
    margin: var(--s-6) 0;
}

figure img {
    width: 100%;
}

figcaption {
    margin-top: var(--s-3);
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.55;
    padding-left: var(--s-3);
    border-left: 2px solid var(--border-strong);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    font-variant-numeric: tabular-nums;
}

.table-wrap,
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: var(--line);
    border-radius: var(--radius);
    margin: var(--s-5) 0;
}

th,
td {
    padding: var(--s-3) var(--s-4);
    text-align: left;
    vertical-align: top;
    border-bottom: var(--line);
}

th {
    background: var(--surface-2);
    color: var(--text-strong);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.015);
}

tbody tr:hover {
    background: var(--accent-soft);
}

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

caption {
    caption-side: bottom;
    padding: var(--s-3) 0 0;
    font-size: 0.875rem;
    color: var(--muted);
    text-align: left;
}

/* ---------- Forms ---------- */
input,
textarea,
select,
button {
    font: inherit;
    color: inherit;
}

input,
textarea,
select {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    background: var(--surface);
    color: var(--text);
    border: var(--bw) solid var(--border-strong);
    border-radius: var(--radius);
    padding: var(--s-2) var(--s-3);
    transition: border-color var(--ease), background-color var(--ease);
    color-scheme: dark;
}

textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

input::placeholder,
textarea::placeholder {
    color: var(--faint);
    opacity: 1;
}

input:hover,
textarea:hover,
select:hover {
    border-color: #57524b;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent);
    background: var(--surface-2);
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    min-height: 0;
    accent-color: var(--accent);
}

button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.button,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    width: auto;
    min-height: 44px;
    padding: var(--s-2) var(--s-5);
    background: var(--accent);
    color: #1a1310;
    border: var(--bw) solid var(--accent);
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.button:hover,
.btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #1a1310;
}

button:disabled,
input:disabled,
textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(19, 18, 17, 0.95);
    border-bottom: var(--line);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    min-height: var(--header-h);
    padding: var(--s-2) var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-4);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    min-height: 44px;
    min-width: 0;
    color: var(--text-strong);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
}

.logo:hover {
    color: var(--text-strong);
}

.logo img,
.logo svg {
    width: auto;
    max-height: 32px;
    border-radius: var(--radius-sm);
    filter: none;
    flex-shrink: 0;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: var(--s-1);
    font-size: 0.875rem;
    font-weight: 500;
    flex-shrink: 0;
}

.lang-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 var(--s-2);
    color: var(--muted);
    border-radius: var(--radius);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.lang-switcher a:hover {
    color: var(--text-strong);
    background: var(--surface-2);
}

.lang-switcher a.active {
    color: var(--accent);
    background: var(--accent-soft);
}

.lang-switcher a.active::after {
    content: "";
    position: absolute;
    left: 30%;
    right: 30%;
    bottom: 8px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
}

/* ---------- Main ---------- */
main {
    display: block;
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--s-6) var(--gutter) var(--s-7);
}

.article-title {
    font-size: 1.375rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-strong);
    max-width: 38ch;
    margin-bottom: var(--s-6);
    padding-left: var(--s-4);
    border-left: 3px solid var(--accent);
    overflow-wrap: break-word;
    hyphens: auto;
}

/* ---------- Hero ---------- */
.hero {
    display: grid;
    gap: var(--s-5);
    margin-bottom: var(--s-7);
    padding-bottom: var(--s-7);
    border-bottom: var(--line);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.hero-content .lead {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: var(--s-5);
    max-width: var(--measure);
}

.meta-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-2) var(--s-3);
    font-size: 0.875rem;
    color: var(--muted);
    font-family: var(--font-mono);
    letter-spacing: 0.01em;
}

.meta-info svg {
    flex-shrink: 0;
    color: var(--accent2);
}

.hero-visual {
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 360px;
    border: var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--surface);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 0;
}

/* ---------- Article content ---------- */
.content-body {
    max-width: var(--measure);
    margin: 0 auto var(--s-7);
}

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

.content-body p {
    margin-bottom: var(--s-5);
    color: var(--text);
    font-size: 1rem;
    line-height: 1.75;
}

.content-body a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: var(--accent-line);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    overflow-wrap: anywhere;
}

.content-body a:visited {
    color: var(--accent-visited);
}

.content-body a:hover {
    color: var(--accent-hover);
    text-decoration-color: currentColor;
    text-decoration-thickness: 2px;
}

.content-body h2,
.content-body h3,
.content-body h4 {
    color: var(--text-strong);
    scroll-margin-top: calc(var(--header-h) + var(--s-4));
}

.content-body h2 {
    font-size: 1.25rem;
    font-weight: 650;
    margin-top: var(--s-7);
    margin-bottom: var(--s-4);
    padding-top: var(--s-5);
    border-top: var(--line);
    position: relative;
}

.content-body h2::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--accent);
}

.content-body h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: var(--s-6);
    margin-bottom: var(--s-3);
}

.content-body h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: var(--s-5);
    margin-bottom: var(--s-2);
}

.content-body blockquote {
    margin: var(--s-6) 0;
    padding: var(--s-4) var(--s-5);
    background: var(--surface);
    border: var(--line);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #cdc7be;
}

.content-body blockquote p {
    color: inherit;
    font-size: inherit;
    margin-bottom: var(--s-3);
}

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

.content-body blockquote cite,
.content-body blockquote footer {
    display: block;
    margin-top: var(--s-3);
    font-family: var(--font-main);
    font-style: normal;
    font-size: 0.875rem;
    color: var(--muted);
    background: none;
    border: 0;
}

.content-body ul,
.content-body ol {
    margin: 0 0 var(--s-5);
    padding-left: var(--s-5);
}

.content-body ul li,
.content-body ol li {
    margin-bottom: var(--s-2);
    padding-left: var(--s-1);
    color: var(--text);
    line-height: 1.7;
}

.content-body ul li {
    list-style-type: disc;
}

.content-body ol li {
    list-style-type: decimal;
}

.content-body ul li::marker {
    color: var(--accent);
}

.content-body ol li::marker {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.9em;
    font-weight: 600;
}

.content-body li > ul,
.content-body li > ol {
    margin-top: var(--s-2);
    margin-bottom: var(--s-2);
}

.content-body li > ul li {
    list-style-type: circle;
}

.content-body li > ul li::marker {
    color: var(--accent2);
}

.content-body ul li strong,
.content-body ol li strong {
    color: var(--text-strong);
}

.content-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: var(--line);
    border-radius: var(--radius);
    margin: var(--s-5) 0;
    max-width: 100%;
}

.content-body img {
    margin: var(--s-5) 0;
}

.content-body figure img {
    margin: 0;
}

/* ---------- Related materials ---------- */
.related-materials {
    margin-top: var(--s-8);
}

.section-header {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    margin-bottom: var(--s-5);
}

.section-header h2,
.section-header h3 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    white-space: nowrap;
    font-family: var(--font-mono);
}

.divider-line {
    flex-grow: 1;
    height: var(--bw);
    background: var(--border);
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-4);
}

.card {
    background: var(--surface);
    border: var(--line);
    border-radius: var(--radius-lg);
    padding: var(--s-5);
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    overflow: hidden;
    color: var(--text);
    text-decoration: none;
    transition: border-color var(--ease), background-color var(--ease), transform var(--ease);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.card:hover {
    background: var(--surface-2);
    border-color: var(--border-strong);
    transform: translateY(-2px);
    color: var(--text);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:focus-within {
    border-color: var(--accent-line);
}

.card-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-2);
    margin-bottom: var(--s-4);
    font-size: 0.8125rem;
}

.badge {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    border: var(--bw) solid rgba(224, 137, 107, 0.25);
    padding: 2px var(--s-2);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    line-height: 1.6;
}

.badge.accent-badge {
    background: var(--accent2-soft);
    color: var(--accent2);
    border-color: rgba(163, 191, 156, 0.25);
}

.date {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.card h4 {
    margin-bottom: var(--s-2);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-strong);
}

.card h4 a {
    color: inherit;
    text-decoration: none;
}

.card h4 a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.card:hover h4,
.card h4 a:hover {
    color: var(--accent-hover);
}

.card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--muted);
    flex-grow: 1;
    margin-bottom: var(--s-5);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--s-2);
    padding-top: var(--s-3);
    border-top: var(--line);
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 500;
}

.card-footer a {
    color: inherit;
}

.card-footer svg {
    transition: transform var(--ease);
}

.card:hover .card-footer svg {
    transform: translateX(3px);
}

/* ---------- Footer ---------- */
footer {
    border-top: var(--line);
    margin-top: var(--s-7);
    background: #0f0e0d;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--s-6) var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--s-4);
}

.footer-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s-2);
    color: var(--muted);
    font-size: 0.875rem;
}

.footer-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s-1) var(--s-2);
}

.footer-center a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--s-3);
    color: var(--muted);
    font-size: 0.875rem;
    border-radius: var(--radius);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 0.25em;
}

.footer-center a:hover {
    color: var(--accent-hover);
    text-decoration-color: var(--accent-line);
}

.dmca-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    padding: var(--s-2) var(--s-3);
    border: var(--line);
    background: var(--surface);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    color: var(--muted);
    cursor: default;
}

.dmca-badge svg {
    color: var(--accent2);
}

/* ---------- Breakpoints ---------- */
@media (min-width: 480px) {
    :root {
        --gutter: 20px;
    }

    .cards-grid {
        gap: var(--s-5);
    }
}

@media (min-width: 768px) {
    :root {
        --gutter: var(--s-6);
        --header-h: 68px;
    }

    body {
        font-size: 1.0625rem;
    }

    h1 { font-size: 1.625rem; }
    h2 { font-size: 1.375rem; }
    h3 { font-size: 1.1875rem; }

    main {
        padding-top: var(--s-7);
        padding-bottom: var(--s-8);
    }

    .article-title {
        font-size: 1.625rem;
        padding-left: var(--s-5);
    }

    .logo {
        font-size: 1.0625rem;
    }

    .lang-switcher {
        gap: var(--s-2);
    }

    .hero-content .lead {
        font-size: 1.1875rem;
    }

    .content-body p,
    .content-body ul li,
    .content-body ol li {
        font-size: 1.0625rem;
    }

    .content-body h2 {
        font-size: 1.375rem;
    }

    .content-body h3 {
        font-size: 1.1875rem;
    }

    .content-body blockquote {
        padding: var(--s-5) var(--s-6);
        font-size: 1.125rem;
    }

    pre {
        padding: var(--s-5);
    }

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

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-left {
        justify-content: flex-start;
    }
}

@media (min-width: 1024px) {
    body {
        font-size: 1.125rem;
    }

    h1 { font-size: 1.875rem; }

    .article-title {
        font-size: 1.875rem;
        line-height: 1.28;
        margin-bottom: var(--s-7);
    }

    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        gap: var(--s-7);
        align-items: center;
    }

    .hero-visual {
        aspect-ratio: auto;
        height: 100%;
        min-height: 380px;
        max-height: 460px;
    }

    .content-body p,
    .content-body ul li,
    .content-body ol li {
        font-size: 1.125rem;
    }

    .content-body h2 {
        font-size: 1.4375rem;
    }

    .content-body h3 {
        font-size: 1.25rem;
    }

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

@media (min-width: 1280px) {
    :root {
        --gutter: var(--s-7);
    }

    .article-title {
        font-size: 2rem;
    }
}

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

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

    .card:hover {
        transform: none;
    }

    .card:hover .card-footer svg {
        transform: none;
    }
}

/* ---------- Print ---------- */
@media print {
    body {
        background: #fff;
        color: #111;
    }

    .site-header,
    footer,
    .related-materials {
        display: none;
    }

    img {
        filter: none;
    }
}