
.info .content-wrap {
  display: block;
}
.centrado {
  text-align: center;
  margin-top: 20px;
}

.info a:hover {
  text-decoration: underline;
}

.fp {
  color: #333;
}


h2, h3, h4, .fh2, .fh3, .fh4 {
  font-family: 'Space Grotesk', serif;
  color: var(--azul2);
}


.content-wrap {
  max-width: 75%;
  margin: 0 auto;
  text-align: left;
}

.line {
  margin-top: 40px;
}

ol li::marker {
  font-weight: 700;
  color: var(--azul);
}

b {
  font-weight: 700;
}


table {
    border-collapse: collapse;
    margin: 30px auto;
}

td, th {
    border: 1px solid #9addec;
    text-align: left;
    padding: 10px;
    font-size: 1rem;
    color: #095779;
}

.info a {
  color: var(--azul2);
}

article p, article li {
  letter-spacing: 0.04em;
}

.cuadro {
  padding: 20px 20px 10px; 
  margin: 30px 0;
}

.cuadro p {
    color: white;
}

.cuadro p:last-of-type {
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 5px;
}

.cuadro.fondo-naranjo a {
  color: var(--azul2);
}

.table {
  padding: 30px 10px 10px;
  margin: 30px 0; 
  border-radius: 10px; 
}

.table .fh2 {
  font-weight: 500;
  font-size: 24px;
}

.table ul, .table li {
  list-style-type: none; 
  margin: 10px 0;
  padding: 0;
}

.table ul li {
  background-color: white;
}
.table details li {
  padding: 10px 0;
  margin: 0;  
}

.table .intro {
  font-size: 16px;
  font-weight: 500;
  font-family: 'Space Grotesk', serif;
  padding: 10px 0;
  letter-spacing: 0.04em;
}

.bajada {
  font: var(--h3);
  text-align: justify;
  color: var(--gris);
}

details {
   padding-bottom: 10px;
  }
summary{
  font: var(--h3);
  font-family: 'Space Grotesk', serif;
  letter-spacing: 0.04em;
  cursor:pointer;
  padding:5px 0;
  color:var(--azul2);
  width:100%;
  border:0;
  text-align:left;
  outline:0;
  background:0;
  display:flex;
  justify-content:space-between;
  transition: margin 150ms ease-out;}

summary:after{
  font: var(--h3);
  content: "⮟";
  display: flex;
  align-items: center;
  margin-right: 10px;
  transition: rotate 200ms ease-out;
  margin-left:16px;
  color:transparent;
  text-shadow:0 0 0 var(--azul2);
}
details[open] summary::after{
  content:"⮝";
  color:transparent;
  text-shadow:0 0 0 var(--azul2);
}
details[open] summary {
  margin-bottom: 5px;
}


article .line {
  width: 100%;
  margin: 50px 0 50px;
}

article ol, article ul {
  padding-left: 0;
}

article ol li, article ul li {
  margin-bottom: 10px;
  margin-left: 20px;
}


article h3 {
  font-size: 24px;
}

article h2 {
  text-align: left;
  margin: 25px 0;
}

article p, article li {
  color: var(--azul);
  font: var(--small);
}

.info ul.list {
  position: sticky;
  list-style-type: none;
  top: 100px;
  align-self: flex-start;
  flex-grow: 1;
}

.fh2 {margin-bottom: 20px;}

.info article a {
  text-decoration: underline;
  font: var(--small);
  color: var(--naranjo);
  font-weight: 700;
}

.info .active {
  color: var(--naranjo);
}

.desktop {
  display: none;
}

/* SOCIAL */


.social {
  border-top: 1px solid var(--azul);
  border-bottom: 1px solid var(--azul);
  margin: 40px auto 20px;
  padding: 20px 0;
  text-align: center;
}

.social p {
margin: 0 0 20px;
  color: var(--naranjo)
}

.social a {
  margin: 0 5px;
}

/* PUBLICACIONES*/

.publicaciones {
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

.publicaciones .posts-item {
  text-align: left;
}

.publicaciones .posts-item p:first-of-type {
  font: var(--small);
  color: var(--gris);
  margin-bottom: 10px;
}

.publicaciones .fh3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0;
  color: var(--azul2);
}

  .posts-container { 
 position: relative; 
 margin: auto; 
 overflow: hidden; 
} 

.posts { 
 display: flex; 
 transition: transform 0.5s ease-in-out; 
} 

.posts-item { 
 max-height: 100%; 
 min-width: 60%;
 padding: 20px; 
 text-align: center;
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border: 1px solid #eee; 
 margin: 10px;
} 

.img-container {
  width: 250px;
  height: 180px; 
  overflow: hidden; 
}

.posts-item img { 
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.extracto {
  height: 80px;
  max-height: 80px;
  overflow: hidden;
  position: relative; 
  font: var(--smaller);
  color: var(--azul);
}

.publicaciones .boton {
  padding: 8px 10px;
  margin-top: 20px;
  display: block;
}

.prev-btn, .next-btn { 
  background-color: transparent;
  color: var(--azul);
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font: var(--h1);
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border: 1px solid #eee; 
 margin: 5px;
 margin-top: 20px;
} 

.prev-btn { 
 left: 10px; 
 display: inline-block;
} 

.next-btn { 
 right: 10px; 
  display: inline-block;
} 

.publicaciones .fondo-azul {
  background-color: var(--azul);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  display: inline-block;
  margin-top: 40px;
  display: block;
  margin: 20px auto 50px;
}

.publicaciones .line {
  margin-top: 0;
}


/* MEDIA QUERIES */

@media (min-width: 768px) { 

.hero h1.titulo {
  max-width: 500px;
}

.posts-container {
      max-width: 75%;
}


    .prev-btn {
    float: left;
    position: relative;
    left: 20px;
    top: -250px;
}

.next-btn {
    float: right;
    position: relative;
    right: 20px;
    top: -250px;

}

 .posts-item { 
 min-width: 40%; 
 } 

 .desktop {
  display: block;
 }

 .mobile {
  display: none;
 }


} 


@media screen and (min-width:1024px){

.info .content-wrap {
  flex-direction: row-reverse;
  margin-top: 40px;
}

.anterior { 
grid-row: 1/2;
}

.table {
  margin: 0 0 0 50px;
}
.table {
   position: sticky;
   list-style-type: none;
   width: 20rem;
   top: 90px; 
   align-self: flex-start; 
   flex-grow: 1; 
   padding: 20px 20px 300px;
  }
  summary {
    font-size: 16px;
  }

.table a, summary {
  color: var(--azul2);
}

.info {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='100,90 80,100 100,100 ' fill='%23303F4B'/%3E%3C/svg%3E");
}

details {
  padding: 0;
  margin-bottom: 30px;
}
.info .table {
  justify-self:self-end;
   flex: 1
  }
.info article { margin: 0 auto;
   flex: 2
  }
.info .content-wrap {display:
   flex;
  }
}