.team .member .pic {
    width: 100%;
    height: 580px;            /* altura uniforme */
    overflow: hidden;
    border-radius: 6px;
  }
  
.team .member .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* magia */
    object-position: center;
}
  


.team .member .pic img {
    transition: transform .4s ease;
}
  
.team .member:hover .pic img {
   transform: scale(1.08);
}
  

.team .member .member-desc {
    font-size: 14px;
    line-height: 1.45;
    color: #6c757d;

    margin: 10px 0 14px;

    height: 65px;               /* altura fija */
    overflow: hidden;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
  
.team .member {
height: 100%;
display: flex;
flex-direction: column;
}

.team .member .member-info {
flex: 1;
display: flex;
flex-direction: column;
}

.team .member .social {
margin-top: auto;
}

.about-full {
  width: 100%;
}

.about-block {
  padding: 80px 0;
}

.about-block.bg-light {
  background-color: #f8f9fa;
}

.about-full h3 {
  margin-bottom: 20px;
}

.about-full p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

.about-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.about-list li {
  margin-bottom: 10px;
}

.about-list i {
  color: #0d6efd;
  margin-right: 8px;
}

/* Tabla consejo */
.consejo-table td, .consejo-table th {
  padding-top: 14px;
  padding-bottom: 14px;
}

.consejo-table tbody tr:hover {
  background: rgba(13, 110, 253, 0.06); /* azul bootstrap suave */
}

/* Acordeón: look & feel */
.consejo-accordion .accordion-button:not(.collapsed){
  background: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
}

.consejo-accordion .accordion-button:focus{
  box-shadow: 0 0 0 .2rem rgba(13,110,253,.15);
}

/*Solapas */
/* Tabs entidades */
.entidades-tabs .nav-link {
  font-weight: 500;
  color: #555;
  border: none;
  border-bottom: 3px solid transparent;
}

.entidades-tabs .nav-link.active {
  color: #0d6efd;                 /* azul bootstrap */
  background-color: transparent;
  border-bottom: 3px solid #0d6efd;
}

.entidades-tabs .nav-link:hover {
  color: #0d6efd;
}


/* Tabs cronograma (estilo prolijo) */
.cronograma-tabs .nav-link {
  font-weight: 600;
  color: #555;
  border: 0;
  border-bottom: 3px solid transparent;
}
.cronograma-tabs .nav-link.active {
  color: #0d6efd;
  background: transparent;
  border-bottom: 3px solid #0d6efd;
}

/* Tabla */
.cronograma-table th {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.cronograma-table tbody tr:hover {
  background: rgba(13, 110, 253, 0.05);
}



/* Filtros INSCRIPCIONES (equivalente a #portfolio-flters del template) */
/* ===== Inscripciones (cards) ===== */
/* ====== FILTROS (SOLAPAS) ====== */
.insc-flters{
  padding: 0;
  margin: 18px 0 28px 0;
  list-style: none;            /* ✅ chau viñetas */
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.insc-flters li{
  cursor: pointer;
  user-select: none;
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1;
  border-radius: 999px;
  text-transform: uppercase;
  background: #fff;
  color: #444;
  border: 1px solid rgba(0,0,0,.08);
  transition: all .2s ease-in-out;
}

.insc-flters li:hover{
  background: rgba(13,110,253,.08);
  border-color: rgba(13,110,253,.25);
}

.insc-flters li.filter-active{
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
  box-shadow: 0 6px 18px rgba(13,110,253,.20);
}

/* ====== SCROLL SOLO DEL LISTADO ====== */
.insc-scroll{
  max-height: min(950px, 75vh); /* ✅ scroll real */
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: .25rem;
  scrollbar-gutter: stable;
}

/* ====== LISTADO / CARDS ====== */
.insc-container{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.insc-item{
  width: 100%;
}

/* tu card */
.insc-card{
  display: flex;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}

.insc-media{
  flex: 0 0 260px;
  height: 160px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: #f2f4f7;
  overflow: hidden;
  position: relative;
}

.insc-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,0));
  opacity: .25;
}

.insc-body{ flex: 1; min-width: 0; }

.insc-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.insc-badge{
  display: inline-block;
  background: rgba(13,110,253,.12);
  color: #0d6efd;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.insc-date{
  color: #6c757d;
  font-size: 13px;
  white-space: nowrap;
}

.insc-title{
  margin: 4px 0 10px 0;
  font-size: 22px;
  line-height: 1.2;
}

.insc-desc{
  color: #444;
  margin-bottom: 12px;
}

/* Adjuntos sin viñetas */
.insc-files{
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0 0;
}

.insc-files li{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.insc-files a{ text-decoration: none; }
.insc-files a:hover{ text-decoration: underline; }

.insc-files-badge{
  display: inline-block;
  background: #0dcaf0;
  color: #033b44;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
}

/* responsive */
@media (max-width: 992px){
  .insc-media{ flex-basis: 220px; height: 150px; }
}
@media (max-width: 768px){
  .insc-card{ flex-direction: column; }
  .insc-media{ width: 100%; flex-basis: auto; height: 180px; }
  .insc-date{ white-space: normal; }
}

.insc-empty{
  display:none;           /* lo prende JS */
  align-items:center;
  justify-content:center;
  padding: 18px 0;
}

.insc-empty-inner{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
}
.insc-empty-inner i{
  font-size: 20px;
}

/* ===== Resultados (prefijo res-) ===== */

.res-flters{
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.res-flters li{
  cursor: pointer;
  user-select: none;
  padding: 10px 16px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
  transition: .2s ease;
}

.res-flters li:hover{
  transform: translateY(-1px);
}

.res-flters li.filter-active{
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
  box-shadow: 0 10px 24px rgba(13,110,253,.22);
}

/* Scroll contenedor */
.res-scroll{
  max-height: 70vh;       /* ajustá a gusto (ej: 950px si querés fijo) */
  overflow: auto;
  padding-right: 6px;     /* evita que la barra “pise” el contenido */
}

/* Opcional: scrollbar prolija (webkit) */
.res-scroll::-webkit-scrollbar{ width: 10px; }
.res-scroll::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.15); border-radius: 999px; }
.res-scroll::-webkit-scrollbar-track{ background: rgba(0,0,0,.04); border-radius: 999px; }

.resultados-container{
  margin-top: 10px;
}

.res-item{
  width: 100%;
  margin-bottom: 18px;
}

.res-card{
  display: flex;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}

.res-media{
  flex: 0 0 260px;
  height: 160px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: #f2f4f7;
  position: relative;
  overflow: hidden;
}

.res-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.22), rgba(0,0,0,0));
  opacity: .18;
}

