* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #faf3e3;
  font-family: Arial, Helvetica, sans-serif;
  color: #19110b;
  line-height: 1.6;
  overflow-x: hidden;
}

body.foro-page {
  background-color: #004331;
}

body.login-body {
  background-color: #004331 !important;
  background-image: url('../imagenes/2023-11-10-299-imagen.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  position: relative !important;
}

body.login-body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #004331;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

li {
  list-style: none;
}

header {
  background-color: #004331;
  color: #faf3e3;
  height: 80px;
  display: flex;
  align-items: center;
}

header .contenedora {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 0.8rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.header-logo a {
  text-decoration: none !important;
}

.dgpc-logo {
  height: 60px;
  width: auto;
}

#logo {
  width: 4rem;
  border-radius: 5px;
  padding: 0.1rem;
}

header nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
}

header nav a {
  background-image: url('../imagenes/botonnube.svg');
  background-size: 140% 140%;
  background-repeat: no-repeat;
  background-position: center;
  color: #004331;
  font-weight: bold;
  font-size: 0.5rem;
  text-align: center;
  padding: 1rem;
  border: none;
  text-decoration: none;
  min-width: 120px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.2;
}

h1, h2, h3, h4 {
  font-weight: bold;
}

h1 {
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  text-align: center;
  color: #faf3e3;
}

h2 {
  font-size: 1.4rem;
  margin: 1rem 0;
  padding: 0 1rem;
  text-align: center;
}

/* Forzar alineación a la izquierda en títulos y textos intro de noticias */
.noticias-ultimas .titulo-seccion,
.noticias-main .titulo-seccion,
.noticias-intro,
.noticias-intro p {
  text-align: left !important;
}

#noticias h2 {
  color: #f4f269;
  font-size: 1.6rem;
}

#mapainteractivo {
  padding: 2rem 0;
  background-color: #faf3e3;
  width: 100%;
  overflow-x: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  margin-top: 0;
  padding-top: 0.2rem !important;
}

.contenedor-mapa {
  display: grid;
  grid-template-columns: minmax(250px, 45%) 1fr;
  gap: 1rem;
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

.imagen-mapa {
  width: 100%;
  height: 100%;
  border: 2px solid #004331;
  border-radius: 8px;
  overflow: hidden;
  align-self: stretch;
}

.imagen-mapa img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contenido-mapa {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.5rem;
  padding: 0.5rem;
  box-sizing: border-box;
  align-content: start;
  height: 100%;
}

.contenido-mapa h2 {
  text-align: left;
  font-size: 1.6rem;
  color: #004331;
  margin: 0;
  padding: 0;
}

.contenido-mapa p {
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.4;
  color: #004331;
  margin: 0;
  padding: 0;
}

.contenido-mapa .reporta-btn {
  align-self: start;
  padding: 8px 15px;
  font-size: 1rem;
  margin-top: 0.5rem;
  width: fit-content;
  min-width: auto;
}

#noticias {
  padding: 1rem 0;
  background-color: #00833a;
}

.contenedor-noticias {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1000px;
  margin: auto;
  padding: 0 1rem;
}

.noticia {
  display: flex;
  flex-direction: column;
  background-color: transparent;
}

.imagen-noticia {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 10px;
}

.imagen-noticia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #004331;
}

.contenido-noticia h3 {
  color: #f4f269;
  font-size: 1.1rem;
  padding: 0.5rem 1rem 0;
}

.contenido-noticia p {
  color: #faf3e3;
  font-size: 0.9rem;
  padding: 0 1rem 1rem;
}

footer {
  background-color: #004331;
  color: #faf3e3;
  padding: 1rem;
  margin-top: -0.5rem;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
  margin-bottom: 1rem;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-dgpc-logo {
  height: 40px;
  width: auto;
}

.footer-nav {
  display: flex;
  align-items: center;
}

.footer-navigation ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.footer-navigation a {
  color: #faf3e3;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer-navigation a:hover {
  color: #f4f269;
}

.footer-text {
  color: #faf3e3;
  text-align: center;
  font-size: 0.9rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-navigation ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
  }
  .footer-navigation a {
    font-size: 0.65rem;
    padding: 0.3rem 0.5rem;
    min-width: unset;
  }
}

.reporta-btn {
  display: block;
  padding: 10px 20px;
  background-color:#349390;
  color:#faf3e3;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-transform: uppercase;
}

.reporta-btn:hover {
  background-color: #f4f269; 
  color: #00833a;
}

.menu-toggle {
  display: none;
}

.hamburger-menu {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.2rem;
  z-index: 1000;
  margin-left: auto;
}

.hamburger-menu .bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background-color: #faf3e3;
  transition: all 0.3s ease;
}

.menu-toggle:checked ~ .hamburger-menu .bar:nth-child(1) {
  transform: none;
}

.menu-toggle:checked ~ .hamburger-menu .bar:nth-child(2) {
  opacity: 1;
}

.menu-toggle:checked ~ .hamburger-menu .bar:nth-child(3) {
  transform: none;
}

.menu-toggle:checked ~ .hamburger-menu {
  opacity: 0;
  visibility: hidden;
}

.Menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: #004331;
  transition: right 0.3s ease;
  z-index: 999;
}

