html,
body,
h1,
h2,
h3,
h4,
h5 {
  font-family: "Open Sans", sans-serif;
}

/* Texto base general */
body,
html {
  font-size: 16px;
  line-height: 1.6;
  color: #000;
}

.menu {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}

h1 {
  font-size: 2.25rem; /* 36px */
  font-weight: bold;
}

h2 {
  font-size: 1.75rem; /* 28px */
  font-weight: bold;
}

h3 {
  font-size: 1.375rem; /* 22px */
  font-weight: 600;
}

h4 {
  font-size: 1.125rem; /* 18px */
  font-weight: 500;
}

h5 {
  font-size: 1rem; /* 16px */
  font-weight: 500;
}

h6 {
  font-size: 0.875rem; /* 14px */
  font-weight: 500;
}

p {
  font-size: 1rem; /* 16px */
  font-weight: normal;
  margin-bottom: 1rem;
}

.justificado {
  text-align: justify !important;
}
.tarjeta-noticia {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 8px;
  background-color: #fff;
  max-width: 300px;
  height: 400px;
  margin: 0 auto;
  margin-top: 1rem;
}

.tarjeta-noticia img {
  max-height: 180px;
  object-fit: cover;
  width: 100%;
  border-radius: 4px;
}

.tarjeta-noticia .contenido {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tarjeta-noticia p {
  font-size: 0.85rem;
  line-height: 1.2;
  max-height: 3.6em;
  /* menos líneas */
  padding-top: 0.3rem;
  padding-bottom: 3rem;
}

.tarjeta-noticia h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 6px;
  max-height: 2.6em;
  /* Limita a 2 líneas */
  overflow: hidden;
  text-overflow: ellipsis;
}

.tarjeta-noticia .fecha {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 8px;
}

.tarjeta-noticia .boton {
  margin-top: auto;
  text-align: center;
  display: inline-block;
  background-color: #53537a;
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
}

.tarjeta-noticia .boton:hover {
  background-color: #13133d;
}

.link-titulo {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
}

.link-titulo:hover {
  text-decoration: underline overline #393974;
}
hr {
  border: 0;
  border-top: 1px solid #c2b4b4;
  margin: 1rem 0 !important;
}

/* CSS Noticias */
.noticia-card {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 2rem;
}

.noticia-card__imagen {
  max-width: 350px;
  padding: 8px;
  border-top-left-radius: 50px;
}

.noticia-card__img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.noticia-card__contenido {
  padding: 10px;
  flex: 1;
}

.noticia-card__contenido a {
  text-decoration: none;
  color: #681b32;
  /* color base (puede ser el que uses en títulos) */
  transition: color 0.3s, text-decoration 0.3s;
  font-weight: bold;
}

.noticia-card__contenido a:hover {
  color: #64666a;
  /* o el color institucional que uses */
  text-decoration: underline;
  /* o cambia a none si no quieres subrayado */
}
