/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #f9f9f9;
}

a {
  color: #0056b3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

/* Blog Header */
.blog-header {
  background: linear-gradient(to right, rgb(18, 54, 78), rgb(23, 69, 100), rgb(28, 84, 122));

  
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
  border-bottom: 4px solid  rgb(32, 169, 158);

  margin-top: 50px;
}

.blog-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.blog-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Blog Layout */
.blog-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

/* Posts */
.blog-posts .post {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s ease;
}

.blog-posts .post:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post img {
  width: 100%;
  height: 350px;
  display: block;
}

.post-content {
  padding: 1.2rem;
}

.post-content h2 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: #0a2540;
}

.post-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.btn-read {
  display: inline-block;
  padding: 0.6rem 1rem;
  background-color: #0077cc;
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-read:hover {
  background-color: #005fa3;
}

/* Sidebar */
.sidebar .widget {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 2rem;
}

.sidebar .widget h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #0a2540;
  border-bottom: 2px solid #00bfff;
  padding-bottom: 0.3rem;
}

.sidebar .widget form {
  display: flex;
}

.sidebar .widget input[type="text"] {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.sidebar .widget button {
  padding: 0.5rem 0.8rem;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  margin-bottom: 0.8rem;
}

.sidebar ul li a {
  color: #333;
}

.sidebar ul li a:hover {
  color: #0077cc;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
}




.blog-header {
  background: linear-gradient(to right, rgb(23, 69, 100), rgb(10, 35, 50));
  color: white;
  padding: 40px 20px;
  text-align: center;
}


.breadcrumb-container {
  padding: 50px;
  margin: 200px auto;
  max-width: 380px; /* o lo mismo que .blog-article para alinearlo */
  background: none !important;
  background-color: transparent !important;
  box-shadow: none;
  border: none;
}

.breadcrumb-container2 {
  padding: 50px;
  margin: 200px auto;
  max-width: 450px; /* o lo mismo que .blog-article para alinearlo */
  background: none !important;
  background-color: transparent !important;
  box-shadow: none;
  border: none;
}
.breadcrumb {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.breadcrumb li {
  margin-right: 8px;
  color: #464646;
  text-shadow:
  0 0 1px #fff;
}

.breadcrumb li::after {
  content: ">";
  margin-left: 8px;
  color: #aaa;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  text-decoration: none;
  color: #176594;
  text-shadow:
  
    0 0 1px #fff;
}

.breadcrumb a:hover {
  text-decoration: underline;
}



.blog-article {
  max-width: 800px;
  margin-bottom: 50px;
}

.article-image {
  width: 100%;
  border-radius: 8px;
  margin: 20px 0;
}

.tags a {
  background: #e3f2fd;
  color: #0a2540;
  padding: 5px 10px;
  border-radius: 4px;
  margin-right: 5px;
  text-decoration: none;
  font-size: 14px;
}


.sidebar {
  position: sticky;
  top: 200px; /* Aumentado para evitar que el header lo tape */
  align-self: start;
  background: #fff;
  padding: 1rem;
  z-index: 1;
  transition: box-shadow 0.3s ease;
}


.img-centro-reducida {
  display: block;
  margin: 30px auto; /* centra la imagen */
  max-width: 60%; /* reduce su tamaño */
  height: auto;
  border-radius: 8px; /* opcional: esquinas redondeadas */
}

.img-fluid {

 
    max-width: 800px;   /* Limita el ancho máximo en escritorio */
    width: 100%;        /* Ocupa todo el ancho del contenedor en pantallas pequeñas */
    height: auto;
    display: block;
    margin: 0 auto 30px auto;  /* Centrado + espacio inferior */
  
  

}
