/*NOTICIAS*/
        .barra-titulo-n {
            width: 100%;
            background-color: #741010; 
            padding: 20px 0;
            text-align: left;   
        }

        .not-heading {
            font-family: "Poppins", Arial, sans-serif;
            font-size: 2.2rem;
            color: #ffffff;            /* Azul tipo Bootstrap */
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            position: relative;
            padding-bottom: 0.5rem;
        }

        .not-heading::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            height: 3px;
            background:#ffffff;
            border-radius: 2px;
        }

  /* Ajustes para pantallas pequeñas */
  @media (max-width: 576px) {
    .not-heading {
      font-size: 1.6rem;
    }
  }
        .bb-n{
            background-color:#e9ecef ;
            border-radius: 10px;
        }
        .sec-not{
            background-color: #23295a;
            opacity: 90%;

        }
        .barra-titulo-n{
            width: 100%;
            background-color: #e9ecef; 
            padding: 20px 0;
            text-align: left;
            border-radius: 10px;
            
        }
        .titulo-principal-n {
            font-size: 2.5rem;
            font-weight: 700;
            color: #23295a;
            position: relative;
            text-align: center;
        }
        .titulo-principal-n::after {
            content: "";
            width: 60%;
            height: 4px;
            background-color: #23295a;
            position: absolute;
            left: 50%;
            bottom: -10px;
            transform: translateX(-50%);
            border-radius: 2px;
        }
        .card-n{
            transition: transform 0.5s;
            flex: 1 1 calc(50% - 20px);
            padding: 20px;
            border-radius: 20px;
            background-color: #ffffff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            min-width: 200px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            border: 2px solid #23295a;
            color: black;
        }
        .btn-noticias{
            background-color: #23295a;
            color: #ffffff;
            border: 2px solid #ffffff;
        }

        .btn-noticias:hover{
            border: 2px solid #23295a;
            color: #23295a;
            background-color: #ffffff;
        }

        /* MODAL DE NOTICIAS */
        .modal-content {
            background-color: #ffffff;
            border: 2px solid #23295a;
            border-radius: 20px;
            padding: 10px;
            font-family: "Poppins", Arial, sans-serif;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .modal-header {
            background-color: #23295a;
            color: #ffffff;
            border-bottom: none;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
        }

        .modal-title {
            font-weight: 700;
            font-size: 1.5rem;
            padding: 20px;
        }

        .modal-body {
            color: black;
            padding: 30px;
            border: 2px solid #23295a;
        }

        .modal-body img {
            max-width: 100%;
            max-height: 300px; /* Limita la altura máxima */
            object-fit: cover; /* Evita que se deforme */
            border-radius: 10px;
            margin-bottom: 15px;
            border: 1px solid #23295a;
        }
        .card-title {
            font-weight: 700;
            color: #23295a;
        }

        .modal-body h5 {
            font-size: 1.3rem;
            color: #23295a;
        }

        .modal-body p {
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }

        .modal-body hr {
            border-top: 2px solid #e9ecef;
        }

        .modal-footer {
            border-top: none;
            padding-top: 0;
        }

        .modal-body a.btn {
            font-size: 0.875rem;
            background-color: #23295a;
            color: #ffffff;
            border: none;
            
        }

        .modal-body a.btn:hover {
            background-color: #ffffff;
            color: #23295a;
            border: 1px solid #23295a;
        }

        .detalle-flotante {
            overflow: hidden;
            text-align: justify;
            line-height: 1.6;
            color: #000;
        }

        .img-float {
            float: right;
            width: 350px;
            margin-left: 20px;
            margin-bottom: 15px;
            padding: 5px;
            border-radius: 10px;
            background-color: #fff;
            object-fit: contain;
            max-width: 100%;
            height: auto;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }
        /* Hover suave */
        .img-float:hover {
            transform: scale(1.03);
            transition: transform 0.3s ease;
        }

/* Responsivo: en pantallas pequeñas se adapta automáticamente */
        @media (max-width: 768px) {
            .img-float {
                float: none;
                display: block;
                margin: 0 auto 1rem auto;
                width: 100%;
                max-width: 300px;
            }
        }
