.cards-1nota{
    width: calc(100% - 0.3em);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr ;
    grid-gap: 1em;
    grid-template-areas: "a ";
  
}

.card1nota{
    width: 100%;
    position: relative;
    transition: all 0.25s ease;
    cursor: pointer;
    font-family:"helvetica condensed";
  
}

.card1nota:last-child {
    margin-bottom: 0.6em;
}

.card1nota:before {
    height: 0;
    content: "";
    display: block;
    padding-bottom: 50%;
}

.card1nota.content:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    content: "";
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), black);
}

.card1nota:nth-child(1) {
    grid-area: a;
  
  
}

.card1nota:nth-child(2) {
    grid-area: b;
 
}

.card1nota:nth-child(3) {
    grid-area: c;

}

.card1nota:nth-child(4) {
    grid-area: d;
}

.card1nota-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card1nota-data {

    position: absolute;
    left: 3em;
    bottom: 0.4em;
    z-index: 5;
    font-size: 0.8em;
    font-weight: 300;
    line-height: 1.3em;
    font-family: helvetica;
    color: #fff;

}
.card1nota-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card1nota-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
 
}

.card1nota-label {
    position: absolute;
    top: 0.45rem;
    left: 0.45rem;
    background: #e00505;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.7em;
    color: white;
    padding: 0.5em;
}

.card1nota-title {
     position: absolute;
    left: 1em;
    bottom: 0.8em;
    z-index: 5;
    font-size: 2em;
    font-weight: bold;
    line-height: 1.2em;

}
.card1nota-title a { color: #fff !important; } 
.card1nota-title a:hover {color: #bb0000 !important; }
.card1nota.form {
    position: relative;
}

.card1nota.form:before {
    background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
}

.card1nota.form:after {
    position: absolute;
    top: 0.5em;
    left: 0.5em;
    width: calc(100% - 1em);
    height: calc(100% - 1em);
    content: "";
    background: #252833;
}

.card1nota.form .form-title {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 7vw;
    font-weight: 900;
    z-index: 5;
    text-transform: uppercase;
    background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

.card1nota.form .form-title:before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    content: "Sign Up";
    opacity: 0.5;
    filter: blur(10px);
    transition: all 0.25s ease;
    z-index: 2;
    background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    transform: translateX(-50%) translateY(-50%);
}

.card1nota:nth-child(2) .card1nota-label {
    background: #BB0000;
}

.card1nota:nth-child(3) .card1nota-label {
    background: #BB0000;
}

.card1nota:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.35);
}
@media only screen and (max-width: 768px) {
.maincard{
   display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr;
grid-gap: 1em;
width: 100%;
}
.card1nota::before {
    height: 0;
    content: "";
    display: block;
    padding-bottom: 60%;
}
.card1nota{
    width: 100%;
    position: relative;
    transition: all 0.25s ease;
    cursor: pointer;
    font-family: "helvetica condensed";
    font-weight: 600;
}
.card1nota-title {
    position: absolute;
        left: 0.45em;
    right: 0.45em;
    bottom: 1em;
    z-index: 5;
    font-size: 1.6em;
    font-weight: bold;
    line-height: 1em;
    font-family: helvetica condensed;
    }
    .card1nota-data {

    position: absolute;
    left: 1em;
    bottom: 0.4em;
    z-index: 5;
    font-size: 0.8em;
    font-weight: 300;
    line-height: 1.3em;
    font-family: helvetica;
    color: #fff;

}

.card1nota-title a { color: #fff !important; } 
.card1nota-title a:hover {color: #bb0000 !important; }
.card1nota:hover .form-title:before {
    filter: blur(3px);
    opacity: 0.7;
}
	
	
/* ESTILO 2: Clases completamente diferentes */
/* Reset completo para style2 */
.china-sidebar-wrapper.style2 *:before,
.china-sidebar-wrapper.style2 *:after {
    display: none !important;
    content: none !important;
}

/* Contenedor principal style2 */
.cards-1nota-style2 {
    width: 100%;
    margin-bottom: 30px;
    padding: 0;
}

/* Contenedor de la nota style2 */
.card1nota-style2 {
    width: 100%;
    margin-bottom: 1em;
    display: flex;
    flex-direction: column;
    background: none;
    position: relative;
}

/* Título style2 */
.card1nota-title-style2 {
    margin-bottom: 15px;
    padding: 0;
}

.card1nota-title-style2 a {
    font-size: 2em;
    font-weight: bold;
    line-height: 1.2em;
    color: #222;
    text-decoration: none;
    font-family: "helvetica condensed";
}

.card1nota-title-style2 a:hover {
    color: #bb0000;
}

/* Contenedor de imagen style2 */
.card1nota-image-container-style2 {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 0.3em;
    margin: 0;
    padding: 0;
}

.card1nota-image-container-style2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Etiqueta style2 */
.card1nota-label-style2 {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e00505;
    color: white;
    padding: 5px 10px;
    font-size: 0.8em;
    border-radius: 3px;
    z-index: 5;
    text-transform: uppercase;
    font-weight: 500;
    font-family: "helvetica condensed";
}

/* Datos style2 */
.card1nota-data-style2 {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 5px 10px;
    font-size: 0.8em;
    border-radius: 3px;
    z-index: 5;
    font-family: helvetica;
    font-weight: 300;
    line-height: 1.3em;
}

/* Responsive para style2 */
@media only screen and (max-width: 768px) {
    .card1nota-title-style2 a {
        font-size: 1.4em;
    }
    
    .card1nota-image-container-style2 {
        height: 180px;
    }
    
    .card1nota-data-style2 {
        font-size: 0.7em;
        padding: 4px 8px;
    }
    
    .card1nota-label-style2 {
        font-size: 0.7em;
        padding: 4px 8px;
    }
}

/* Asegurarse de que no haya márgenes o paddings no deseados */
.china-sidebar-wrapper.style2 {
    margin: 0;
    padding: 0;
}

/* Eliminar cualquier estilo heredado no deseado */
.china-sidebar-wrapper.style2 .cards-1nota-style2,
.china-sidebar-wrapper.style2 .card1nota-style2,
.china-sidebar-wrapper.style2 .card1nota-title-style2,
.china-sidebar-wrapper.style2 .card1nota-image-container-style2 {
    background: none;
    box-shadow: none;
}
	/* Estilo para el excerpt */
.card1nota-excerpt-style2 {
    margin-top: 15px;
    font-size: 1em;
    line-height: 1.5em;
    color: #666;
    font-family: helvetica;
    font-weight: 300;
}

/* Responsive para el excerpt */
@media only screen and (max-width: 768px) {
    .card1nota-excerpt-style2 {
        font-size: 0.9em;
        margin-top: 10px;
    }
}