@charset "UTF-8";
/* NC Artículos Grid v1.2.0 */

.nc-ag-wrap {
    width: 100%;
}

/* ── Paginación: slides ── */
.nc-ag-slide {
    display: none;
}

.nc-ag-slide.active {
    display: block;
}

/* ── Grid ── */
.nc-ag-grid {
    display: grid;
    grid-template-columns: repeat(var(--nc-ag-cols, 3), 1fr);
    gap: var(--nc-ag-gap, 24px);
}

/* ── Tarjeta ── */
.nc-ag-card {
    background-color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ── Imagen ── */
.nc-ag-img-wrap {
    display: block;
    position: relative;
    width: 100%;
    padding-bottom: 62%;
    overflow: hidden;
    background: #f0ebe2;
    line-height: 0;
}

.nc-ag-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.nc-ag-card:hover .nc-ag-img {
    transform: scale(1.04);
}

/* ── Contenido ── */
.nc-ag-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ── Meta ── */
.nc-ag-meta {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.nc-ag-cat {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

/* ── Título ── */
.nc-ag-title {
    margin: 0 0 10px;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

.nc-ag-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nc-ag-title a:hover {
    color: #C9B88A;
}

/* ── Extracto ── */
.nc-ag-excerpt {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 12px;
    flex: 1;
}

/* ── Botón "Ver más" por tarjeta ── */
.nc-ag-btn-wrap {
    display: flex;
    margin-top: 16px;
}

.nc-ag-btn {
    display: inline-block;
    background-color: transparent;
    color: #C9B88A;
    border: 1px solid #C9B88A;
    border-style: solid;
    padding: 10px 28px;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.4;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.nc-ag-btn:hover {
    background-color: #C9B88A;
    color: #fff;
    border-color: #C9B88A;
}

/* ── Puntos de paginación ── */
.nc-ag-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.nc-ag-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #cccccc;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    line-height: 1;
    font-size: 0;
}

.nc-ag-dot:hover {
    transform: scale(1.2);
}

.nc-ag-dot.active {
    background-color: #C9B88A;
    border-color: #C9B88A;
}
