body {
  background: var(--faq-background);
  color: var(--foreground);
}


.faq-container-title{
  max-width: var(--container-w);
  display: flex;
  flex-direction: column;
  height: 300px;
  margin: 2rem auto !important;
  background: no-repeat center/100% url("https://blogbiblio.unsj.edu.ar/wp-content/uploads/2025/09/FQ.png");
  
  border-radius: 10px;
  box-shadow: var(--neo-shadow-card, 0 4px 8px rgba(0,0,0,0.13));
  padding: 2rem !important;
}

.faq-title{
    width: 70%;
}
.faq-title h2,p {
    color: #ccc;
    margin-bottom: 1em !important;
    font-size: clamp(13px, 1vw, 21px) !important;
}

.faq-container {
  max-width: var(--container-w);
  margin: 2rem auto !important;
  background: var(--background-card);
  border-radius: 10px;
  box-shadow: var(--neo-shadow-card, 0 4px 8px rgba(0,0,0,0.13));
  padding: 2rem !important;
}
.faq-section {
  margin-bottom: 2rem !important;
}
.faq-section h2 {
  color: var(--faq-number);
  font-size: 1.3rem;
  margin-bottom: 1rem !important;
}
.faq-question {
  margin-bottom: 1rem !important;
  background: white;
  border-radius: 8px;
  padding: 1rem !important;

}
.faq-question .faq-q {
  color: var(--faq-number);
  font-weight: bold;
  margin-bottom: .5rem !important;
}
.faq-question .faq-a {
  color: var(--faq-Question);
  margin-left: 1rem !important;
}
.faq-question .faq-a ul {
  margin: .5rem 0 0 1.2rem !important;
  padding: 0 !important;
}
.faq-question .faq-a li {
  margin-bottom: .3rem !important;
  color: #333;
}
.faq-consejos,
.faq-ejemplo {
  background: var(--card-bg);
  border-radius: 5px;
  margin: .7em 0 .5em 0 !important;
  padding: .6em 2em !important;
  font-size: .98em;
  color: var(--faq-Question);
  border-left: 4px solid var(--faq-number);
}
.faq-consejos-title {
  font-weight: bold;
  color: var(--faq-number);
  margin-bottom: .3em !important;
}
.faq-ejemplo-title {
  font-weight: bold;
  color: var(--faq-number);
  margin-bottom: .3em !important;
}
.faq-ejemplo-img {
  max-width: 300px;
  display: block;
  margin: .5em 0 !important;
  border-radius: 6px;
  box-shadow: var(--neo-shadow-card, 0 2px 6px rgba(0,0,0,0.10));
}
@media (max-width: 600px) {
  .faq-container {
    padding: .5rem !important;
  }
  .faq-ejemplo-img {
    max-width: 100%;
  }
}

.faq-ejemplo-img {
  max-width: 100%;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.faq-ejemplo-img:hover {
  opacity: 0.9;
}

.image-modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}

.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover {
  color: #ccc;
}


/* faq search */

.faq-search-container {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 1.5em !important;
}

.faq-search-input {
  width: 100% !important;
  max-width: 400px !important;
  padding: 0.6em 1em !important;
  border: 1px solid #bbb !important;
  border-radius: 4px !important;
  font-size: 1em !important;
  transition: border-color 0.2s !important;
  color: #222 !important;
}

.faq-search-input:focus {
  outline: none !important;
  border-color: #0078d7 !important;
}