@media screen and (max-width: 768px) {
  .Menu {
    width: 65%;
    height: 70vh;
    right: -65%;
    border-bottom-left-radius: 20px;
  }
}

.menu-toggle:checked ~ .Menu {
  right: 0;
}

@media screen and (max-width: 768px) {
  .menu-toggle:checked ~ .Menu {
    right: 0;
  }
}

header nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 2rem;
  padding-top: 3.5rem;
}

header nav a {
  font-size: 1.2rem;
  padding: 1rem 2rem;
}

.close-menu {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: #faf3e3;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 67, 49, 0.8);
  transition: background-color 0.3s ease;
}

.close-menu:hover {
  background-color: rgba(0, 67, 49, 1);
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .contenedor-mapa {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
  }

  .imagen-mapa {
    width: 100%;
    max-width: 600px;
    height: auto;
    order: 1;
    margin: 0 auto;
  }

  .imagen-mapa img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    box-sizing: border-box;
  }

  .contenido-mapa {
    order: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contenido-mapa h2,
  .contenido-mapa p {
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .contenido-mapa .reporta-btn {
    align-self: center;
    margin-top: 1rem;
  }

  .Menu {
    width: 65%;
    height: 70vh;
    right: -65%;
    border-bottom-left-radius: 20px;
  }

  .menu-toggle:checked ~ .Menu {
    right: 0;
  }

  header nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    gap: 2rem;
    padding-top: 4rem;
  }

  header nav a {
    background-image: none;
    background-color: #faf3e3;
    color: #004331;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    min-width: 200px;
    height: auto;
    transition: background-color 0.3s ease;
  }

  header nav a:hover {
    background-color: #f4f269;
    color: #00833a;
  }

  .close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: #faf3e3;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 67, 49, 0.8);
    transition: background-color 0.3s ease;
  }

  .close-menu:hover {
    background-color: rgba(0, 67, 49, 1);
  }
}

@media screen and (min-width: 1025px) {
  .intro-video {
    display: block;
  }
  
  .contenedor-mapa {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
  }
  .imagen-mapa {
    width: 60%;
    max-width: 600px;
    height: auto;
    box-sizing: border-box;
  }
  .imagen-mapa img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    box-sizing: border-box;
  }
  .contenido-mapa {
    width: 40%;
    padding-left: 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .contenido-mapa h2 {
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
  }

  .contenido-mapa p {
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
  }

  .contenido-mapa .reporta-btn {
    align-self: flex-start;
    margin-top: 1rem;
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .noticia {
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
    position: relative;
  }

  .imagen-noticia {
    width: 40%;
    height: 160px;
  }

  .imagen-noticia img {
    height: 100%;
  }

  .contenido-noticia {
    width: 60%;
    text-align: left;
    display: block;
    padding-left: 1rem;
  }
  .contenido-noticia h3,
  .contenido-noticia p {
    padding-left: 0;
    padding-right: 0;
  }
  .noticia-btn {
    width: auto;
    padding: 0.4rem 1rem;
    margin: 1rem 0 0 0 !important;
    font-size: 0.9rem;
    text-align: left;
    display: inline-block;
  }

  .hamburger-menu {
    display: none;
  }

  .Menu {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    right: 0;
  }

  header nav ul {
    flex-direction: row;
    padding: 0;
    gap: 0.2rem;
  }

  header nav a {
    background-size: 120% 120%;
    min-width: 95px;
    font-size: 0.6rem;
    padding: 0.5rem 0.7rem;
  }

  .close-menu {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .contenedor-mapa {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
  }

  .imagen-mapa {
    width: 100%;
    min-width: 200px;
    order: 1;
  }

  .contenido-mapa {
    order: 2;
  }

  .contenido-mapa h2 {
    font-size: 1.4rem;
  }

  .contenido-mapa p {
    font-size: 1rem;
  }

  header nav a {
    background-image: none;
    background-color: #faf3e3;
    color: #004331;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    min-width: 200px;
    height: auto;
    transition: background-color 0.3s ease;
  }

  header nav a:hover {
    background-color: #f4f269;
    color: #00833a;
  }

  #mapainteractivo {
    padding-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  #mapainteractivo {
    margin-top: 0.2rem;
  }
}

.logo-texto {
  color: #faf3e3;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  padding: 0.2rem;
  text-align: center;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.intro-video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.intro-texto {
  position: static;
  display: block;
  margin-top: 1.2rem;
  font-size: 3rem;
  text-align: center;
  color: #004331;
  margin-bottom: 0;
  padding-bottom: 0;
}

.intro-parrafo {
  text-align: center;
  color: #004331;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 1.5rem auto 2rem auto;
  padding: 0 1rem;
  font-weight: 400;
}

.intro-parrafo .destacado,
.contacto p .destacado {
  color: #349390;
  font-weight: bold;
  font-size: 1.2rem;
  text-shadow: 0 1px 2px rgba(0, 131, 58, 0.1);
  border-bottom: 2px solid #349390;
  padding-bottom: 2px;
}

#intro {
  position: relative;
  height: auto;
  overflow: hidden;
}

#intro h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  text-align: center;
  color: #004331;
  margin: 1rem;
  margin-bottom: 0.2rem !important;
}
.noticia-btn {
  display: block;
  padding: 14px 20px;
  background-color: #004331;
  color: #faf3e3;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  text-transform: uppercase;
  margin: 2rem auto 0 auto;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.noticia-btn:hover {
  background-color: #faf3e3;
  color: #004331;
}

.contacto {
  background-color: #faf3e3;
  padding: 1rem 1rem 2rem 1rem;
  max-width: 1000px;
  margin: 1rem auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,67,49,0.05);
  text-align: center;
}

