/* Reset básico */
*{
box-sizing:border-box;
margin:0;
padding:0;
}

/* cuerpo */
body{
    font-family:'Inter',sans-serif;
    background:#fefefe;
    margin:0;
    color:#2d3436;
	text-align:justify;
}

h2{
    font-size:28px;
    color:#0b6fa4;
    margin-bottom:10px;
    padding:5px;
	text-align: left;
}

.page{
	width:100%;
	margin:auto;
	padding:0 5px;
}

.header{
    text-align:center;
    margin-bottom:40px;
	width: 100%;
	max-width: 100vw;
}

.header h1{
    font-size:36px;
    color:#0b6fa4;
    margin-bottom:10px;
    padding:5px;
}

.subtitle{
    color:#636e72;
}

.layout{
    display:grid;
    grid-template-columns:2.5fr 1fr;
    gap:40px;
}

.content{
    background:white;
    padding:5px;
    border-radius:10px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
	width: 100%;
	max-width: 100vw;
}

.content h2{
    color:#0a4d74;
    margin-top:30px;
}

.content p{
    line-height:1.7;
}

ul{
    line-height:1.7;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bloque{
    margin-bottom:35px;
}

.ejemplo{
    background:#eef6ff;
    border-left:4px solid #0b6fa4;
    padding:20px;
    border-radius:6px;
}

.examen{
    background:#eef6ff;
    border-left:4px solid #4DB961;
    padding:20px;
    border-radius:6px;
}

.sidebar{
    position:sticky;
    top:100px;
    height:fit-content;
}

.card{
    background:white;
    padding:20px;
    border-radius:10px;
    margin-bottom:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

.card h3{
	text-align: center;
    margin-top:0;
	margin-bottom:15px;
}

.card ul{
    padding-left:18px;
}

.card li{
    margin-bottom:8px;
}

.footer{
    text-align:center;
    margin-top:50px;
    padding:20px;
    color:#636e72;
}

@media (max-width:900px){

body {
	padding: 0px;
}

h2{
    font-size:20px;
    color:#0b6fa4;
    margin-bottom:10px;
    padding:5px;
	text-align: left;
}
	
.header,
.content {
  width: 100%;
  max-width: 100%;
}

.section .field {
  flex: 1 1 100%;
  margin: 0.5rem 0;
}

.layout{
    grid-template-columns:1fr;
}

.sidebar{
    position:static;
}

html, body {
  overflow-x: hidden;
}

}

/* Secciones del lienzo */
.section {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  z-index: 1;
  text-align: left;
}

.section .field {
  flex: 1 1 calc(50% - 1rem);
  background: #f8f9fa;

  padding: 0rem 1rem 1rem 1rem;
  margin: 0.5rem;
  border-radius: 8px;
  border: 1px solid #e1e5eb;
  font-size: 0.9rem;
}

.section .field h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2c5364;
}

/* Hipervinculos */

a {
    color: #0b6fa4;
    text-decoration: none;
    font-weight: 500;
    padding: 2px 4px;
    border-radius: 4px;
    transition: all 0.25s ease;
}

a:hover {
    background: rgba(11,111,164,0.08);
    color: #084e73;
}

/* Imagen */

img {
	width: 100%;
	height: auto;
	filter: saturate(180%);
	pointer-events: auto;
} 

/* Pie de página */

footer{
  background:linear-gradient(90deg,#0d47a1,#1976d2,#42a5f5);
  color:#fff;
  padding:20px 10px;
}

.footer-container{
  max-width:1000px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* Links arriba en móvil */
.footer-links{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  justify-content:flex-start;
}

/* Redes debajo en móvil */
.footer-social{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  justify-content:flex-start;
}

.footer-links a,
.footer-social a{
  color:#fff;
  text-decoration:none;
  font-size:14px;
  transition:opacity .3s ease;
}

.footer-links a:hover,
.footer-social a:hover{
  opacity:0.8;
}

.footer-social a{
  font-size:18px;
}

.footer-copy{
  font-size:12px;
  margin-top:5px;
}

/* Escritorio */

@media (min-width:600px){

.footer-container{
  flex-direction:row;
  justify-content:space-between;
  align-items:center;
}

.footer-social{
  justify-content:flex-end;
}

}

.scrollable-content {
  width: 100%;
  height: 100%; 
  overflow: auto; 
  padding: 0px;
}

.mapa-aislado {
  position: relative;
  z-index: 0;
}

.mapa-aislado img {
  pointer-events: auto !important;
}

.mapa-aislado area {
  pointer-events: auto;
} 