/*
Theme Name: TuDineroEnUSA
Theme URI: https://tudineroenusa.com/
Author: Studio Red House
Description: Tema a medida para TuDineroEnUSA: portada automática por categorías, artículos con índice lateral, tarjetas por color de tema y lectura cómoda en móvil. Ligero, sin constructores ni dependencias.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tudinero
*/

/* =========================================================
   1. Variables
   ========================================================= */
:root {
	--brand: #0B3B36;
	--brand-2: #0F5A4F;
	--accent: #F2A93C;
	--accent-ink: #2B1D05;
	--ink: #16211E;
	--muted: #5A6864;
	--line: #E1E8E4;
	--tint: #F3F7F4;
	--surface: #FFFFFF;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(11, 59, 54, .06), 0 8px 24px rgba(11, 59, 54, .06);
	--shadow-hover: 0 2px 4px rgba(11, 59, 54, .08), 0 14px 32px rgba(11, 59, 54, .12);
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1200px;
	--narrow: 760px;
	--header-h: 72px;
}

/* =========================================================
   2. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--brand-2); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { color: var(--brand); line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.icon { flex-shrink: 0; vertical-align: middle; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--surface); color: var(--brand); padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: var(--narrow); }
.section { padding-top: 56px; padding-bottom: 56px; }
.section-tint { background: var(--tint); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-title { font-size: clamp(1.4rem, 2.6vw, 1.85rem); display: flex; align-items: center; gap: 12px; margin: 0 0 24px; }
.section-head .section-title { margin: 0; }
.see-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #E89A22; color: var(--accent-ink); }
.btn-outline { background: transparent; color: var(--brand); border: 2px solid var(--line); }
.btn-outline:hover { border-color: var(--brand); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--brand); cursor: pointer; }
.icon-btn:hover { background: var(--tint); }

/* Etiqueta de categoría */
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: color-mix(in srgb, var(--cat, var(--brand)) 82%, #000); background: color-mix(in srgb, var(--cat, var(--brand)) 11%, #fff); }
.chip:hover { color: color-mix(in srgb, var(--cat, var(--brand)) 90%, #000); background: color-mix(in srgb, var(--cat, var(--brand)) 18%, #fff); }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* =========================================================
   3. Encabezado
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand .custom-logo { max-height: 44px; width: auto; display: block; }
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--brand); text-decoration: none; }
.primary-nav { margin-left: auto; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.primary-nav a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.primary-nav a:hover { background: var(--tint); color: var(--brand); }
.primary-nav .current-menu-item > a, .primary-nav .current-category-ancestor > a, .primary-nav .current-post-ancestor > a { background: var(--tint); color: var(--brand); box-shadow: inset 0 -2px 0 var(--accent); }
.primary-nav .sub-menu { display: none; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.menu-toggle { display: none; }
.menu-toggle .when-open, .menu-open .menu-toggle .when-closed { display: none; }
.menu-open .menu-toggle .when-open { display: inline; }
.header-search { border-top: 1px solid var(--line); padding: 14px 0; background: var(--surface); }

@media (max-width: 1023px) {
	.menu-toggle { display: inline-grid; }
	.header-cta { display: none; }
	.header-inner { gap: 8px; }
	.header-actions { margin-left: auto; }
	.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 12px 16px; margin: 0; }
	.menu-open .primary-nav { display: block; }
	.primary-nav .menu { flex-direction: column; }
	.primary-nav a { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 1.05rem; }
	.primary-nav .sub-menu { display: block; list-style: none; padding-left: 16px; }
}

/* Formulario de búsqueda */
.search-form { position: relative; display: flex; gap: 8px; width: 100%; }
.search-form .search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; display: flex; }
.search-form input[type="search"] { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px 0 46px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 1rem; background: var(--surface); color: var(--ink); }
.search-form input[type="search"]:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(15, 90, 79, .15); }
.search-form .btn { min-height: 52px; }

/* =========================================================
   4. Portada
   ========================================================= */
