/********** Template CSS **********/
:root {
    --primary: #9B2247;         /* 4T Guinda */
    --secondary: #B38D45;       /* 4T Dorado */
    --primary-dark: #611232;
    --secondary-light: #C4AB72;
    --light: #F8F8F8;
    --dark: #252525;
    --text: #353D4A;
    --surface: #E1E2E4;
}

.fw-medium { font-weight: 600 !important; }
.fw-semi-bold { font-weight: 700 !important; }

.back-to-top{
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner{
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
#spinner.show{
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Links ***/
a{ color: var(--primary); }
a:hover{ color: var(--secondary); }

/*** Button ***/
.btn{
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}
.btn.btn-primary,
.btn.btn-secondary{
    color: #FFFFFF;
}
.btn.btn-primary{
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn.btn-primary:hover,
.btn.btn-primary:focus{
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #FFFFFF;
}
.btn.btn-secondary{
    background-color: var(--secondary);
    border-color: var(--secondary);
}
.btn.btn-secondary:hover,
.btn.btn-secondary:focus{
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.btn-square{ width: 38px; height: 38px; }
.btn-sm-square{ width: 32px; height: 32px; }
.btn-lg-square{ width: 48px; height: 48px; }

.btn-square,
.btn-sm-square,
.btn-lg-square{
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}

/*** Barrido global paleta 4T ***/
body{ color: var(--text); }
.bg-light{ background-color: var(--light) !important; }
.bg-white{ background-color: #FFFFFF !important; }

.text-primary{ color: var(--primary) !important; }
.text-secondary{ color: var(--secondary) !important; }
.bg-primary{ background-color: var(--primary) !important; }
.bg-secondary{ background-color: var(--secondary) !important; }

.border-primary{ border-color: var(--primary) !important; }
.border-secondary{ border-color: var(--secondary) !important; }

/*** Navbar ***/
.navbar .dropdown-toggle::after{
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link{
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
    font-weight: 500;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active{
    color: var(--secondary);
}

@media (max-width: 991.98px){
    .navbar-light .navbar-nav .nav-link{
        margin-right: 0;
        padding: 10px 0;
    }
    .navbar-light .navbar-nav{
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn{
    height: 75px;
}

.navbar-light.sticky-top{
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px){
    .navbar .nav-item .dropdown-menu{
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }
    .navbar .dropdown-menu.fade-down{
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }
    .navbar .nav-item:hover .dropdown-menu{
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header carousel ***/
@media (max-width: 768px){
    .header-carousel .owl-carousel-item{
        position: relative;
        min-height: 500px;
    }
    .header-carousel .owl-carousel-item img{
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.header-carousel .owl-nav{
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}
.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next{
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}
.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover{
    background: var(--secondary);
    border-color: var(--secondary);
}

/* Page header */
.page-header{
    background: linear-gradient(rgba(97, 18, 50, .70), rgba(97, 18, 50, .70)), url(../img/carousel-1.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.page-header-inner{
    background: rgba(97, 18, 50, .70);
}
.breadcrumb-item + .breadcrumb-item::before{
    color: var(--light);
}

/*** Section Title ***/
.section-title{
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}
.section-title::before{
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--secondary);
    z-index: -1;
}
.section-title::after{
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--secondary);
    z-index: -1;
}
.section-title.text-start::before{
    width: calc(100% + 40px);
    left: 0;
}
.section-title.text-start::after{
    width: calc(100% + 60px);
    left: 0;
}

/*** Service ***/
.service-item{
    background: var(--light);
    transition: .5s;
}
.service-item:hover{
    margin-top: -10px;
    background: var(--primary);
}
.service-item *{
    transition: .5s;
}
.service-item:hover *{
    color: #FFFFFF !important;
}

/*** Categories & Courses (zoom base) ***/
.category img,
.course-item img{
    transition: .5s;
}
.category a:hover img,
.course-item:hover img{
    transform: scale(1.1);
}

/*** Team ***/
.team-item img{ transition: .5s; }
.team-item:hover img{ transform: scale(1.1); }

/*** Testimonial ***/
.testimonial-carousel::before{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}
.testimonial-carousel::after{
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}
@media (min-width: 768px){
    .testimonial-carousel::before,
    .testimonial-carousel::after{ width: 200px; }
}
@media (min-width: 992px){
    .testimonial-carousel::before,
    .testimonial-carousel::after{ width: 300px; }
}
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text *{
    transition: .5s;
}
.testimonial-carousel .owl-item.center .testimonial-text{
    background: var(--primary) !important;
}
.testimonial-carousel .owl-item.center .testimonial-text *{
    color: #FFFFFF !important;
}
.testimonial-carousel .owl-dots{
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.testimonial-carousel .owl-dot{
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}
.testimonial-carousel .owl-dot.active{
    background: var(--secondary);
    border-color: var(--secondary);
}

/* =========================================================
   Carousel (Owl): altura real desde el inicio (evita bug resize)
   ========================================================= */
.header-carousel,
.header-carousel .owl-stage-outer,
.header-carousel .owl-stage,
.header-carousel .owl-item,
.header-carousel .owl-carousel-item{
  height: 600px;
}
@media (max-width: 991.98px){
  .header-carousel,
  .header-carousel .owl-stage-outer,
  .header-carousel .owl-stage,
  .header-carousel .owl-item,
  .header-carousel .owl-carousel-item{
    height: 520px;
  }
}

.header-carousel .owl-carousel-item{
  position: relative;
  overflow: hidden;
}

.header-carousel .owl-carousel-item > img.img-fluid,
.header-carousel .owl-carousel-item > video.img-fluid{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.header-carousel .owl-carousel-item > .position-absolute{
  z-index: 1;
}

/* =========================================================
   Categories (Avisos): overlay (limpio)
   ========================================================= */
.aviso-card{
  position: relative;
  overflow: hidden;
  border-radius: .25rem;
  cursor: pointer;
}
.aviso-card img{
  display: block;
  width: 100%;
  transition: transform .35s ease, filter .35s ease;
}

/* overlay centrado */
.aviso-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 70px;
  background: rgba(97, 18, 50, .70);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 2;
}
.aviso-card:hover .aviso-overlay{ opacity: 1; }

.aviso-overlay-content{
  width: 100%;
  max-width: 520px;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(97, 18, 50, .55);
}

/* Avisos: resumen con límite (3 líneas) */
.aviso-resumen{
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
@supports not (-webkit-line-clamp: 3){
  .aviso-resumen{ max-height: calc(1.35em * 3); }
}

.aviso-card .bg-white{
  z-index: 3;
  position: relative;
}

.aviso-card:hover img{
  transform: scale(1.05);
  filter: saturate(1.05);
}

/* evita doble zoom del CSS global de categories (solo en ese bloque) */
.category a:hover img{ transform: none; }

/* =========================================================
   Avisos tipo BLOG (sidebar + grid solo imágenes)
   ========================================================= */

/* Sidebar */
.blog-sidebar .box{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  padding: 16px;
}
.blog-sidebar .divider{
  height: 1px;
  background: rgba(0,0,0,.08);
  margin: 14px 0;
}
.blog-sidebar .search-group{ position: relative; }
.blog-sidebar .search-group .form-control{
  border-radius: 999px;
  padding-left: 16px;
  padding-right: 44px;
}
.blog-sidebar .search-group .btn{
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  padding: 6px 12px;
}

/* Botón plegable */
.cat-btn{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  padding: 10px 0;
  font-weight: 700;
  color: var(--dark);
}
.cat-btn i{ transition: transform .2s ease; }
.cat-btn[aria-expanded="true"] i{ transform: rotate(180deg); }

/* Lista */
.cat-list a{
  display: block;
  padding: 8px 0;
  color: #6c757d;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0,0,0,.08);
}
.cat-list a:last-child{ border-bottom: 0; }
.cat-list a:hover{ color: var(--primary); }

/* Grid: SOLO IMAGEN MISMO TAMAÑO */
.aviso-item .aviso-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.aviso-item .aviso-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
}
.aviso-thumb{
  width: 100%;
  height: 260px;        /* ✅ MISMO ALTO PARA TODAS */
  object-fit: cover;    /* ✅ recorta sin deformar */
  display: block;
  transition: transform .35s ease;
}

/* IMPORTANTE: si tu aviso-card está dentro de course-item o category,
   evitamos que el hover global aplique doble zoom */
.aviso-item .aviso-card:hover .aviso-thumb{
  transform: scale(1.04);
}

/* =========================================================
   Publicaciones: MEDIA UNIFORME (img / mp4 / youtube)
   ========================================================= */
.pub-media-wrap{
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
}

/* aplica a IMG, VIDEO e IFRAME */
.pub-thumb,
.pub-media-wrap video,
.pub-media-wrap iframe{
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
  border: 0;
}

/* Resumen simple (una línea con ...) */
.pub-resumen{
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 12px;
  padding-right: 12px;
  line-height: 1.35;
}

/* =========================================================
   Footer 4T
   ========================================================= */
.footer{
  background: linear-gradient(180deg, var(--primary-dark) 0%, #4b0d22 100%) !important;
  color: rgba(255,255,255,.92) !important;
}

.footer::before{
  content:"";
  display:block;
  height: 3px;
  background: linear-gradient(90deg, rgba(179,141,69,0) 0%, rgba(179,141,69,.9) 50%, rgba(179,141,69,0) 100%);
}

.footer .btn.btn-link{
  display: block;
  margin-bottom: 8px;
  padding: 0;
  text-align: left;
  color: rgba(255,255,255,.90);
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  transition: .2s ease;
}
.footer .btn.btn-link::before{
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
  color: var(--secondary);
}
.footer .btn.btn-link:hover{
  color: var(--secondary);
  letter-spacing: .3px;
  box-shadow: none;
}

.footer .btn.btn-social{
  margin-right: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.95);
  font-weight: normal;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  transition: .2s ease;
}
.footer .btn.btn-social:hover{
  color: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-1px);
}

.footer .fa-map-marker-alt,
.footer .fa-phone-alt,
.footer .fa-envelope{
  color: var(--secondary);
}

.footer .row.g-2 img{
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
  transition: .2s ease;
}
.footer .row.g-2 a:hover img{
  transform: scale(1.03);
  border-color: rgba(179,141,69,.75);
}

.footer .copyright{
  padding: 18px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.75);
}
.footer .copyright a{
  color: rgba(255,255,255,.85);
}
.footer .footer-menu a{
  margin-right: 12px;
  padding-right: 12px;
  border-right: 1px solid rgba(255,255,255,.18);
}
.footer .footer-menu a:last-child{
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

/* =========================================================
   Modal media: que siempre llene bien
   ========================================================= */
#modalLeerMasMedia .ratio,
#modalLeerMasMedia video,
#modalLeerMasMedia iframe,
#modalLeerMasMedia img{
  width: 100%;
  display: block;
  border-radius: .5rem;
}

/* preview clickable (si se usa en publicaciones) */
#modalLeerMasMedia .media-preview{
  position: relative;
  overflow: hidden;
  border-radius: .5rem;
  cursor: pointer;
}
#modalLeerMasMedia .media-preview img{
  width: 100%;
  display: block;
}
#modalLeerMasMedia .media-preview .media-play{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
#modalLeerMasMedia .media-preview .media-play span{
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: rgba(97, 18, 50, .65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 2px solid rgba(179, 141, 69, .9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  font-size: 22px;
}
/* =========================================================
   AVISOS - LAYOUT TIPO BLOG (sidebar + grid)
   ========================================================= */
.aviso-sidebar{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.aviso-search{
  display: flex;
  gap: 10px;
}
.aviso-search .form-control{
  height: 44px;
  border-radius: 10px;
}
.aviso-search .btn{
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.aviso-sep{
  margin: 18px 0;
  border-top: 1px solid rgba(0,0,0,.10);
}

.aviso-accordion{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.aviso-acc-btn{
  width: 100%;
  background: #fff;
  border: 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--dark);
  font-weight: 700;
  cursor: pointer;
}
.aviso-acc-btn i{
  color: var(--secondary);
}
.aviso-acc-btn.open{
  background: rgba(179,141,69,.07);
}

.aviso-acc-body{
  display: none;
  padding: 10px 14px 14px;
  background: #fff;
}
.aviso-acc-body.show{
  display: block;
}

.aviso-side-link{
  display: block;
  padding: 8px 0;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed rgba(0,0,0,.08);
}
.aviso-side-link:last-child{
  border-bottom: 0;
}
.aviso-side-link:hover{
  color: var(--secondary);
}

/* =========================================================
   AVISOS - POST (imagen uniforme + caja meta debajo)
   ========================================================= */
.aviso-post{
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 30px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.aviso-post:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}

.aviso-thumb{
  width: 100%;
  height: 260px;      /* ✅ todas igual */
  object-fit: cover;
  display: block;
}

/* caja debajo */
.aviso-meta{
  padding: 14px 14px 16px;
}

.aviso-fecha{
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.aviso-fecha::before{
  content: "\f073";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--secondary);
}

.aviso-titulo{
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 6px;

  /* 2 líneas máximo */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
@supports not (-webkit-line-clamp: 2){
  .aviso-titulo{ max-height: calc(1.2em * 2); }
}

.aviso-extracto{
  font-size: 14px;
  color: #6c757d;
  line-height: 1.35;
  min-height: 1.35em;
}

/* responsive: sidebar arriba en móvil */
@media (max-width: 991.98px){
  .aviso-sidebar{ position: static; }
}
/* =========================================================
   AVISOS - BLOG LAYOUT (sidebar + grid)
   ========================================================= */
.aviso-sidebar{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.aviso-search{
  display: flex;
  gap: 10px;
}
.aviso-search .form-control{
  height: 44px;
  border-radius: 10px;
}
.aviso-search .btn{
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.aviso-sep{
  margin: 18px 0;
  border-top: 1px solid rgba(0,0,0,.10);
}

.aviso-accordion{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.aviso-acc-btn{
  width: 100%;
  background: #fff;
  border: 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--dark);
  font-weight: 700;
  cursor: pointer;
}
.aviso-acc-btn i{
  color: var(--secondary);
}
.aviso-acc-btn.open{
  background: rgba(179,141,69,.07);
}

.aviso-acc-body{
  display: none;
  padding: 10px 14px 14px;
  background: #fff;
}
.aviso-acc-body.show{
  display: block;
}

.aviso-side-link{
  display: block;
  padding: 8px 0;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed rgba(0,0,0,.08);
}
.aviso-side-link:last-child{
  border-bottom: 0;
}
.aviso-side-link:hover{
  color: var(--secondary);
}

/* =========================================================
   AVISOS - POST CARD (imagen uniforme + meta abajo)
   ========================================================= */
.aviso-post{
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 30px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.aviso-post:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}

.aviso-thumb-wrap{
  width: 100%;
  background: #000;
  overflow: hidden;
}

.aviso-thumb{
  width: 100%;
  height: 260px;      /* ✅ todas igual */
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.aviso-post:hover .aviso-thumb{
  transform: scale(1.03);
}

.aviso-meta{
  padding: 14px 14px 16px;
}

.aviso-fecha{
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.aviso-fecha::before{
  content: "\f073";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--secondary);
}

.aviso-titulo{
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 6px;

  /* 2 líneas máximo */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
@supports not (-webkit-line-clamp: 2){
  .aviso-titulo{ max-height: calc(1.2em * 2); }
}

.aviso-extracto{
  font-size: 14px;
  color: #6c757d;
  line-height: 1.35;
  min-height: 1.35em;
}

/* móvil: sidebar arriba */
@media (max-width: 991.98px){
  .aviso-sidebar{ position: static; }
}
/* ===== Buscador Publicaciones (centrado y largo) ===== */
.pub-search{
  display:flex;
  gap:10px;
}
.pub-search .form-control{
  height: 48px;
  border-radius: 12px;
}
.pub-search .btn{
  height: 48px;
  border-radius: 12px;
  padding: 0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* ===== FIX: play overlay sobre la miniatura (tarjetas) ===== */
.pub-media-wrap{ position: relative !important; }
.pub-media-wrap .media-play{
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 5 !important;
  pointer-events: none !important;
}
