
/* Estilos generales */
* {
	
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
	
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Estilos para el título */
.main article .titulo {
  font-family: tahoma, Arial, sans-serif;
  font-size: 40px;
  text-align: center;
}

@font-face {
  font-family: 'Source Sans Pro';
  src: url('SourceSansPro.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

.main article {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 35px;
  text-align: center;
  background: #f1f1f1;
}

p {
  color: black; /* Color de texto en negro para todos los párrafos */
  font-family: tahoma, Arial, sans-serif;
}


.contenedor2 {
  background: #fff;
  width: 90%;
  margin: auto;
  display: flex;
  flex-flow: row wrap;
}

header {
  background: #fff;
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .logo img {
  width: 150px;
}

/* Estilos para la sección principal */
.main {
  background: #fff;
  padding: 20px;
  flex: 1 1 70%;
}

.main article {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #000;
}

.main article:nth-last-child(1) {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Estilos para el pie de página */
footer {
  width: 100%;
  background-color: #595959;
  color: #fff;
  padding: 10px 0;
  text-align: center;
}

.container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.footer-section {
  width: 100%;
  flex: 1;
  padding: 20px;
  text-align: left;
}

.footer-section h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #fff;
}

.footer-section p {
  font-size: 16px;
  line-height: 1.5;
  color: #ccc;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-top: 10px;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-bottom {
  background-color: #444;
  padding: 10px 0;
  text-align: center;
  font-size: 12px;
  color: #ccc;
}

.footer-section.logo {
  text-align: center;
}

.footer-section.social {
  text-align: center; /* Centrar los logotipos horizontalmente */
}

.footer-section.social img {
  width: 30px; /* Tamaño */
  margin: 0 10px; /* Espacio entre los logotipos */
  display: inline-block; /* Hace que los logotipos estén en línea */
}



/*--------------------------------------------------------*/
/* SOCIAL BUTTONS */
/*--------------------------------------------------------*/
.social-container {
    width: 400px;
    margin: 4vh auto;
    text-align: center;
	
}

.social-icons {
    margin-left: -10px; 
}

.social-icons i {
    padding: 0;
    list-style: none;
}

.social-icons li {
    display: inline-block;
    margin: 0.10em;
    position: relative;
    font-size: 1.3em;
}

.social-icons i {
    color: #fff;
    position: absolute;
    top: 21px;
    left: 21px;
    transition: all 256ms ease-out;
}

.social-icons a {
    display: inline-block;
}

.social-icons a:before {
    transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    content: " ";
    width: 60px;
    height: 60px;
    border-radius: 100%;
    display: block;
    background: linear-gradient(45deg, #f0655b, #706b6c);
    transition: all 265ms ease-out;
}

.social-icons a:hover:before {
    transform: scale(0);
    transition: all 265ms ease-in;
}

.social-icons a.social-square:hover i {
    transform: scale(1.6);
    -ms-transform: scale(1.6);
    -webkit-transform: scale(1.6);
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.social-icons a:hover i {
    transform: scale(2.2);
    -ms-transform: scale(2.2);
    -webkit-transform: scale(2.2);
    color: #f5f5f5;
    background: -webkit-linear-gradient(45deg, #f0655b, #706b6c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 265ms ease-in;
}

.social-icons a.social-square:hover:before {
    transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
    border-radius: 100%;
}


a{
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.95;
}

a:hover{
  opacity: 1;
  color: black;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.autos-section {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.autos-title {
    max-width: 1000px;
    margin: 0 auto;
}

.autos-title h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.autos-title p {
    font-size: 0.8em;
}

.imagen-section {
    text-align: center;
    margin-top: 20px;
}

.imagen-section img {
    max-width: 100%;
    height: auto;
}

.texto-section {
    max-width: 800px;
    margin: 20px auto;
    text-align: justify;
}

/* BOTON */

button{
  display: flex;
  align-self: center;
  justify-content: space-between;
  gap: .5rem;
  padding: 1rem  2.5rem;
  border: none;
  border-radius: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  overflow: hidden;
  margin: 20px auto;

  & span{
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  & .icon{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: .5rem;
    // background-color: #f0655b;
    z-index: 3;

    & svg{
      fill: #000;
    }
  } 

  & .overlay{
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #f0655b;
    z-index: 1;
    clip-path: circle(12% at 79% 49%);
    transition: all .5s ease-in;
  }
  
  &:hover{
    cursor: pointer;

    & .overlay{
      clip-path: circle(120% at 76% 49%);
     }
  }
}


.related-post-container {
	max-width: 800px;
	margin: 0 auto;
}

.related-post img{
	width: 100%;
	height: 160px;
	object-fit: cover;
	
}

.related-post-title{
	color: #222;
	margin-bottom: 40px;
	font-size:24px;
}

.related-posts-title::after{
	content: "";
	position: absolute;
	height:2px;
	width: 100px;
	background: red;
	left: 0;
	bottom: -10px;

	
}

.related-posts{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 30px;
	margin-bottom: 40px;

}

.related-post{
	border-radius: 10px; /* Ajusta el valor según tus preferencias */
    overflow: hidden; 
	box-shadow: 0 4px 12px -2px rgba(0,0,0,0.2);
	transition: 500ms ease;
	
}

}

.related-post:hover{
	transform: scale(1.01);
	box-shadow: 0 4px 12px -4px rgba(0,0,0,0.2);
	
}

.related-post. post-title{
	text-decoration: none;
	color: #222;
	font-size: 20px;
	padding: 18px;
	display: inline-block;
	line-height: 1.6;
	font-weight: bold;
}

@media (max-width: 640px){
	.related-post{
		grid-template-columns: 1fr;
	}
	
	.related-post-container{
		max-width: 400px;
	}
}


/* Media query para dispositivos móviles */
@media screen and (max-width: 768px) {
  .texto-section {
    margin: 30px; /* Reduce el margen general para dispositivos móviles */
  }

  .texto-section p {
    margin-bottom: 10px; /* Reduce el margen inferior para párrafos */
  }

  .texto-section ul {
    padding-left: 15px; /* Reduce el relleno a la izquierda para la lista desordenada */
  }

  .texto-section li {
    margin-bottom: 6px; /* Reduce el margen inferior para elementos de la lista */
  }
}


