body {
    /*font-family: Arial, sans-serif;*/
    background-color: #f4f4f4;
    margin: 0;
    /*padding: 20px;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    /*gap: 20px;*/
}
.titulo-principal {
    font-size: 28px;
    color: #8D1E1F; 
    font-weight: bold;
    margin-bottom: 5px;
}

.margenGral {
    border: 2px solid #8D1E1F;
    border-top: none;
    padding: 10px;
    border-radius: 0 0 5px 5px; 
    margin-top: 0;
    margin-bottom: 15px;
}
.margenGral > p{
    padding-top: 10px!important;
}

.subtitulo {
    font-size: 16px;
    color: gray;
}
section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
	
}

.card {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
	margin-bottom: 20px;
    width: 800px;
}

.card .date {
    text-align: center;
    margin-right: 20px;
    color: rgb(172, 3, 3);
}

#fecha-estatus{
font-weight: bold;
}

.card .date span {
    display: block;
    font-size: 24px;
    font-weight: bold;
}

.card .content {
    flex-grow: 1;
    width: 550px;
    margin-right: 20px;
}

.card .content h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
	text-align: justify;
	font-weight: bold;
}

.card .content p {
    margin: 5px 0;
    color: gray;
    font-size: 14px;
}

.card .button {
    background-color: rgb(168, 5, 5);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.card .button:hover {
    background-color: darkred;
}
.btn1 {
    background-color: rgb(168, 5, 5);
    color: white!important;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn1:hover {
    background-color: darkred;
}
.info-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.info-icons i {
    color: gray;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;  
    justify-content: center;  
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: auto;
  }


.modal-content {
    position: relative; 
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    width: 70%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    text-align: justify;
  }


.close {
    position: absolute;
    top: 1px;
    right: 9px;
    color: red;
    font-size: 30px;
    cursor: pointer;
}

.highlight {
    background-color: red;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    color: white;
}
.barratitulo {
    background-color: #8D1E1F;
    padding: 10px;
    margin-bottom: 0;
    border-radius: 5px 5px 0 0; 
    color: white;
    font-size: 20px;
    text-align: center;
}

.importante {
    background-color: #ffb700;
    padding: 10px;
    border-radius: 5px 5px 0 0; 
    margin-top: 15px; 
    color: white;
    font-size: 18px;
}
.url {
    font-weight: lighter;
    font-style: italic;
    color: rgb(162, 0, 0)!important;
    text-decoration: underline!important;
  }
  
  .url:hover {
    color: rgb(255, 0, 0);
  }

ul {
    list-style: none;
    margin: 0; 
    padding: 0;
}

li {
    font-size: 15px;
    padding-left: 6px;
}

li.margen {
    border: 2px solid #ffb700;
    border-top: none;
    padding: 10px!important;
    border-radius: 0 0 5px 5px; 
    margin-bottom: 15px!important;

}

a {
    color: rgb(255, 145, 0);
    /*text-decoration: underline;*/
    cursor: pointer;
}
hr.rounded {
    border-top: 6px solid #bbb;
    border-radius: 3px;
}


@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .card {
        flex-direction: column;
        width: 90%;
        text-align: center;
    }

    .card .content {
        width: 100%;
        margin-right: 0;
    }
    
    .card .date {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .card .button {
        margin-top: 10px;
    }
    
    .info-icons {
        justify-content: center;
    }

    .modal-content {
        width: 95%;
    }
   
}