.res-body{
  flex: 1;
  min-width: 0;
}

.res-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.res-badge{
  display: inline-block;
  background: rgba(13,110,253,.12);
  color: #0d6efd;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.res-date{
  color: #6c757d;
  font-size: 13px;
  white-space: nowrap;
}

.res-title{
  margin: 4px 0 10px 0;
  font-size: 22px;
  line-height: 1.2;
}

.res-desc{
  color: #444;
  margin-bottom: 12px;
}

.res-files-badge{
  display: inline-block;
  background: #0dcaf0;
  color: #033b44;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 8px;
}

.res-files{
  margin: 0;
  padding-left: 18px;
}

.res-files li{
  margin: 4px 0;
}

.res-files a{
  text-decoration: none;
  color: #198754;
}

.res-files a:hover{
  text-decoration: underline;
}

.res-empty{
  margin: 14px 0 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  background: #fff3cd;
  color: #664d03;
  display: flex;
  align-items: center;
  gap: 10px;
}

.res-empty-icon{
  display:inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  align-items:center;
  justify-content:center;
  background: rgba(102,77,3,.12);
}

/* responsive */
@media (max-width: 992px){
  .res-media{ flex-basis: 220px; height: 150px; }
}
@media (max-width: 768px){
  .res-scroll{ max-height: none; overflow: visible; }
  .res-card{ flex-direction: column; }
  .res-media{ width: 100%; flex-basis: auto; height: 190px; }
}

.footer .footer-about .logo img{
  max-height: 42px;
  width: auto;
}

/* Resultados Online - UI */
.ro-wrap { position: relative; }
.ro-topbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; flex-wrap:wrap; margin-bottom:12px;
}

.ro-actions{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }

.ro-btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px; border-radius:10px;
  border:1px solid rgba(0,0,0,.08); background:#fff;
  text-decoration:none; font-weight:600; font-size:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.05);
}
.ro-btn:hover{ transform: translateY(-1px); }

.ro-iframe{
  width:100%; height:800px; border:0; border-radius:12px;
  box-shadow:0 10px 26px rgba(0,0,0,.08);
  background:#fff;
}

