/* teoremas.net · cuaderno de cuadrícula (sobre el tema ASAP) */
body.tn {
	--papel: #fbfaf6; --hoja: #ffffff; --tinta: #1b2a41; --suave: #5d6878; --linea: #e6e1d6; --cuad: #e9edf3;
	--rojo: #d1495b; --azul: #2e6fdb; --mostaza: #edae49;
	--fs: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--fb: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	background: var(--papel); color: var(--tinta); font-family: var(--fb); overflow-x: clip;
}
html:has(body.tn) { overflow-x: clip; }
.tn a { color: var(--azul); }
.tn h1, .tn h2, .tn h3, .tn .tn-h1 { font-family: var(--fs); }

/* cabecera */
.tn .site-header { background: var(--tinta); position: sticky; top: 0; z-index: 60; box-shadow: 0 2px 0 var(--rojo); transition: box-shadow .3s; }
.tn .site-header-content { max-width: 1180px; margin: 0 auto; padding: 0 20px; align-items: center; justify-content: space-between; min-height: 64px; }
.tn .site-header .search-header { display: none; }
.tn .site-logo img, .tn .custom-logo { max-height: 40px !important; width: auto !important; margin: 10px 0; transition: max-height .3s; }
body.tn.tn-scr .site-logo img, body.tn.tn-scr .custom-logo { max-height: 32px !important; }
.tn #menu ul li a { --c: var(--mostaza); position: relative; font-weight: 600; font-size: 15px; color: #e8ecf3; padding: 0 10px; }
.tn #menu ul li a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -6px; height: 2px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.tn #menu ul li a:hover, .tn #menu ul li.current-menu-item > a, .tn #menu ul li.current-post-ancestor > a { color: #fff; }
.tn #menu ul li a:hover::after, .tn #menu ul li.current-menu-item > a::after, .tn #menu ul li.current-post-ancestor > a::after { transform: none; }
.tn #menu ul li.tn-m-cta a { background: var(--rojo); color: #fff; border-radius: 6px; padding: 8px 14px; margin-left: 8px; font-weight: 700; transition: background .2s, transform .2s; }
.tn #menu ul li.tn-m-cta a::after { display: none; }
.tn #menu ul li.tn-m-cta a:hover { background: #b83a4b; transform: translateY(-1px); }
@media (min-width: 801px) { .tn #menu ul { display: flex; flex-wrap: nowrap; align-items: center; gap: 0; } .tn #menu ul li { white-space: nowrap; } }
@media (min-width: 801px) and (max-width: 1280px) { .tn #menu ul li a { font-size: 13.5px; padding: 0 6px; } }

/* cuadrícula de cuaderno */
.tn-hero, .tn-banda, .tn-calc-dib { background-color: #fff; background-image: linear-gradient(var(--cuad) 1px, transparent 1px), linear-gradient(90deg, var(--cuad) 1px, transparent 1px); background-size: 24px 24px; }

/* héroe */
.tn-hero { position: relative; overflow: hidden; padding: 52px 20px 58px; border-bottom: 1px solid var(--linea); }
.tn-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--rojo); opacity: .35; left: 7%; }
.tn-hero-in { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.tn-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rojo); }
.tn-h1 { font-weight: 700; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.01em; margin: 0 0 16px; color: var(--tinta); }
.tn-sub-h1 { display: block; font-style: italic; color: var(--azul); position: relative; width: max-content; max-width: 100%; }
.tn-sub-h1::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; background: var(--mostaza); opacity: .55; z-index: -1; transform-origin: left; animation: tnx .9s .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes tnx { from { transform: scaleX(0); } }
.tn-lead { font-size: 19px; line-height: 1.6; color: var(--suave); margin: 0 0 24px; max-width: 560px; }
.tn-buscar { display: flex; align-items: center; background: #fff; border: 2px solid var(--tinta); border-radius: 10px; padding: 5px 5px 5px 14px; max-width: 560px; box-shadow: 5px 5px 0 var(--tinta); }
.tn-buscar svg { width: 22px; height: 22px; fill: none; stroke: var(--suave); stroke-width: 2; flex: none; }
.tn-buscar input[type=search] { flex: 1; min-width: 0; border: 0 !important; background: none !important; box-shadow: none !important; font-size: 17px; padding: 11px; outline: 0; color: var(--tinta); font-family: var(--fb); }
.tn-buscar button, .tn-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 8px; background: var(--tinta); color: #fff !important; font-family: var(--fb); font-weight: 700; font-size: 16px; padding: 12px 20px; cursor: pointer; text-decoration: none; transition: transform .15s, background .2s, box-shadow .15s; }
.tn-buscar button:hover, .tn-btn:hover { background: var(--rojo); }
.tn-btn { box-shadow: 3px 3px 0 var(--rojo); } .tn-btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--tinta); }
.tn-btn2 { background: #fff; color: var(--tinta) !important; border: 2px solid var(--tinta); box-shadow: none; padding: 10px 16px; } .tn-btn2:hover { background: var(--papel); color: var(--tinta) !important; box-shadow: none; }
.tn-acc { display: flex; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.tn-num-w { color: var(--suave); font-weight: 600; } .tn-num { font-family: var(--fs); font-size: 28px; color: var(--tinta); }
.tn-hero-viz { background: rgba(255,255,255,.75); border: 2px solid var(--tinta); border-radius: 14px; padding: 14px; box-shadow: 8px 8px 0 rgba(27,42,65,.12); }
.tn-pita { width: 100%; height: auto; display: block; overflow: visible; }
.tn-pita .cara { stroke: var(--tinta); stroke-width: 2; }
.tn-pita .s1 .cara { fill: color-mix(in srgb, var(--rojo) 18%, #fff); } .tn-pita .s2 .cara { fill: color-mix(in srgb, var(--azul) 15%, #fff); } .tn-pita .s3 .cara { fill: color-mix(in srgb, var(--mostaza) 22%, #fff); }
.tn-pita .rej { fill: none; stroke: var(--tinta); stroke-width: 1; opacity: .28; }
.tn-pita .sq { opacity: 0; transform-box: fill-box; transform-origin: center; animation: tnsq .7s cubic-bezier(.2,.8,.3,1.25) forwards; }
.tn-pita .s1 { animation-delay: 1s; } .tn-pita .s2 { animation-delay: 1.25s; } .tn-pita .s3 { animation-delay: 1.6s; }
@keyframes tnsq { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.tn-pita .trz { fill: #fff; stroke: var(--tinta); stroke-width: 3.5; stroke-linejoin: round; stroke-dasharray: 560; stroke-dashoffset: 560; animation: tnd 1.1s .15s cubic-bezier(.6,.1,.2,1) forwards; }
.tn-pita .ang { fill: none; stroke: var(--rojo); stroke-width: 2.5; opacity: 0; animation: tnap .4s 1s forwards; }
@keyframes tnd { to { stroke-dashoffset: 0; } } @keyframes tnap { to { opacity: 1; } }
.tn-pita .lt { font-family: var(--fs); font-style: italic; font-size: 24px; font-weight: 700; fill: var(--tinta); opacity: 0; animation: tnap .4s 1s forwards; }
.tn-pita .fm { font-family: var(--fs); font-style: italic; font-size: 21px; font-weight: 700; fill: var(--tinta); text-anchor: middle; opacity: 0; animation: tnap .6s 2.3s forwards; }
.tn-pita .fm2 { font-family: var(--fb); font-size: 15px; font-weight: 700; fill: var(--rojo); text-anchor: middle; opacity: 0; animation: tnap .6s 2.7s forwards; }
.tn-hero-viz { animation: tnflota 8s 3s ease-in-out infinite; } @keyframes tnflota { 50% { transform: translateY(-7px) rotate(-.4deg); } }

/* secciones */
.tn-t2 { font-weight: 700; font-size: 32px; margin: 0 0 22px; color: var(--tinta); display: inline-block; position: relative; }
.tn-t2::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--rojo); transform-origin: left; transition: transform .7s .1s cubic-bezier(.2,.8,.2,1); }
html.tn-js .tn-t2.tn-rev::after { transform: scaleX(0); } html.tn-js .tn-t2.tn-rev.visto::after { transform: none; }
.tn-temas { max-width: 1180px; margin: 0 auto; padding: 48px 20px 8px; }
.tn-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tn-tiles li { margin: 0; }
.tn-tiles a { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 18px; border-radius: 10px; background: #fff; border: 2px solid var(--tinta); text-decoration: none; color: var(--tinta); min-height: 148px; transition: transform .15s, box-shadow .15s; box-shadow: 4px 4px 0 var(--c); }
.tn-tiles a:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--c); }
.tn-tiles strong { font-family: var(--fs); font-size: 20px; font-weight: 700; } .tn-tiles em { font-style: normal; font-size: 14px; color: var(--suave); }
.tn-fig { width: 76px; height: 64px; margin-bottom: 6px; overflow: visible; }
.tn-fig .fl { fill: none; stroke: var(--c, var(--tinta)); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.2s .1s ease; }
.tn-fig .fa { fill: color-mix(in srgb, var(--c, var(--tinta)) 22%, transparent); stroke: none; opacity: 0; transition: opacity .6s .8s; }
.tn-fig .fp { fill: var(--c, var(--tinta)); opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.3); transition: opacity .3s .9s, transform .5s .9s cubic-bezier(.2,.8,.3,1.6); }
.visto .tn-fig .fl, html:not(.tn-js) .tn-fig .fl, .tn-card .tn-fig .fl { stroke-dashoffset: 0; }
.visto .tn-fig .fa, html:not(.tn-js) .tn-fig .fa, .tn-card .tn-fig .fa { opacity: 1; }
.visto .tn-fig .fp, html:not(.tn-js) .tn-fig .fp, .tn-card .tn-fig .fp { opacity: 1; transform: none; }
.tn-tiles a:hover .tn-fig .fp { transform: scale(1.35); transition-delay: 0s; }

/* calculadora */
.tn-calc { padding: 58px 20px; margin-top: 46px; background: var(--tinta); color: #fff; }
.tn-calc-in { max-width: 1180px; margin: 0 auto; }
.tn-calc .tn-t2 { color: #fff; } .tn-calc .tn-t2::after { background: var(--mostaza); }
.tn-calc-sub { color: #c9d2e0; font-size: 18px; margin: 0 0 22px; max-width: 720px; }
.tn-calc-card { display: grid; grid-template-columns: 330px 1fr; gap: 18px; }
.tn-calc-ctrl { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.tn-calc-g p { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mostaza); }
.tn-calc-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .tn-calc-g p { grid-column: 1 / -1; }
.tn-calc-g label { position: relative; display: flex; flex-direction: column; gap: 4px; font-family: var(--fs); font-style: italic; font-weight: 700; font-size: 17px; color: #fff; }
.tn-calc-g input { width: 100%; background: #0f1a2c; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 10px 22px 10px 10px; font-family: var(--fb); font-style: normal; font-size: 16px; }
.tn-calc-g input:focus { outline: 0; border-color: var(--mostaza); box-shadow: 0 0 0 3px rgba(237,174,73,.3); }
.tn-calc-g input.dato { border-color: var(--mostaza); } .tn-calc-g input.res { color: var(--mostaza); }
.tn-calc-g i { position: absolute; right: 8px; bottom: 10px; font-style: normal; color: #9aa6ba; font-size: 14px; }
.tn-calc-bt { display: flex; gap: 8px; flex-wrap: wrap; }
.tn-calc .tn-btn { background: var(--mostaza); color: var(--tinta) !important; box-shadow: 3px 3px 0 #fff; } .tn-calc .tn-btn:hover { background: #fff; box-shadow: 5px 5px 0 var(--mostaza); }
.tn-calc .tn-btn2 { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,.5); box-shadow: none; } .tn-calc .tn-btn2:hover { border-color: #fff; background: rgba(255,255,255,.08); box-shadow: none; }
.tn-nota { font-size: 13px; color: #9aa6ba; margin: 0; }
.tn-calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fff; color: var(--tinta); border-radius: 12px; padding: 14px; min-height: 340px; }
.tn-calc-dib { border-radius: 8px; border: 1px solid var(--linea); display: flex; align-items: center; justify-content: center; min-height: 300px; }
.tn-calc-dib svg { width: 100%; height: auto; max-height: 360px; overflow: visible; }
.tn-calc-dib .t { fill: color-mix(in srgb, var(--azul) 12%, #fff); stroke: var(--tinta); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: tnd 1s ease forwards; }
.tn-calc-dib text { font-family: var(--fs); font-size: 15px; font-weight: 700; fill: var(--tinta); }
.tn-calc-dib .v { font-style: italic; fill: var(--rojo); }
.tn-calc-pasos { font-size: 15px; line-height: 1.55; overflow: auto; max-height: 380px; }
.tn-calc-pasos h3 { font-size: 18px; margin: 0 0 6px; } .tn-calc-pasos ol { margin: 0 0 10px; padding-left: 20px; } .tn-calc-pasos li { margin: 0 0 6px; }
.tn-calc-pasos .ok { background: #eef6ee; border-left: 3px solid #3a7d44; padding: 8px 10px; border-radius: 4px; margin: 8px 0; }
.tn-calc-pasos .mal { background: #fbecee; border-left: 3px solid var(--rojo); padding: 8px 10px; border-radius: 4px; }
.tn-vacio { color: var(--suave); }

/* tarjetas */
.tn main:has(> .tn-card), .tn .content-area:has(> .tn-card), .tn section:has(> .tn-card), .tn-sigue-g { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100% !important; max-width: none !important; float: none !important; }
.tn main:has(> .tn-card) > :not(.tn-card), .tn .content-area:has(> .tn-card) > :not(.tn-card), .tn section:has(> .tn-card) > :not(.tn-card) { grid-column: 1 / -1; }
.tn .tn-card { width: auto !important; margin: 0 !important; padding: 0 !important; background: #fff !important; border: 1px solid var(--linea); border-top: 4px solid var(--c); border-radius: 10px; transition: transform .15s, box-shadow .15s; }
.tn .tn-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(27,42,65,.12); }
.tn .tn-card > a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 16px 18px 18px; text-decoration: none; color: inherit; }
.tn .tn-card .kk { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 75%, #1b2a41); }
.tn .tn-card .kk .tn-fig { width: 38px; height: 32px; margin: 0; }
.tn .tn-card strong { font-family: var(--fs); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--tinta); }
.tn .tn-card .ex { font-size: 14.5px; line-height: 1.5; color: var(--suave); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tn .tn-card .ir { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--c); } .tn .tn-card .ir b { display: inline-block; transition: transform .25s; } .tn .tn-card:hover .ir b { transform: translateX(5px); }
.tn main.content-loop { max-width: 1180px; padding: 0 20px; }
.tn-ultimo { margin: 46px 0 18px; }
.tn .search-home { display: none; }
.tn.tn-home .content-home-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tn .pagination { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 18px 0; }
.tn .pagination a.page-numbers, .tn .pagination span.page-numbers { background: #fff; color: var(--tinta) !important; border: 2px solid var(--tinta); border-radius: 8px; font-weight: 700; min-width: 42px; padding: 8px 12px; text-align: center; line-height: 1.2; }
.tn .pagination .page-numbers.current, .tn .pagination a.page-numbers:hover { background: var(--tinta); color: #fff !important; }

/* banda */
.tn-banda { --c: #1b2a41; position: relative; overflow: hidden; height: 108px; border-bottom: 1px solid var(--linea); }
.tn-banda::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--c); transform-origin: left; animation: tnx 1s .1s cubic-bezier(.2,.8,.2,1) both; }
.tn-bsvg { position: absolute; right: 0; top: 0; height: 100%; width: min(620px, 65%); }
.tn-bsvg .ej { stroke: #b9c2cf; stroke-width: 1.5; fill: none; }
.tn-bsvg .cur { fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: tnd 2.2s .2s ease forwards; opacity: .8; }
.tn-bsvg .pto { fill: var(--c); }
.tn-banda-in { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 30px 20px 0; }
.tn-migas { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--suave); background: rgba(255,255,255,.85); padding: 4px 10px; border-radius: 6px; }
.tn-migas a { color: var(--suave); text-decoration: none; } .tn-migas a:hover { color: var(--tinta); text-decoration: underline; }
.tn-migas .act, .tn-migas a:last-child { color: color-mix(in srgb, var(--c) 75%, #1b2a41); }
.tn-migas > * { animation: tnsube .5s cubic-bezier(.2,.8,.2,1) both; } .tn-migas > :nth-child(3) { animation-delay: .1s; }
@keyframes tnsube { from { opacity: 0; transform: translateY(8px); } }
.tn.tn-single .breadcrumb-trail, .tn.tn-page .breadcrumb-trail { display: none; }

/* guía */
.tn.tn-single main.content-single { display: block; max-width: 900px; margin: -24px auto 0; padding: 0 20px; position: relative; z-index: 3; }
.tn.tn-single .content-thin { width: 100% !important; max-width: none !important; float: none; background: #fff; border: 1px solid var(--linea); border-radius: 12px; padding: 34px 44px 30px; box-shadow: 0 18px 44px rgba(27,42,65,.08); }
.tn.tn-single .primary-sidebar, .tn.tn-single aside.primary-sidebar, .tn.tn-single .last-post-sidebar { display: none !important; }
.tn.tn-single .post-thumbnail, .tn.tn-single .content-thin > .post-thumbnail { display: none !important; }
.tn .content-thin h1 { font-weight: 700; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; color: var(--tinta); margin: 6px 0 16px; }
.tn .the-content { font-size: 18px; line-height: 1.75; color: #283548; }
.tn .the-content p, .tn .the-content li, .tn .the-content td { color: #283548; }
.tn .the-content h2 { font-weight: 700; font-size: 29px; line-height: 1.18; color: var(--tinta); margin: 1.7em 0 .55em; padding-bottom: 8px; border-bottom: 2px solid var(--linea); position: relative; }
.tn .the-content h2::before { display: none !important; }
.tn .the-content h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 2px; background: var(--rojo); transform-origin: left; transition: transform .7s .15s cubic-bezier(.2,.8,.2,1); }
html.tn-js .the-content h2.tn-rev::after { transform: scaleX(0); } html.tn-js .the-content h2.tn-rev.visto::after { transform: none; }
.tn .the-content h3 { font-weight: 700; font-size: 22px; color: var(--azul); margin: 1.3em 0 .4em; }
.tn .the-content strong { color: var(--tinta); }
.tn .the-content p > strong:only-child { display: block; text-align: center; font-family: var(--fs); font-size: 1.18em; font-style: italic; background: #fff8e8; border: 1px solid #f1dfb4; border-left: 4px solid var(--mostaza); border-radius: 8px; padding: 14px 16px; }
.tn .the-content sup, .tn .the-content sub { font-size: .72em; line-height: 0; }
.tn .the-content ol > li::marker { font-family: var(--fs); font-weight: 700; color: var(--rojo); }
.tn .the-content table { width: 100%; border-collapse: collapse; border: 2px solid var(--tinta); font-size: 16px; margin: 1.2em 0; background: #fff; }
.tn .the-content th { background: var(--tinta); color: #fff; font-weight: 700; padding: 10px 14px; text-align: left; border: 0; }
.tn .the-content td { padding: 10px 14px; border: 0; border-top: 1px solid var(--linea); }
.tn .the-content tbody tr:nth-child(even) { background: #faf8f2; }
.tn .the-content iframe { position: static !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; display: block; margin: 1.2em 0; border-radius: 10px; border: 0; }
.tn .the-content a { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 100% 1px; transition: background-size .3s; }
.tn .the-content a:hover { background-size: 0% 1px; background-position: right bottom; }
.tn .post-index { background: var(--papel); border: 1px solid var(--linea); border-radius: 10px; }
.tn .kk-star-ratings, .tn .kksr-auto, .tn .author-box, .tn .content-author, .tn .post-author { display: none !important; }
.tn-sigue { margin: 36px 0 4px; padding-top: 22px; border-top: 2px dashed var(--linea); }
.tn-sigue h2 { font-weight: 700; font-size: 25px !important; margin: 0 0 14px !important; padding: 0 !important; border: 0 !important; }
.tn-sigue h2::after { display: none !important; }

/* categorías, búsqueda y páginas */
.tn.tn-arch .content-thin, .tn.tn-home .content-thin { background: none; border: 0; padding: 0; box-shadow: none; }
.tn.tn-arch main.content-loop > h1 { font-weight: 700; font-size: clamp(32px, 4.6vw, 50px); color: var(--tinta); margin: 26px 0 8px; text-align: left; }
.tn.tn-arch main.content-loop > h1::after, .tn.tn-arch main.content-loop > h1::before { display: none !important; }
.tn.tn-arch .des-category p { color: var(--suave); font-size: 18px; line-height: 1.65; max-width: 880px; }
.tn.tn-arch section.content-all, .tn.tn-arch section.content-thin, .tn.tn-arch section.content-area { width: 100% !important; max-width: none !important; margin: 0 !important; float: none !important; }
.tn.tn-arch .last-post-sidebar, .tn.tn-arch aside { display: none !important; }
.tn.tn-page main.content-page { max-width: 900px; margin: -24px auto 0; padding: 0 20px; position: relative; z-index: 3; }
.tn.tn-page .content-thin, .tn.tn-page .content-page article { background: #fff; border: 1px solid var(--linea); border-radius: 12px; padding: 34px 40px; }

/* pie */
.tn .tn-pie { background: var(--tinta); color: #c9d2e0; margin-top: 50px; padding: 30px 20px 34px; border-top: 3px solid var(--rojo); }
.tn .tn-pie-in { max-width: 1180px; margin: 0 auto; text-align: center; }
.tn .tn-pie-m { font-family: var(--fs); font-size: 26px; font-weight: 700; color: #fff; margin: 0 0 12px; } .tn .tn-pie-m span { color: var(--mostaza); }
.tn .tn-pie nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 12px; }
.tn .tn-pie-t a { color: #c9d2e0 !important; font-weight: 500 !important; }
.tn .tn-pie a { color: #fff; text-decoration: none; font-weight: 700; } .tn .tn-pie a:hover { color: var(--mostaza) !important; }
.tn .tn-pie p { margin: 0; font-size: 14px; }

/* aparición y lectura */
html.tn-js .tn-rev { opacity: 0; translate: 0 18px; transition: opacity .55s ease calc(var(--d, 0) * 90ms), translate .55s ease calc(var(--d, 0) * 90ms), transform .15s, box-shadow .15s; }
html.tn-js .tn-rev.visto { opacity: 1; translate: none; }
.tn-w { display: inline-block; animation: tnsube .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.12s + var(--i) * 45ms); }
.tn-prog { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 99999; background: var(--rojo); }
html.tn-js .the-content ol.tn-rev > li { opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .45s cubic-bezier(.2,.8,.2,1); transition-delay: calc(.1s + var(--j, 0) * 70ms); }
html.tn-js .the-content ol.tn-rev.visto > li { opacity: 1; transform: none; }

/* móvil */
@media (max-width: 960px) { .tn-hero-in { grid-template-columns: 1fr; } .tn-hero-viz { max-width: 460px; } .tn-tiles { grid-template-columns: repeat(2, 1fr); } .tn-calc-card, .tn-calc-out { grid-template-columns: 1fr; } .tn main:has(> .tn-card), .tn .content-area:has(> .tn-card), .tn section:has(> .tn-card), .tn-sigue-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.tn-hero { padding: 28px 16px 40px; } .tn-lead { font-size: 16px; } .tn-t2 { font-size: 25px; }
	.tn-tiles { gap: 10px; } .tn-tiles a { padding: 12px; min-height: 120px; } .tn-tiles strong { font-size: 17px; } .tn-fig { width: 60px; height: 50px; }
	.tn main:has(> .tn-card), .tn .content-area:has(> .tn-card), .tn section:has(> .tn-card), .tn-sigue-g { grid-template-columns: 1fr; }
	.tn.tn-single .content-thin, .tn.tn-page .content-thin { padding: 22px 16px; } .tn .the-content { font-size: 17px; } .tn .the-content h2 { font-size: 24px; }
	.tn .the-content table { display: block; overflow-x: auto; white-space: nowrap; }
	.tn-banda { height: 92px; } .tn-bsvg { opacity: .35; width: 100%; }
	.tn .site-header-content { position: relative; padding-right: 64px; }
	.tn #nav-icon { position: absolute !important; top: 9px !important; right: 12px !important; left: auto !important; bottom: auto !important; width: 46px; height: 46px; border-radius: 8px; background: var(--rojo); display: block; }
	.tn .circle.nav-icon, .tn #nav-icon .circle { background: transparent !important; border: 0 !important; box-shadow: none !important; width: 100% !important; height: 100% !important; }
	.tn #nav-icon .line { background: #fff !important; }
}
@media (max-width: 800px) {
	.tn #menu, .tn #menu ul, .tn #menu ul li { background: var(--tinta) !important; } .tn #menu ul li a { color: #fff !important; font-size: 18px; padding: 12px 18px !important; border-left: 4px solid var(--c); margin: 2px 0; }
	.tn #menu ul li a::after { display: none; }
	.tn #menu ul li.tn-m-cta a { border-left: 0; margin: 12px 18px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
	.tn-pita .sq, .tn-pita .trz, .tn-pita .ang, .tn-pita .lt, .tn-pita .fm, .tn-pita .fm2, .tn-hero-viz, .tn-sub-h1::after, .tn-banda::after, .tn-bsvg .cur, .tn-migas > *, .tn-w, .tn-calc-dib .t { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; transform: none !important; }
	.tn-fig .fl { stroke-dashoffset: 0; } .tn-fig .fa, .tn-fig .fp { opacity: 1; transform: none; }
	html.tn-js .tn-rev { opacity: 1; translate: none; } .tn-bsvg .pto { display: none; }
}

/* 1.0.1: casillas legibles, dos soluciones y logotipo de texto */
.tn .tn-calc-g input { background: #0f1a2c !important; color: #fff !important; border: 1px solid rgba(255,255,255,.25) !important; box-shadow: none; -moz-appearance: textfield; }
.tn .tn-calc-g input::-webkit-outer-spin-button, .tn .tn-calc-g input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tn .tn-calc-g input.dato { border-color: var(--mostaza) !important; } .tn .tn-calc-g input.res { color: var(--mostaza) !important; }
.tn-calc-dib { flex-direction: column; gap: 8px; padding: 10px; overflow: hidden; }
.tn-calc-dib svg { overflow: hidden; }
.tn-calc-dib svg + svg { border-top: 1px dashed var(--linea); padding-top: 8px; }
.tn-calc-dib:has(svg + svg) svg { max-height: 170px; }
.tn-logo { font-family: var(--fs); font-size: 27px; font-weight: 700; color: #fff; letter-spacing: -.01em; line-height: 1; display: inline-flex; align-items: baseline; transition: font-size .3s; white-space: nowrap; }
.tn-logo b { font-style: italic; color: var(--mostaza); font-weight: 700; margin-right: 1px; } .tn-logo i { font-style: normal; color: var(--rojo); font-size: .7em; }
.tn .site-logo a, .tn a.custom-logo-link { text-decoration: none; display: inline-flex; align-items: center; min-height: 52px; }
body.tn.tn-scr .tn-logo { font-size: 23px; }

.tn .related-posts, .tn .asap-author { display: none !important; }

/* 1.0.2 */
.tn .content-thin h1, .tn main.content-loop > h1, .tn .content-page h1, .tn .the-content h2, .tn .the-content h3, .tn-sigue h2 { font-family: var(--fs) !important; }
.tn .comment-respond.others-items { display: none !important; }
.tn .tn-act { font-size: 14px; color: var(--suave); margin: 0 0 14px; font-style: italic; }