.hero { position: relative; color: #fff; background: radial-gradient(1200px 400px at 85% -10%, rgba(242, 169, 60, .22), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(255, 255, 255, .08), transparent 60%), var(--brand); padding: clamp(56px, 9vw, 104px) 0 clamp(64px, 9vw, 112px); overflow: hidden; }
.hero-inner { max-width: 820px; text-align: center; }
.hero-kicker { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.hero-title { color: #fff; font-size: clamp(2.1rem, 5.4vw, 3.6rem); letter-spacing: -0.03em; margin-bottom: 18px; }
.hero-text { font-size: clamp(1.05rem, 2vw, 1.2rem); color: rgba(255, 255, 255, .85); max-width: 640px; margin: 0 auto 32px; }
.hero-search { max-width: 640px; margin: 0 auto; }
.hero-search .search-form input[type="search"] { min-height: 60px; border: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.hero-search .search-form .btn { min-height: 60px; padding: 0 28px; }
.hero-popular { margin: 20px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: .9rem; color: rgba(255, 255, 255, .75); }
.hero-popular a { color: #fff; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.hero-popular a:hover { background: rgba(255, 255, 255, .2); }
@media (max-width: 600px) {
	.hero-search .search-form { flex-direction: column; }
	.hero-search .search-form .search-icon { top: 30px; }
	.hero-popular span { width: 100%; }
}

/* Temas */
.topics-section { margin-top: -48px; padding-top: 0; position: relative; }
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.topic { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.topic:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: color-mix(in srgb, var(--cat) 40%, #fff); color: var(--ink); }
.topic-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--cat); background: color-mix(in srgb, var(--cat) 12%, #fff); margin-bottom: 4px; }
.topic-name { font-weight: 800; font-size: 1.1rem; color: var(--brand); line-height: 1.25; }
.topic-desc { font-size: .9rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 600px) {
	.topics { grid-template-columns: 1fr 1fr; gap: 12px; }
	.topic { padding: 16px; }
	.topic-desc { display: none; }
	.topic-name { font-size: 1rem; }
}
.topic-count { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: color-mix(in srgb, var(--cat) 82%, #000); }

/* Confianza */
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.trust li { display: flex; gap: 14px; align-items: flex-start; }
.trust .icon { color: var(--brand-2); background: var(--tint); border-radius: 10px; padding: 10px; width: 44px; height: 44px; }
.trust strong { display: block; color: var(--brand); }
.trust span { font-size: .9375rem; color: var(--muted); }

/* Filas por categoría */
.cat-row + .cat-row { padding-top: 0; }
.cat-dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--cat); background: color-mix(in srgb, var(--cat) 12%, #fff); }
.cat-row .see-all { color: color-mix(in srgb, var(--cat) 82%, #000); }

/* =========================================================
   5. Tarjetas
   ========================================================= */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card-media { display: block; aspect-ratio: 16 / 9; background: color-mix(in srgb, var(--cat) 10%, #fff); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-placeholder { display: grid; place-items: center; height: 100%; color: color-mix(in srgb, var(--cat) 70%, #fff); }
.card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.card-title { font-size: 1.125rem; line-height: 1.3; margin: 0; }
.card-title a { color: var(--brand); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; } /* toda la tarjeta es clicable */
.card .chip { position: relative; z-index: 1; }
.card-excerpt { color: var(--muted); font-size: .9375rem; margin: 0; }
.card-meta { margin: auto 0 0; display: flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--muted); }

/* Destacados: uno grande + tres compactos */
.featured-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) {
	.featured-grid { grid-template-columns: 1.3fr 1fr; grid-auto-rows: auto; }
	.featured-grid .card:first-child { grid-row: span 3; }
	.featured-grid .card:first-child .card-title { font-size: 1.5rem; }
	.featured-grid .card:not(:first-child) { flex-direction: row; }
	.featured-grid .card:not(:first-child) .card-media { width: 38%; flex-shrink: 0; aspect-ratio: auto; }
	.featured-grid .card:not(:first-child) .card-body { padding: 16px 18px; }
}

/* =========================================================
   6. Artículo
   ========================================================= */
.article-header { padding: 40px 0 24px; }
.breadcrumbs { font-size: .875rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.article-title { font-size: clamp(1.9rem, 4.4vw, 2.75rem); letter-spacing: -0.03em; margin: 14px 0 14px; }
.article-lead { font-size: 1.2rem; color: var(--muted); }
.article-meta { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; }
.article-meta .avatar { border-radius: 50%; }
.meta-author { display: block; font-weight: 700; }
.meta-author a { color: var(--ink); text-decoration: none; }
.meta-line { color: var(--muted); }
.article-image { margin: 0 auto 32px; }
.article-image img { width: 100%; border-radius: var(--radius); display: block; }

.article-layout { max-width: var(--narrow); padding-bottom: 24px; }
.article-layout.has-toc { max-width: var(--narrow); }
@media (min-width: 1024px) {
	.article-layout.has-toc { max-width: 1080px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
}

@media (min-width: 1024px) {
	/* Con índice: título e imagen alineados con la columna de texto */
	.article.with-toc .article-header .container,
	.article.with-toc .article-image { max-width: 1080px; padding-left: calc(20px + 250px + 56px); }
}

/* Índice */
.toc { margin-bottom: 28px; }
.toc details { background: var(--tint); border-radius: var(--radius); padding: 16px 18px; }
.toc summary { cursor: pointer; font-weight: 800; color: var(--brand); font-size: .95rem; list-style-position: inside; }
.toc ol { list-style: none; margin: 12px 0 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: var(--radius-sm); font-size: .9rem; line-height: 1.4; color: var(--muted); text-decoration: none; }
.toc a::before { content: counter(toc); font-weight: 800; color: var(--brand-2); min-width: 1ch; }
.toc a:hover, .toc a[aria-current] { background: var(--surface); color: var(--brand); }
.toc a[aria-current] { box-shadow: inset 3px 0 0 var(--accent); }
@media (min-width: 1024px) {
	.toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
	.admin-bar .toc { top: calc(var(--header-h) + 56px); }
	.toc details { background: transparent; padding: 0; }
	.toc summary { text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; color: var(--muted); }
}

/* Texto del artículo */
.prose { font-size: 1.125rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol { margin: 0; }
.prose > * + p, .prose > * + ul, .prose > * + ol { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.45rem, 3vw, 1.8rem); margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.8em 0 .5em; }
.prose h2 + *, .prose h3 + * { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brand-2); font-weight: 700; }
.prose a { color: var(--brand-2); text-decoration-thickness: 1px; }
.prose img { border-radius: var(--radius-sm); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 16px 20px; border-left: 4px solid var(--accent); background: var(--tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption, .wp-caption-text { font-size: .875rem; color: var(--muted); text-align: center; margin-top: 8px; }
.prose .wp-block-table, .prose .table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose th, .prose td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th, .prose table:not(:has(thead)) tr:first-child td { background: var(--brand); color: #fff; font-weight: 700; }
.prose tbody tr:nth-child(even) td { background: var(--tint); }
@media (max-width: 700px) { .prose table { display: block; overflow-x: auto; white-space: nowrap; } }
.prose .wp-block-button__link { background: var(--accent); color: var(--accent-ink); border-radius: 999px; font-weight: 700; text-decoration: none; }
.prose .has-text-align-center { text-align: center; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: .3em 1.2em .8em 0; }
.alignright { float: right; margin: .3em 0 .8em 1.2em; }
.wp-caption { max-width: 100%; }

/* Final del artículo */
.disclaimer { margin: 40px 0 0; padding: 16px 20px; background: var(--tint); border-radius: var(--radius-sm); font-size: .9rem; color: var(--muted); }
.disclaimer strong { color: var(--ink); }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.author-box .avatar { border-radius: 50%; flex-shrink: 0; }
.author-name { font-weight: 800; color: var(--brand); margin: 0 0 4px; }
.author-bio { color: var(--muted); font-size: .9375rem; margin: 0; }

/* Newsletter */
.newsletter { display: flex; align-items: center; gap: 24px; margin-top: 40px; padding: 32px; border-radius: var(--radius); color: #fff; background: radial-gradient(600px 200px at 100% 0, rgba(242, 169, 60, .25), transparent 60%), var(--brand); }
.newsletter-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: rgba(255, 255, 255, .12); color: var(--accent); flex-shrink: 0; }
.newsletter-text { flex: 1; }
.newsletter h2 { color: #fff; font-size: 1.4rem; margin: 0 0 6px; }
.newsletter p { margin: 0; color: rgba(255, 255, 255, .85); }
@media (max-width: 700px) { .newsletter { flex-direction: column; align-items: flex-start; } }

/* Comentarios */
.comments-title { font-size: 1.4rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author .avatar { border-radius: 50%; }
.comment-metadata { font-size: .8125rem; margin: 2px 0 8px 50px; }
.comment-metadata a { color: var(--muted); }
.comment-toggle > summary { list-style: none; }
.comment-toggle > summary::-webkit-details-marker { display: none; }
.comment-respond { margin-top: 20px; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; }
.comment-form textarea { min-height: 140px; }
.comment-form p { margin-bottom: 16px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; }
.comment-form-cookies-consent label { font-weight: 400; }

/* =========================================================
   7. Listados (categorías, búsqueda)
   ========================================================= */
.archive-header { background: var(--tint); border-bottom: 1px solid var(--line); padding: 40px 0; }
.archive-header > .container:first-child { display: flex; gap: 20px; align-items: flex-start; }
.archive-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; color: var(--cat); background: color-mix(in srgb, var(--cat) 14%, #fff); flex-shrink: 0; }
.archive-title { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 6px; }
.archive-desc { color: var(--muted); max-width: 640px; }
.archive-desc p { margin: 0 0 6px; }
.archive-count { margin: 0; font-size: .875rem; font-weight: 700; color: color-mix(in srgb, var(--cat) 82%, #000); }
.archive-search { margin-top: 20px; max-width: 700px; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--brand); }
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.empty { text-align: center; max-width: 640px; margin: 0 auto; }

/* =========================================================
   8. Pie
   ========================================================= */
.site-footer { background: var(--brand); color: rgba(255, 255, 255, .8); padding: 56px 0 24px; font-size: .9375rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer .brand-name { color: #fff; font-size: 1.3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-about p { margin-top: 12px; max-width: 380px; }
.footer-title { color: #fff; font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .8125rem; color: rgba(255, 255, 255, .65); }
.footer-bottom p { margin: 0; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.card:hover, .topic:hover { transform: none; }
}