.ro-loader{
  position:absolute; inset:60px 0 0 0; /* deja visible el selector */
  display:none; align-items:center; justify-content:center;
  pointer-events:none;
}
.ro-loader .box{
  display:flex; align-items:center; gap:10px;
  padding:12px 14px; border-radius:12px;
  background:#fff; border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 26px rgba(0,0,0,.10);
  font-weight:600;
}
.ro-spinner{
  width:18px; height:18px; border-radius:50%;
  border:2px solid rgba(0,0,0,.15);
  border-top-color: rgba(0,0,0,.55);
  animation: rospin .8s linear infinite;
}
@keyframes rospin { to { transform: rotate(360deg); } }

.ro-alert{
  display:none;
  margin-top:12px;
  padding:14px 16px;
  border-radius:12px;
  border:1px solid rgba(13,110,253,.25);
  background: rgba(13,110,253,.06);
  color:#0b3d91;
  font-weight:600;
}
.ro-alert strong{ display:block; margin-bottom:4px; }

.ro-iframe { height: calc(100vh - 260px); min-height: 600px; }

/*noticias*/
/* --- Grid de noticias: cards parejitas --- */

.news-card{
  border-radius: 14px;
  overflow: hidden; /* recorta la imagen y overlay */
}

/* Portada con altura fija (la clave) */
.news-cover-link{
  display:block;
  position:relative;
  width:100%;
  height: 190px;            /* <- ajustá a gusto */
  overflow:hidden;
  background:#f1f3f5;
}

/* En desktop un poquito más alta */
@media (min-width: 992px){
  .news-cover-link{ height: 210px; }
}

/* La imagen se recorta para que todas queden iguales */
.news-cover-img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

/* Overlay suave para que badge y texto no “choquen” con fondos claros */
.news-cover-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,.20),
    rgba(0,0,0,.05) 45%,
    rgba(0,0,0,.00) 70%);
  pointer-events:none;
}

/* Badge siempre legible */
.news-badge{
  position:absolute;
  left:.75rem;
  top:.75rem;
  z-index:2;
}

/* Título: máximo 2 líneas */
.news-card .card-title{
  line-height: 1.2;
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Descripción: máximo 3 líneas */
.news-card .card-text{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Para que todas las cards tengan el mismo “aire” */
.news-card .card-body{
  min-height: 170px;  /* ajustable según tipografía */
}

/* Botón alineado abajo prolijo */
.news-card .card-footer{
  padding-bottom: 1rem;
}

/* Flechas negras bien visibles */
#newsCarousel .carousel-control-prev-icon,
#newsCarousel .carousel-control-next-icon{
  filter: invert(1) grayscale(1) brightness(0); /* negro */
  width: 3rem;
  height: 3rem;
}

/* opcional: un circulito atrás para que NUNCA se pierdan */
#newsCarousel .carousel-control-prev,
#newsCarousel .carousel-control-next{
  width: 12%;
}
#newsCarousel .carousel-control-prev-icon,
#newsCarousel .carousel-control-next-icon{
  background-color: rgba(255,255,255,.65);
  border-radius: 999px;
}
.news-card{ border-radius:14px; overflow:hidden; }
.news-cover-link{ position:relative; display:block; height:210px; overflow:hidden; background:#f2f2f2; }
.news-cover-img{ width:100%; height:100%; object-fit:cover; display:block; }
.news-cover-overlay{ position:absolute; inset:0; background:linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,0)); }
.news-badge{ position:absolute; left:.75rem; top:.75rem; z-index:2; }
.news-clamp-3{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* ✅ scroll del listado (ajustá a gusto) */
.news-scroll{
  max-height: 920px;
  overflow: auto;
  padding-right: 6px;
}


.gal-card{ border-radius:14px; overflow:hidden; }
.gal-cover-link{ position:relative; display:block; height:230px; overflow:hidden; background:#f2f2f2; }
.gal-cover-img{ width:100%; height:100%; object-fit:cover; display:block; }
.gal-cover-overlay{ position:absolute; inset:0; background:linear-gradient(to bottom, rgba(0,0,0,.28), rgba(0,0,0,0)); }
.gal-badge{ position:absolute; left:.75rem; top:.75rem; z-index:2; }

.gal-clamp-2{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.gal-scroll{
  max-height: 980px;
  overflow:auto;
  padding-right:6px;
}