:root {
  --primary-color: #4a2081;
  --primary-color-light: #f3f3f3;
}
.mainFlc {
  display: flex;
  flex-direction: row;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 65vh;
}
.app-content {
  width: 80%;
}
.app-ads {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  width: 20%;
  padding: 1rem 0;
}
.headerContainer {
  background-color: var(--primary-color);
}

.headerFlc {
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  max-width: 1200px;
  background-color: var(--primary-color);
}
.logo {
  width: 130px;
  cursor: pointer;
}
.headerFlc h1 {
  font-weight: bold;
  font-size: 1.8rem;
  color: var(--primary-color-light);
}
.weather {
  font-size: 1.5rem;
}
.categoriasFlc {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.categoriasFlc p {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color-light);
}

.categoriasFlc p:hover {
  cursor: pointer;
}

.weather-info {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.footerContainer {
  background-color: var(--primary-color);
}
.footerContent {
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  max-width: 1200px;
  background-color: var(--primary-color);
  color: var(--primary-color-light);
}

.footerContainer {
  background-color: var(--primary-color);
  color: var(--primary-color-light);
  padding: 40px 20px;
  font-family: "Source Sans 3", sans-serif;
}

.footerContent {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 1.2rem;
}

.footerColumn {
  flex: 1;
  min-width: 250px;
  margin: 10px;
}

.footerColumn h5 {
  margin-bottom: 10px;
  color: var(--primary-color-light);
  font-weight: 700;
  font-size: 1.2rem;
}

.footerColumn p {
  margin: 5px 0;
}

.footerColumn a {
  color: var(--primary-color-light);
  text-decoration: none;
  transition: opacity 0.3s;
}

.footerColumn a:hover {
  opacity: 0.8;
}

.footerDivider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 20px auto;
  max-width: 1100px;
}

.footerBottom {
  text-align: center;
  font-size: 0.9rem;
  color: var(--primary-color-light);
}

.footerBottom a {
  color: var(--primary-color-light);
  text-decoration: underline;
}

.news-title {
  font-size: 2rem;
  font-weight: bold;
}

.news-article {
  padding: 1rem 1rem;
}

.news-body {
  font-size: 1.3rem;
}

.news-body a {
  color: var(--primary-color);
  font-weight: bold;
}

.news-thumbnail {
  width: 100%;
  height: auto;
  padding: 0.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  text-align: center;
  margin: auto;
  border: 1px solid var(--primary-color);
}

.news-index-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 1rem;
}

.news-index-card {
  flex: 1 1 calc(50% - 1.5rem);
  max-width: calc(50% - 1.5rem);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-index-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.news-index-thumb {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.news-index-content {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.news-index-category {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.news-index-title {
  font-size: 1.1rem;
  color: #222;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.news-index-date {
  font-size: 0.85rem;
  color: #777;
}

@media (max-width: 768px) {
  .news-index-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .news-index-thumb {
    height: 200px;
  }
  .new-category-dynamic {
    display: none;
  }
  .logo {
    width: 70px;
  }
  .categoriasFlc p {
    font-size: 1rem;
  }
  .weather {
    font-size: 1rem;
  }
}

.social-icons {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon.instagram {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.social-icon.x {
  background: black;
}

.social-icon.facebook {
  background: #1877f2;
}

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
  .social-icons {
    left: 10px;
    gap: 10px;
  }
  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
.banner {
  padding: 1rem 0;
}
.banner img {
  border-radius: 16px;
}

@media (max-width: 768px) {
  .mainFlc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .app-ads {
    width: 100%;
  }
}