.contacto h2 {
  color: #004331;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.contacto p {
  color: #004331;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.contacto-btn {
  display: inline-block;
  padding: 10px 22px;
  background-color: #004331;
  color: #faf3e3;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  margin-top: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

.contacto-btn:hover {
  background-color: #283d24;
  color: #00833a;
}

.mapa-titulo {
  color: #004331;
}

.mapa-bg {
  width: 100vw;
  height: 60vh;
  overflow: hidden;
  position: relative;
}

.mapa-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media screen and (min-width: 768px) {
  .mapa-bg {
    height: 70vh;
  }
}

@media screen and (min-width: 1024px) {
  .mapa-bg {
    height: 80vh;
  }
}

@media screen and (min-width: 1200px) {
  .mapa-bg {
    height: 85vh;
  }
}
.mapa-titulo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #004331;
  margin-bottom: 0.5rem;
  text-align: left;
}
.mapa-descripcion {
  font-size: 1rem;
  color: #004331;
  margin-bottom: 1.5rem;
  text-align: left;
}

.mapa-section {
  background-color: #faf3e3; 
  padding: 2rem 1.5rem;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.mapa-titulo {
  all: unset;
  font-size: 3rem;
  font-weight: bold;
  color: #004331;
  display: block;
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
}

.mapa-descripcion {
  font-size: 1rem;
  color: #004331;
  margin-bottom: 1.5rem;
  text-align: left;
}

.leyenda-mapa {
  background-color: #faf3e3; 
  padding: 2rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.icono-explicacion {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  font-size: 1rem;
  color: #004331;
  margin-bottom: 1.5rem;
  max-width: 400px;
  margin-left: 0;
  margin-right: auto;
}

.icono-explicacion img {
  width: 36px;
  height: 36px;
  padding: 5px;
  border: 2px solid #004331;
  border-radius: 50%;
  background-color: transparent;
  box-sizing: border-box;
}
.mapa-section {
  background-color: #faf3e3;
  padding: 1.5rem 1rem 1rem 1rem; 
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.mapa-titulo {
  all: unset;
  font-size: 3rem;
  font-weight: bold;
  color: #004331;
  display: block;
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
}

.mapa-descripcion {
  font-size: 1rem;
  color: #004331;
  margin-bottom: 1rem;
  text-align: left;
}

.leyenda-mapa {
  background-color: #faf3e3;
  padding: 0 1rem 1.5rem 1rem; 
  max-width: 800px;
  margin: 0 auto;
}

.icono-explicacion {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  font-size: 1rem;
  color: #004331;
  margin-bottom: 1rem;
  max-width: 400px;
  margin-left: 0;
  margin-right: auto;
}



.formulario-incidente {
  padding: 2rem 1rem;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 10px;
  box-sizing: border-box;
}

@media screen and (min-width: 1024px) {
  .formulario-incidente {
    max-width: 800px;
    padding: 2.5rem 2rem;
  }
}

@media screen and (min-width: 1200px) {
  .formulario-incidente {
    max-width: 1000px;
    padding: 3rem 2.5rem;
  }
}

.formulario-incidente h2 {
  color: #004331;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
}

.form-reporta {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.campo-form {
  display: flex;
  flex-direction: column;
}

.campo-form label {
  color: #004331;
  font-weight: bold;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.campo-form input[type="text"],
.campo-form input[type="date"],
.campo-form textarea {
  border: 2px solid #004331;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1rem;
  color: #004331;
  background-color: #faf3e3;
  font-family: inherit;
}

textarea {
  resize: none;
  min-height: 100px;
}

.subtitulo-form {
  background-color: #349390;
  color: #faf3e3;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  width: fit-content;
  margin-bottom: 0.5rem;
}

.tipo-incidente {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: -0.5rem;
}

.radio-opcion {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.radio-opcion input[type="radio"] {
  transform: scale(1.2);
  accent-color: #004331;
}

.radio-opcion img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #004331;
  padding: 4px;
  box-sizing: border-box;
}

.boton-enviar {
  align-self: flex-end;
  background-color: #004331;
  color: #faf3e3;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  text-transform: uppercase;
  margin-top: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.boton-enviar:hover {
  background-color: #349390;
  color: #faf3e3;
}
input[type="file"] {
  border: 2px solid #349390;
  border-radius: 8px;
  padding: 10px;
  background-color: #faf3e3;
  color: #004331;
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.5rem;
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  background-color: #349390;
  color: #faf3e3;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  text-transform: uppercase;
  margin-right: 1rem;
  cursor: pointer;
}

input[type="file"]::file-selector-button:hover {
  background-color: #00833a;
  color: #e6d95c;
}

.preguntas-main {
  padding: 2rem 1rem;
  min-height: 100vh;
}

.preguntas-titulo {
  color: #faf3e3;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.preguntas-subtitulo {
  color: #faf3e3;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.preguntas-item {
  background-color: #004331;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #e6d95c;
}

.preguntas-pregunta {
  color: #faf3e3;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.preguntas-respuesta {
  color: #faf3e3;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.preguntas-pregunta-btn {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 0;
}

.preguntas-pregunta-btn:hover {
  opacity: 0.8;
}

.preguntas-icono {
  color: #e6d95c;
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.preguntas-icono.activo {
  transform: rotate(45deg);
}

.preguntas-respuesta-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.preguntas-respuesta-container.activo {
  max-height: 300px;
  margin-top: 1rem;
}

.preguntas-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #349390;
  color: #faf3e3;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.preguntas-link:hover {
  background-color: #faf3e3;
  color: #004331;
}

.nosotras-main {
  background-color: #faf3e3;
  min-height: 100vh;
}

.nosotras-hero {
  background-color: #349390 !important;
  background-image: url('../imagenes/parque-de-los-ninios-aerea-1500x610.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative !important;
  padding: 4rem 1rem;
  text-align: center;
  color: #faf3e3;
}

.nosotras-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #349390;
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
}

.nosotras-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.nosotras-titulo {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nosotras-subtitulo {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

.nosotras-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nosotras-mision {
  padding: 4rem 0;
  background-color: #faf3e3;
}

.nosotras-mision-content h2 {
  color: #004331;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: bold;
}

.nosotras-mision-content > p {
  color: #004331;
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

.nosotras-valores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.valor-item {
  background-color: #faf3e3;
  border: 2px solid #349390;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valor-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(52, 147, 144, 0.2);
}

.valor-icono {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.valor-icono img {
  width: 48px;
  height: 48px;
}

.valor-item h3 {
  color: #004331;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.valor-item p {
  color: #004331;
  font-size: 1rem;
  line-height: 1.5;
}

.nosotras-plataforma {
  padding: 4rem 0;
  background-color: #004331;
  color: #faf3e3;
}

.nosotras-plataforma-content h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: bold;
}

.nosotras-plataforma-content > p {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

.nosotras-caracteristicas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.caracteristica-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.caracteristica-item:hover {
  transform: translateY(-5px);
}

.caracteristica-icono {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.caracteristica-icono img {
  width: 48px;
  height: 48px;
}

.caracteristica-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.caracteristica-item p {
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.9;
}

.nosotras-unirse {
  padding: 4rem 0;
  background-color: #faf3e3;
}

.nosotras-unirse-content h2 {
  color: #004331;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: bold;
}

.nosotras-unirse-content > p {
  color: #004331;
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

.nosotras-acciones {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nosotras-btn {
  background-color: #349390;
  color: #faf3e3;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  border: 2px solid #349390;
}

.nosotras-btn:hover {
  background-color: #faf3e3;
  color: #349390;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 147, 144, 0.3);
}

.nosotras-contacto {
  padding: 2rem 0 3.5rem 0;
  background-color: #004331;
  color: #faf3e3;
}

.nosotras-contacto-content h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: bold;
}

.nosotras-contacto-content > p {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

.nosotras-info-contacto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.contacto-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.contacto-item:hover {
  transform: translateY(-3px);
}

.contacto-icono {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacto-icono img {
  width: 40px;
  height: 40px;
}

.contacto-datos h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.contacto-datos p {
  font-size: 1rem;
  opacity: 0.9;
}

@media screen and (max-width: 768px) {
  .nosotras-titulo {
    font-size: 2.5rem;
  }
  
  .nosotras-subtitulo {
    font-size: 1.1rem;
  }
  
  .nosotras-mision-content h2,
  .nosotras-plataforma-content h2,
  .nosotras-unirse-content h2,
  .nosotras-contacto-content h2 {
    font-size: 2rem;
  }
  
  .nosotras-valores,
  .nosotras-caracteristicas {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .nosotras-acciones {
    flex-direction: column;
    align-items: center;
  }
  
  .nosotras-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .nosotras-info-contacto {
    grid-template-columns: 1fr;
  }
  
  .contacto-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

.foro-titulo {
  color: #faf3e3;
  font-size: 3rem;
  text-align: left;
  font-weight: bold;
}

.foro-subtitulo {
  color: #faf3e3;
  font-size: 1.1rem;
  text-align: left;
  margin: 0 0 2rem 0;
  line-height: 1.6;
}

.foro-main .foro-titulo {
  text-align: left;
  justify-content: flex-start;
}

.foro-main .foro-subtitulo {
  text-align: left;
}

.foro-main {
  background-color: #004331;
  min-height: 100vh;
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.nueva-publicacion {
  background-color: #faf3e3;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.publicacion-form h3 {
  color: #004331;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: bold;
  text-align: left;
}

.foro-main h1,
.foro-main h2,
.foro-main h3,
.foro-main h4,
.foro-main h5,
.foro-main h6 {
  text-align: left;
  justify-content: flex-start;
}

.foro-main .publicacion h1,
.foro-main .publicacion h2,
.foro-main .publicacion h3,
.foro-main .publicacion h4,
.foro-main .publicacion h5,
.foro-main .publicacion h6 {
  text-align: left;
  justify-content: flex-start;
}

.foro-main .nueva-publicacion h1,
.foro-main .nueva-publicacion h2,
.foro-main .nueva-publicacion h3,
.foro-main .nueva-publicacion h4,
.foro-main .nueva-publicacion h5,
.foro-main .nueva-publicacion h6 {
  text-align: left;
  justify-content: flex-start;
}

.foro-main * {
  text-align: left;
}

.foro-main .publicacion *,
.foro-main .nueva-publicacion * {
  text-align: left;
}

.foro-main .publicacion-header,
.foro-main .opciones-publicacion,
.foro-main .acciones-publicacion,
.foro-main .acciones-comentario {
  justify-content: flex-start;
}

.foro-main .publicacion-header {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}

.foro-main .opciones-publicacion {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.foro-main .acciones-publicacion {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.foro-main .acciones-comentario {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.foro-main .nombre-usuario,
.foro-main .nombre-comentario {
  text-align: left;
  margin: 0;
}

.foro-main .texto-publicacion,
.foro-main .contenido-comentario p {
  text-align: left;
  margin: 0 0 0.5rem 0;
}

.foro-main .fecha-publicacion,
.foro-main .fecha-comentario {
  text-align: left;
  margin: 0;
}

.foro-main .usuario-info {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  flex: 1;
}

.foro-main .datos-usuario {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.foro-main .contenido-comentario {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.form-publicacion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.campo-publicacion textarea {
  width: 100%;
  min-height: 100px;
  border: 1px solid #004331;
  border-radius: 8px;
  padding: 1rem;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  box-sizing: border-box;
  background-color: #faf3e3;
  color: #004331;
}

.campo-publicacion textarea::placeholder {
  color: #004331;
}

.opciones-publicacion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.btn-archivo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #faf3e3;
  border: 1px solid #00833a;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #00833a;
  transition: background-color 0.3s;
}

.btn-archivo:hover {
  background-color: #00833a;
  color: #faf3e3;
  border: 1px solid #00833a;
}

.btn-archivo:hover img {
  filter: brightness(0) invert(1);
}

.btn-archivo img {
  width: 28px;
  height: 28px;
}

.btn-publicar {
  background-color: #004331;
  color: #faf3e3;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-publicar:hover {
  background-color: #00833a;
}

.feed-publicaciones {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.publicacion {
    background-color: #faf3e3;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left !important;
}

.publicacion-header {
  display: flex;
  justify-content: flex-start !important;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.usuario-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.avatar-usuario {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.datos-usuario h4 {
  color: #004331;
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
}

.fecha-publicacion {
  color: #004331;
  font-size: 0.8rem;
}

.btn-opciones {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #004331;
  padding: 0.2rem;
  margin-left: auto;
}

.foro-main .btn-opciones {
  margin-left: auto;
  flex-shrink: 0;
}

.contenido-publicacion {
  margin-bottom: 1rem;
  text-align: left;
}

.texto-publicacion {
  color: #004331;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  text-align: left;
}

.imagen-publicacion {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.acciones-publicacion {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #349390;
  border-bottom: 1px solid #349390;
  margin-bottom: 1rem;
  justify-content: flex-start;
}

.btn-accion {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #004331;
  font-size: 0.9rem;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.btn-accion:hover {
  background-color: #00833a;
  color: #faf3e3;
}

.btn-accion:hover img {
  filter: brightness(0) invert(1);
}

.btn-accion img {
  width: 28px;
  height: 28px;
}

.seccion-comentarios {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.comentario {
  display: flex;
  gap: 0.8rem;
}

.avatar-comentario {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.contenido-comentario {
  flex: 1;
}

.nombre-comentario {
  color: #004331;
  font-size: 0.9rem;
  font-weight: bold;
  margin: 0 0 0.3rem 0;
}

.contenido-comentario p {
  color: #004331;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0 0 0.5rem 0;
  text-align: left;
}

.acciones-comentario {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-start;
}

.btn-me-gusta,
.btn-responder {
  background: none;
  border: none;
  color: #004331;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.btn-me-gusta:hover,
.btn-responder:hover {
  background-color: #00833a;
  color: #faf3e3;
}

.fecha-comentario {
  color: #349390;
  font-size: 0.8rem;
}

.nuevo-comentario {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.form-comentario {
  flex: 1;
  display: flex;
  gap: 0.5rem;
}

.input-comentario {
  flex: 1;
  border: 1px solid #349390;
  border-radius: 20px;
  padding: 0.5rem 0.8rem;
  font-size: 0.8rem;
  font-family: inherit;
  background-color: #faf3e3;
  color: #349390;
  opacity: 0.7;
}

.input-comentario::placeholder {
  color: #349390;
}

.btn-comentar {
  background-color: #349390;
  color: #faf3e3;
  border: none;
  padding: 0.5rem 0.8rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-comentar:hover {
  background-color: #00833a;
}

@media screen and (min-width: 1024px) {
  .form-comentario {
    align-items: center !important;
  }
  
  .input-comentario {
    padding: 0.3rem 0.8rem !important;
    font-size: 0.8rem !important;
    line-height: 1 !important;
    height: auto !important;
    min-height: unset !important;
  }
  
  .btn-comentar {
    padding: 0.3rem 0.5rem !important;
    font-size: 0.8rem !important;
    line-height: 1 !important;
    height: auto !important;
    min-height: unset !important;
    margin: 0 !important;
    border: none !important;
    display: inline-block !important;
    vertical-align: baseline !important;
  }
}

@media screen and (max-width: 768px) {
  .foro-main {
    padding: 1.5rem 1.5rem;
  }
  
  .nueva-publicacion,
  .publicacion {
    border-radius: 8px;
    padding: 1.2rem;
  }
  
  .opciones-publicacion {
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: space-between !important;
  }
  
  .btn-archivo {
    justify-content: flex-start;
  }
  
  .acciones-publicacion {
    justify-content: flex-start !important;
  }
  
  .form-comentario {
    flex-direction: column;
  }
}
.perfil-main {
  background-color: #faf3e3;
  margin-top: 6.8rem;
}

.perfil-encabezado {
  background-color: #00833a;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  min-height: 250px;
  padding-top: 0.5rem;
  padding-bottom: 5rem;
  text-align: center;
  position: relative;
  z-index: 0;
}

@media (max-width: 768px) {
  .perfil-encabezado {
    min-height: 180px;
    padding-top: 0.1rem;
    padding-bottom: 2.5rem;
  }
}

.perfil-foto-container {
  position: relative;
  display: inline-block;
}

.perfil-foto {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #e6d95c;
  padding: 10px;
  z-index: 2;
}

.perfil-editar {
  position: absolute;
  top: 5px;
  right: -15px;
  width: 28px;
  height: 28px;
}

.perfil-nombre {
  font-size: 2.2rem;
  font-weight: bold;
  color: #faf3e3;
  margin-top: 1rem;
}

.perfil-seccion-titulo {
  color: #004331;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 2rem 0 1rem 0;
  text-align: center;
  text-transform: uppercase;
}

.perfil-acciones {
  padding: 0 1rem;
}

.perfil-acciones-grid {
  display: flex;
  flex-direction: row;
  gap: 0.8rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.perfil-accion-btn {
  background-color: #faf3e3;
  border: 2px solid #00833a;
  border-radius: 12px;
  padding: 0.8rem 0.8rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 67, 49, 0.1);
  min-width: 180px;
  max-width: 220px;
}

.perfil-accion-btn:hover {
  background-color: #004331;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 67, 49, 0.2);
  border: 2px solid #004331;
}

.perfil-accion-btn img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(35%) sepia(100%) saturate(1000%) hue-rotate(120deg) brightness(0.7) contrast(1);
  flex-shrink: 0;
}

.perfil-accion-btn:hover img {
  filter: brightness(0) invert(1);
}

.perfil-accion-numero {
  font-size: 1.1rem;
  font-weight: bold;
  color: #00833a;
  min-width: 25px;
  text-align: center;
  flex-shrink: 0;
}

.perfil-accion-texto {
  font-size: 0.8rem;
  font-weight: bold;
  color: #00833a;
  flex: 1;
  white-space: nowrap;
}

.perfil-accion-btn:hover .perfil-accion-numero,
.perfil-accion-btn:hover .perfil-accion-texto {
  color: #faf3e3;
}

.perfil-configuracion {
  padding: 0 1rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.perfil-config-opciones {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.perfil-config-btn {
  background-color: #faf3e3;
  border: 1px solid #00833a;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
  color: #00833a;
}

.perfil-config-btn:hover {
  background-color: #e6d95c;
}

.perfil-config-toggle {
  background-color: #00833a;
  color: #faf3e3;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
}

.perfil-config-arrow {
  color: #00833a;
  font-weight: bold;
}

.perfil-config-btn.cerrar-sesion {
  border-color: #349390;
  color: #349390;
}

.perfil-config-btn.cerrar-sesion:hover {
  background-color: #349390;
  color: #faf3e3;
}

.perfil-ultimos-posteos {
  padding: 0 1rem;
  margin-bottom: 2rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.perfil-publicacion {
  background-color: #faf3e3;
  border-radius: 12px;
  padding: 1.5rem;
  border: 2px solid #004331;
  text-align: left !important;
}

.perfil-publicacion-header {
  display: flex;
  justify-content: flex-start !important;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.perfil-usuario-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.perfil-avatar-usuario {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.perfil-datos-usuario h4 {
  color: #004331;
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
}

.perfil-fecha-publicacion {
  color: #004331;
  font-size: 0.8rem;
}

.perfil-btn-opciones {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #004331;
  padding: 0.2rem;
  margin-left: auto;
}

.perfil-contenido-publicacion {
  margin-bottom: 1rem;
  text-align: left;
}

.perfil-texto-publicacion {
  color: #004331;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  text-align: left;
}

.perfil-imagen-publicacion {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.perfil-acciones-publicacion {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #004331;
  border-bottom: 1px solid #004331;
  margin-bottom: 1rem;
  justify-content: flex-start;
}

.perfil-btn-accion {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #004331;
  font-size: 0.9rem;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.perfil-btn-accion:hover {
  background-color: #00833a;
  color: #faf3e3;
}

.perfil-btn-accion:hover img {
  filter: brightness(0) invert(1);
}

.perfil-btn-accion img {
  width: 28px;
  height: 28px;
}

@media screen and (max-width: 480px) {
  .perfil-acciones-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .perfil-accion-btn {
    padding: 0.8rem;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
  }
  
  .perfil-accion-texto {
    font-size: 0.75rem;
  }
}

.titulo-seccion {
  color: #fdf50c;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: left;
  padding-left: 0.3rem;
}

.titulo-seccion-recomendadas {
  color: #fdf50c;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: left;
  padding-left: 0.3rem;
}


.carrusel-noticias {
  background-color: #faf3e3;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.carrusel-item {
  display: none;
  flex-direction: column;
  animation: fadein 0.4s ease-in-out;
}

.carrusel-item.activo {
  display: flex;
}

.carrusel-item img {
  width: 100%;
  object-fit: cover;
  max-height: 240px;
}

.carrusel-texto {
  padding: 1rem;
  color: #004331;
}

.carrusel-texto h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.carrusel-texto p {
  font-size: 0.95rem;
}

.carrusel-noticias a {
  text-decoration: none;
  color: inherit;
}

.carrusel-noticias a:hover {
  text-decoration: none;
}

.carrusel-titulo {
  color: #349390;
}

.noticias-recomendadas {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.noticia-recomendada {
  background-color: #faf3e3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.noticia-recomendada a,
.noticia-recomendada a:visited,
.noticia-recomendada a:hover,
.noticia-recomendada a:active {
  text-decoration: none;
}

.noticia-recomendada > a {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
}

.noticia-recomendada > a > img {
  width: 40%;
  min-width: 90px;
  max-width: 160px;
  height: auto;
  object-fit: cover;
}

.noticia-recomendada > a > .noticia-info {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.noticia-recomendada img {
  width: 40%;
  height: auto;
  object-fit: cover;
}

.noticia-info {
  width: 60%;
  padding: 1rem;
  color: #004331;
}

.noticia-info h3 {
  color: #349390;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.4rem;
}

.noticia-info p {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.fecha {
  font-size: 0.75rem;
  color: #349390;
}

@media screen and (min-width: 768px) {
  .noticias-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
  }

  .titulo-seccion {
    font-size: 3rem;
  }
  
  .titulo-seccion-recomendadas {
    font-size: 1.6rem;
  }

  .carrusel-texto h3 {
    font-size: 1.2rem;
  }

  .noticias-recomendadas {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .noticia-recomendada {
    width: 48%;
    margin-bottom: 3.5rem;
  }
}
@media screen and (max-width: 768px) {
  .noticia-recomendada {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: 12px;
    background-color: #faf3e3;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin: 0 0 2.2rem 0;
    padding: 1.2rem 1rem;
  }
  .noticia-recomendada img {
    width: 40%;
    height: auto;
    max-height: 120px;
    object-fit: cover;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
    margin-right: 0.7rem;
  }
  .noticia-info {
    width: 60%;
    padding: 0 0.3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #004331;
  }
  .noticia-recomendada .noticia-info h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }
  .noticia-recomendada .noticia-info p {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    line-height: 1.2;
  }
  .noticia-recomendada .noticia-info .fecha {
    font-size: 0.7rem;
  }
  .noticia-recomendada .noticia-info {
    justify-content: center;
    height: 100%;
  }
  .noticias-main {
    padding: 1.5rem 1rem 2rem 1rem;
    margin: 0.5rem;
  }
  .titulo-seccion {
    margin-left: 0;
    margin-right: 0;
  }
  .noticias-recomendadas {
    gap: 0rem;
  }
}

@media screen and (min-width: 900px) {
  .noticias-recomendadas {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  .noticias-recomendadas > div.noticia-recomendada {
    width: calc(50% - 1rem) !important;
    min-width: 320px !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .noticias-recomendadas > h2 {
    width: 100%;
    flex-basis: 100%;
    order: -1;
  }
}

@keyframes fadein {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}

.noticias-main-bg {
  background-color: #00833a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.noticias-main {
  flex: 1;
  margin-bottom: 0;
  padding-bottom: 0;
}

.colinita-container {
  position: relative;
  z-index: 20;
  width: 100%;
  height: 0;
  overflow: visible;
  margin-top: 2rem;
}

.colinita-verde {
  position: absolute;
  z-index: 20;
  width: 100%;
  height: auto;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

@media (min-width: 769px) {
  .perfil-main {
    margin-top: 26rem;
  }
  
  .colinita-container {
    margin-top: 0;
    z-index: 1;
  }
  
  .colinita-verde {
    z-index: 1;
  }
  
  .perfil-encabezado {
    min-height: 350px;
    padding-bottom: 6rem;
    padding-top: 2rem;
  }
  
  .perfil-foto {
    width: 200px;
    height: 200px;
    margin-top: -2rem;
  }
  
  .perfil-editar {
    top: 5px;
    right: -35px;
    width: 35px;
    height: 35px;
  }
  
  .perfil-nombre {
    font-size: 3rem;
    margin-top: 1rem;
  }
}

.login-main {
  background-color: transparent;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.login-container {
  background-color: #faf3e3;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 67, 49, 0.1);
  max-width: 450px;
  width: 100%;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #004331;
  padding: 15px;
  margin-bottom: 1rem;
}

.login-titulo {
  color: #004331;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.login-subtitulo {
  color: #004331;
  font-size: 1rem;
  line-height: 1.4;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.login-form .campo-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.login-form .campo-form label {
  color: #004331;
  font-weight: bold;
  font-size: 0.9rem;
}

.login-form .campo-form input {
  border: 2px solid #00833a;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  color: #00833a;
  background-color: #faf3e3;
  transition: border-color 0.3s ease;
}

.login-form .campo-form input:focus {
  outline: none;
  border-color: #004331;
  background-color: #faf3e3;
}

.login-form .campo-form input::placeholder {
  color: #00833a;
}

.login-opciones {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #004331;
  cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
  transform: scale(1.2);
  accent-color: #004331;
}

.olvide-contraseña {
  color: #00833a;
  text-decoration: none;
  font-weight: bold;
}

.olvide-contraseña:hover {
  text-decoration: underline;
}

.login-btn {
  background-color: #004331;
  color: #faf3e3;
  border: none;
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  margin-top: 0.5rem;
}

.login-btn:hover {
  background-color: #00833a;
}

.login-registro {
  text-align: center;
  color: #004331;
  font-size: 0.9rem;
}

.registro-link {
  color: #00833a;
  text-decoration: none;
  font-weight: bold;
}

.registro-link:hover {
  text-decoration: underline;
}

@media screen and (max-width: 480px) {
  .login-container {
    padding: 2rem 1.5rem;
  }
  
  .login-opciones {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

body.noticia-verde {
  background-color: #349390 !important;
  background-image: url('../imagenes/2023-11-10-299-imagen.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  position: relative !important;
}

body.noticia-verde::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #349390;
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
}

.noticias-intro {
  color: #e6d95c;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem auto 2.2rem auto;
  margin-left: 0rem;
  max-width: 800px;
  font-size: 1.08rem;
  text-align: left;
}
.noticias-ultimas .titulo-seccion {
  text-align: left;
}

.noticias-ultimas {
  padding-left: 0;
  padding-right: 0;
}

.noticias-ultimas > h2.titulo-seccion,
.noticias-ultimas .noticias-intro {
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
}

.noticias-ultimas .carrusel-noticias {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
}

.noticia-detalle {
  margin: 0 auto;
  background-color: transparent;
  border-radius: 0;
  padding: 1.5rem 1rem;
  color: #faf3e3;
  font-family: 'Arial', sans-serif;
  max-width: 800px;
  line-height: 1.6;
  text-align: left;
}

.noticia-imagen {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 1rem auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.noticia-detalle h1 {
  font-size: 3rem;
  text-transform: none;
  color: #faf3e3;
  text-align: left;
  font-weight: bold;
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.noticia-detalle h2,
.noticia-detalle h3 {
  font-size: 1.3rem;
  margin: 2.5rem 0 1.2rem 0;
  color: #faf3e3;
  text-align: left;
  font-weight: bold;
}

.grupo-noticia {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e6d95c;
}

.grupo-noticia-fin {
  background-color: #faf3e3;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  text-align: center !important;
}

.grupo-noticia-fin h3 {
  color: #004331 !important;
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center !important;
}

.grupo-noticia-fin h3:not(:first-child) {
  border-top: 2px solid #00833a;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.grupo-noticia-fin p,
.noticia-detalle .grupo-noticia-fin p {
  color: #004331 !important;
  margin: 0;
  text-align: center !important;
}

.noticia-detalle .fecha {
  color: #faf3e3;
  font-size: 0.85rem;
  font-style: italic;
  margin: 0 0 2rem 0;
  text-align: right !important;
}

.noticia-subtitulo {
  font-weight: bold;
  font-size: 1rem;
  margin: 0 0 2rem 0;
  color: #004331;
  text-align: left;
}

.noticia-detalle p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
  color: #faf3e3;
  text-align: left;
}

.noticia-detalle blockquote {
  font-style: italic;
  color: #004331;
  border-left: 3px solid #f4f269;
  padding: 1rem;
  margin: 1.5rem 0;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 0 8px 8px 0;
  text-align: left;
}

.noticia-detalle ul {
  margin: 1.5rem 0;
  padding: 0;
  text-align: left;
  list-style: none;
}

.noticia-detalle ul li {
  margin: 0 0 0.6rem 0;
  line-height: 1.5;
  color: #faf3e3;
  font-size: 0.95rem;
  text-align: left;
}

.noticia-detalle b,
.noticia-detalle strong {
  color: #004331;
  font-weight: bold;
}

.volver-link {
  display: block;
  margin: 0 0 2rem 0;
  background-color: #faf3e3;
  color: #004331;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: left;
  font-size: 0.9rem;
  width: fit-content;
}

@media screen and (min-width: 768px) {
  .noticia-detalle {
    max-width: 900px;
    padding: 2rem 1.5rem;
  }

  .noticia-detalle h1 {
    font-size: 3rem;
    margin: 0 0 1.2rem 0;
  }

  .noticia-detalle h2,
  .noticia-detalle h3 {
    font-size: 1.5rem;
  }

  .noticia-detalle p {
    font-size: 1rem;
  }

  .volver-link {
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
  }
}

@media screen and (min-width: 1024px) {
  .noticia-detalle {
    max-width: 1000px;
    padding: 2.5rem 2rem;
  }
}

@media screen and (max-width: 768px) {
  .noticia-detalle .noticia-imagen {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 1.2rem;
  }
  .noticia-detalle h1 {
    margin-top: 0;
    margin-bottom: 1.2rem;
    position: static;
    background: none;
    font-size: 2rem;
    line-height: 1.2;
    z-index: 1;
    text-align: left;
    padding: 0 0.2rem;
    word-break: break-word;
  }
}

