/* JuriVerso · Sistema de color editorial inspirado en la alternancia de «Nosotros».
   Se aplica SOLO a las rutas interiores: Inicio mantiene intacto su diseño. */
body.jv-content-theme{
  --canvas:#fff7ed;
  --paper:#fffdf8;
  --ink:#21332e;
  --muted:#597066;
  --line:#e9d8be;
  background:#fff7ed;
  color:#22342e;
}
body.jv-content-theme .main{background:linear-gradient(180deg,#fff7ed 0%,#fff9f2 58%,#f5f8ef 100%)}
body.jv-content-theme .topbar{background:#fff7ed}
body.jv-content-theme .crumb{color:#766d61}
body.jv-content-theme .crumb b{color:#253b31}
body.jv-content-theme .top-mode{background:#e1f3e4;color:#2b6649;border:1px solid #b2d8bf}
body.jv-content-theme .country{background:#fffdf7;border-color:#e9d9c0;color:#244536}
body.jv-content-theme .main-content{padding-bottom:80px}

/* Portadas: naranja, lima suave y menta alternan como en una revista educativa. */
body.jv-content-theme .jm-page{color:#263b33;--jm-ink:#263b33;--jm-muted:#58736a;--jm-border:#c7dccb}
body.jv-content-theme .jm-page h1,
body.jv-content-theme .jm-page h2,
body.jv-content-theme .jm-page h3{color:#24352e}
body.jv-content-theme .jm-page .jm-hero{
  background:radial-gradient(circle at 76% 8%,#ffeab5a0 0,transparent 40%),linear-gradient(120deg,#ffbb69,#ffd89a 90%);
  border:1px solid #f3c681;
  box-shadow:0 16px 40px #b9874120;
  min-height:305px;
  border-radius:29px;
}
body.jv-content-theme .jm-page .jm-hero::before{opacity:.37;background-image:radial-gradient(#fff7e9 2px,transparent 3px),radial-gradient(#61997644 2px,transparent 3px)}
body.jv-content-theme .jm-page .jm-hero::after{content:'';position:absolute;pointer-events:none;left:0;bottom:-2px;width:100%;height:27px;background:#fff9f2;clip-path:polygon(0 54%,12% 32%,25% 75%,39% 34%,54% 69%,71% 39%,85% 66%,100% 26%,100% 100%,0 100%)}
body.jv-content-theme .jm-page .jm-hero h1{color:#202d2b;max-width:740px}
body.jv-content-theme .jm-page .jm-hero h1 em{color:#2a684e!important}
body.jv-content-theme .jm-page .jm-hero p{color:#4f5746;max-width:680px;font-size:15px}
body.jv-content-theme .jm-page .jm-hero .jm-overline{color:#84521f}
body.jv-content-theme .jm-page .jm-hero .jm-overline::before{color:#2b694d}
body.jv-content-theme .jm-page .jm-mascot{color:#2a4c37}
body.jv-content-theme .jm-page .jm-mascot small{background:#fff7e9;color:#315c45;border-color:#8dbb9b}
body.jv-content-theme[data-jv-area="jurisprudencia"] .jm-page .jm-hero,
body.jv-content-theme[data-jv-area="casos"] .jm-page .jm-hero,
body.jv-content-theme[data-jv-area="simulacros"] .jm-page .jm-hero{
  background:radial-gradient(circle at 83% 12%,#fbf1b5 0,transparent 42%),linear-gradient(120deg,#c7eace,#e9f6dc 95%);
  border-color:#a9d2b5;
}
body.jv-content-theme[data-jv-area="noticias"] .jm-page .jm-hero{
  background:radial-gradient(circle at 81% 7%,#ffd18f,transparent 43%),linear-gradient(117deg,#ffe0b9,#fff0d5 95%);
  border-color:#edc99b;
}
body.jv-content-theme[data-jv-area="lecciones"] .jm-page .jm-hero{
  background:radial-gradient(circle at 83% 12%,#fae4a6,transparent 41%),linear-gradient(112deg,#ffe4cb,#e8f3df);
  border-color:#e9d7b6;
}

/* Los títulos de cada colección descansan sobre una banda cálida y legible. */
body.jv-content-theme .jm-page .jm-header{
  background:linear-gradient(108deg,#fffdf7,#e7f5e9);
  border:1px solid #e4e6d3;
  padding:26px 29px;
  border-radius:22px;
  margin-top:24px;
  margin-bottom:16px;
}
body.jv-content-theme .jm-page .jm-header h2{color:#23362d}
body.jv-content-theme .jm-page .jm-header .jm-overline{color:#995b25}
body.jv-content-theme .jm-page .jm-header h2 em{color:#bc672e}
body.jv-content-theme .jm-page .jm-header p{color:#566b60}
body.jv-content-theme .jm-page .jm-overline{color:#2f7855}
body.jv-content-theme .jm-page .jm-chip{background:#fffdf7;border-color:#d4d9c8;color:#3d5b50;box-shadow:0 3px 0 #b7c6b124}
body.jv-content-theme .jm-page .jm-chip:hover{background:#e1f0e3;border-color:#82af95}
body.jv-content-theme .jm-page .jm-chip.active{background:#254938;border-color:#254938;color:#fff;box-shadow:0 6px 15px #1d60452b}
body.jv-content-theme .jm-page .jm-search{background:#fffdf8;border-color:#c4d6c6;color:#3a6c50;box-shadow:0 8px 21px #53745e12}
body.jv-content-theme .jm-page .jm-search input{color:#23392f}
body.jv-content-theme .jm-page .jm-search input::placeholder{color:#687d72}

/* Tarjetas de exploración: naranja, menta, lavanda y coral pastel. */
body.jv-content-theme .jm-page .jm-cards{
  background:linear-gradient(117deg,#e6f4e9,#fff7ed 72%);
  border:1px solid #d8e5d5;
  padding:17px;
  border-radius:26px;
  gap:13px;
}
body.jv-content-theme .jm-page .jm-card,
body.jv-content-theme .jm-page .jm-cards>:nth-child(n)>.jm-card{
  background:linear-gradient(148deg,#fff0da,#ffdfbd);
  border-color:#eac69d;
  color:#28392f;
  box-shadow:0 7px 20px #345b3510;
}
body.jv-content-theme .jm-page .jm-cards>:nth-child(4n+2).jm-card,
body.jv-content-theme .jm-page .jm-cards>:nth-child(4n+2)>.jm-card{
  background:linear-gradient(146deg,#d8efdf,#bde2ce);
  border-color:#9ccdb0;
}
body.jv-content-theme .jm-page .jm-cards>:nth-child(4n+3).jm-card,
body.jv-content-theme .jm-page .jm-cards>:nth-child(4n+3)>.jm-card{
  background:linear-gradient(146deg,#f0e8fc,#e6dbf5);
  border-color:#cfc0e3;
}
body.jv-content-theme .jm-page .jm-cards>:nth-child(4n).jm-card,
body.jv-content-theme .jm-page .jm-cards>:nth-child(4n)>.jm-card{
  --tone:#c65b64;
  background:linear-gradient(145deg,#ffe0e1,#ffc4c8);
  border-color:#e6a0a7;
  color:#5b2c33;
}
body.jv-content-theme .jm-page .jm-card h3{color:#27392f}
body.jv-content-theme .jm-page .jm-card p{color:#54655e}
body.jv-content-theme .jm-page .jm-card .jm-tiny{color:#8a532c}
body.jv-content-theme .jm-page .jm-card .jm-card-action{color:#2d6c4c}
body.jv-content-theme .jm-page .jm-card .jm-symbol{background:#ffffff91;border-color:#8cba95;color:#31583f}
body.jv-content-theme .jm-page .jm-cards>:nth-child(4n).jm-card h3,
body.jv-content-theme .jm-page .jm-cards>:nth-child(4n)>.jm-card h3{color:#5b2c33}
body.jv-content-theme .jm-page .jm-cards>:nth-child(4n).jm-card p,
body.jv-content-theme .jm-page .jm-cards>:nth-child(4n)>.jm-card p{color:#74434a}
body.jv-content-theme .jm-page .jm-cards>:nth-child(4n).jm-card .jm-tiny,
body.jv-content-theme .jm-page .jm-cards>:nth-child(4n)>.jm-card .jm-tiny{color:#8b3540}
body.jv-content-theme .jm-page .jm-cards>:nth-child(4n).jm-card .jm-card-action,
body.jv-content-theme .jm-page .jm-cards>:nth-child(4n)>.jm-card .jm-card-action{color:#8b3540}
body.jv-content-theme .jm-page .jm-cards>:nth-child(4n).jm-card .jm-symbol,
body.jv-content-theme .jm-page .jm-cards>:nth-child(4n)>.jm-card .jm-symbol{background:#fff3f2;border-color:#d98a94;color:#963d49}
body.jv-content-theme .jm-page .jm-highlight{background:linear-gradient(110deg,#d4ebd9,#eef8e9);border-color:#aad1b5;box-shadow:0 7px 20px #305c4310}
body.jv-content-theme .jm-page .jm-highlight strong{color:#284e3a}
body.jv-content-theme .jm-page .jm-highlight p{color:#51695b}
body.jv-content-theme .jm-page .jm-result-note{color:#5a7467}

/* Lectura de normas, jurisprudencia, artículos y ejercicios: papel luminoso. */
body.jv-content-theme .jm-page .jm-paper{
  background:linear-gradient(155deg,#fffdf7,#fff3e2);
  border-color:#eadac1;
  color:#283b31;
  box-shadow:0 9px 27px #745c3710;
}
body.jv-content-theme .jm-page .jm-paper h2,
body.jv-content-theme .jm-page .jm-paper h3{color:#263b32}
body.jv-content-theme .jm-page .jm-paper p,
body.jv-content-theme .jm-page .jm-paper p strong{color:#4c6458}
body.jv-content-theme .jm-page .jm-paper .jm-article-lead{color:#364d41!important}
body.jv-content-theme .jm-page .jm-article-list{color:#445b50}
body.jv-content-theme .jm-page .jm-inline-ref{color:#934e21;border-color:#e4ba82;background:#ffead0}
body.jv-content-theme .jm-page .jm-back{background:#273b34;color:#ebfff1;border-color:#426c54}
body.jv-content-theme .jm-page .jm-aside{background:#d9f0df;border-color:#acd1b8;color:#284638}
body.jv-content-theme .jm-page .jm-aside h3{color:#254b39}
body.jv-content-theme .jm-page .jm-aside .jm-mascot{color:#2e614b}
body.jv-content-theme .jm-page .jm-linklist a,
body.jv-content-theme .jm-page .jm-linklist button{background:#fffdf5;color:#314f3c;border-color:#b8d5bd}
body.jv-content-theme .jm-page .jm-linklist a:hover,
body.jv-content-theme .jm-page .jm-linklist button:hover{background:#fff0d9;border-color:#e8af6c;color:#884c2d}
body.jv-content-theme .jm-page .jm-topic-step{background:#e2f1e5;color:#315744}
body.jv-content-theme .jm-page .jm-topic-step:nth-of-type(2n){background:#ffebd3}
body.jv-content-theme .jm-page .jm-topic-step b{background:#2f684c;color:#fff}
body.jv-content-theme .jm-page .jm-choice{background:#fffdf9;color:#315046;border-color:#bfd8c5}
body.jv-content-theme .jm-page .jm-choice:hover:not(:disabled){background:#e6f3e7;border-color:#6ba783}
body.jv-content-theme .jm-page .jm-choice.correct{background:#d1ebd7;color:#234b35;border-color:#6bb58a}
body.jv-content-theme .jm-page .jm-choice.wrong{background:#ffe0df;color:#713b42;border-color:#d98995}
body.jv-content-theme .jm-page .jm-callout{background:#e1f4e4;color:#2e5943;border-color:#a9d7b2}
body.jv-content-theme .jm-page .jm-callout.wrong{background:#ffe6e3;color:#713d3e;border-color:#d9a1a2}
body.jv-content-theme .jm-page .jm-article-disclaimer{background:#fff0d9;border-color:#efcea5;color:#815734}
body.jv-content-theme .jm-page .jm-step{background:#e4f3e8;border-color:#bad9c3}
body.jv-content-theme .jm-page .jm-step:nth-child(2n){background:#ffead0;border-color:#e7cda8}
body.jv-content-theme .jm-page .jm-step h3{color:#254b35}
body.jv-content-theme .jm-page .jm-step p{color:#566c5f}
body.jv-content-theme .jm-page .jm-step b{color:#a15b25}

/* Noticias: portada oscura como acento, lecturas y enlaces sobre fondos claros. */
body.jv-content-theme .jm-page .jm-news-bar{background:#dcefe1;padding:15px 18px;border:1px solid #bed8c3;border-radius:14px}
body.jv-content-theme .jm-page .jm-news-bar strong{color:#255a43}
body.jv-content-theme .jm-page .jm-news-bar span{color:#5b7365}
body.jv-content-theme .jm-page .jm-story-feature{background:#202d30;border-color:#385a4b;box-shadow:0 12px 29px #27463626}
body.jv-content-theme .jm-page .jm-story-feature .jm-story-body{background:radial-gradient(circle at 98% 0%,#49614766,transparent 58%),#203035}
body.jv-content-theme .jm-page .jm-story-feature h2{color:#fff9ee}
body.jv-content-theme .jm-page .jm-story-feature p{color:#d6e3d9}
body.jv-content-theme .jm-page .jm-story-feature .jm-story-tag{color:#ffcc87}
body.jv-content-theme .jm-page .jm-story-card{background:#fff2dc;border-color:#e7cba4;color:#294034}
body.jv-content-theme .jm-page .jm-story-card:nth-child(3n+2){background:#e0f2e5;border-color:#a9d1b5}
body.jv-content-theme .jm-page .jm-story-card:nth-child(3n){background:#eee6fb;border-color:#cfc0e7}
body.jv-content-theme .jm-page .jm-story-card h3{color:#263a31}
body.jv-content-theme .jm-page .jm-story-card p{color:#5c6c61}
body.jv-content-theme .jm-page .jm-story-card .jm-story-tag{color:#9d5c2b}
body.jv-content-theme .jm-page .jm-story-card a{color:#276647}
body.jv-content-theme .jm-page .jm-story-card .jm-story-glyph{background:#ffffffa3;border-color:#8bc6a3}
body.jv-content-theme .jm-page .jm-news-bar+.jm-story-feature{margin-top:15px}
body.jv-content-theme .jm-page .jm-exam-timer{background:#fff0d7;color:#a85c25;border-color:#e5a65c}
body.jv-content-theme .jm-page .jm-progress{background:#d5dfd4}
body.jv-content-theme .jm-page .jm-score p{color:#577164}

/* Aprende Derecho: de un bloque verde luminoso a las tarjetas de ejercicios. */
body.jv-content-theme .academy{color:#25372e}
body.jv-content-theme .academy .arc-hero{
  background:radial-gradient(circle at 86% 23%,#ffdc99aa,transparent 40%),linear-gradient(115deg,#d8f0dd,#fff0d5);
  border-color:#b6d5b6;
  box-shadow:0 17px 35px #53755219;
}
body.jv-content-theme .academy .arc-hero .eyebrow{color:#8e5b28}
body.jv-content-theme .academy .arc-hero .arc-h1{color:#24362d}
body.jv-content-theme .academy .arc-hero .arc-h1 em{color:#ad612b}
body.jv-content-theme .academy .arc-hero .arc-sub{color:#4c675a}
body.jv-content-theme .academy .arc-toolbar h2,
body.jv-content-theme .academy .arc-heading h2{color:#2d4937}
body.jv-content-theme .academy .arc-heading p{color:#60796a}
body.jv-content-theme .academy .arc-chip{background:#fffdf8;color:#345340;border-color:#c9dac5}
body.jv-content-theme .academy .arc-chip.active{background:#295c42;border-color:#295c42;color:white;box-shadow:0 8px 17px #285f4730}
body.jv-content-theme .academy .arc-mode-grid{padding:18px;border-radius:25px;background:#e3f2e5;border:1px solid #c0ddc7}
body.jv-content-theme .academy .arc-note{background:#ffedcf;border-color:#eac793}
body.jv-content-theme .academy .arc-note strong{color:#875329}
body.jv-content-theme .academy .arc-note span{color:#5a675d}
body.jv-content-theme .academy .arc-note button{color:#2c6045;border-color:#7fae91;background:#fff9ed}
body.jv-content-theme .academy .arc-crumb-btn{background:#254739;color:#eafff0;border-color:#4e8062}
body.jv-content-theme .academy .arc-stage{border-color:#7a9183;box-shadow:0 16px 34px #3e5f472b}
body.jv-content-theme .academy .arc-games-hero{background:linear-gradient(116deg,#ffdfaf,#e6f4dc);border-color:#e8cda2;box-shadow:0 13px 32px #b2844720}
body.jv-content-theme .academy .arc-games-hero .eyebrow{color:#9a5c2b}
body.jv-content-theme .academy .arc-games-hero h1{color:#25372e}
body.jv-content-theme .academy .arc-games-hero h1 em{color:#2b6b4d}
body.jv-content-theme .academy .arc-games-hero .arc-sub{color:#586c5b}
body.jv-content-theme .academy .arc-game-grid{padding:15px;border-radius:25px;background:#ebf3e6;border:1px solid #d2e2c9}
body.jv-content-theme .academy .arc-game-card{background:linear-gradient(125deg,#fff0da,#ffe0bc);border-color:#eecb9c;color:#253b2e}
body.jv-content-theme .academy .arc-game-card:nth-child(2){background:linear-gradient(125deg,#d7efdc,#b8dfc7);border-color:#9ecab0}
body.jv-content-theme .academy .arc-game-card:nth-child(3){background:linear-gradient(125deg,#eee4fc,#decdf4);border-color:#ccafe5}
body.jv-content-theme .academy .arc-game-card:nth-child(4){background:linear-gradient(125deg,#ffe0e1,#ffc4c8);border-color:#e6a0a7;color:#5b2c33}
body.jv-content-theme .academy .arc-game-card:nth-child(5){background:linear-gradient(125deg,#dcecff,#c6e2f3);border-color:#a5c6df}
body.jv-content-theme .academy .arc-game-card:nth-child(6){background:linear-gradient(125deg,#ffdfdc,#ffd1d9);border-color:#e7b4c2}
body.jv-content-theme .academy .arc-game-card h3{color:#253c31}
body.jv-content-theme .academy .arc-game-card p{color:#52685b}
body.jv-content-theme .academy .arc-game-card .arc-game-icon{background:#ffffffa1;border-color:#91b59a;color:#275b3e}
body.jv-content-theme .academy .arc-game-card .arc-game-launch{background:#263c32;border-color:#263c32;color:#fff}
body.jv-content-theme .academy .arc-game-card:nth-child(4) h3{color:#5b2c33}
body.jv-content-theme .academy .arc-game-card:nth-child(4) p{color:#74434a}
body.jv-content-theme .academy .arc-game-card:nth-child(4) .arc-game-icon{background:#fff3f2;color:#963d49;border-color:#d98a94}
body.jv-content-theme .academy .arc-game-card:nth-child(4) .arc-game-launch{background:#fff3f2;border-color:#d98a94;color:#8b3540}

/* Minijuicio combina el «patio» claro con un único panel de decisiones oscuro. */
body.jv-content-theme .jr-shell .jr-legal-note{background:#fffaf0;border-color:#ead6b2;color:#647364}
body.jv-content-theme .jr-shell .jr-legal-note a{color:#965a2e}
body.jv-content-theme .jr-shell .jr-map-caption{color:#506a59}
body.jv-content-theme .jr-shell .jr-trial-question{box-shadow:0 17px 39px #34483d22}

/* Biblioteca y buscador heredados: integrarlos al mismo sistema sin tocar Inicio. */
body.jv-content-theme .page-head,
body.jv-content-theme .paper-card{box-shadow:0 10px 28px #3e5f4215}
body.jv-content-theme .paper-card:nth-child(even){background:#e7f5e9;border-color:#c4dccc}
body.jv-content-theme .paper-card:nth-child(odd){background:#fff4e2;border-color:#e8d5b6}

@media(max-width:750px){
  body.jv-content-theme .jm-page .jm-hero{min-height:230px;padding:29px 24px}
  body.jv-content-theme .jm-page .jm-header{padding:22px}
  body.jv-content-theme .jm-page .jm-cards,
  body.jv-content-theme .academy .arc-game-grid,
  body.jv-content-theme .academy .arc-mode-grid{padding:11px}
}
@media(prefers-reduced-motion:reduce){
  body.jv-content-theme .jm-page *,body.jv-content-theme .academy *{transition:none!important}
}
