/* ============================================================
   noticias.css — Urban Climbing
   Listado (grid de tarjetas) y detalle de noticia.
   Tokens (--uc-orange, --uc-dark…) definidos en urban.css.
   ============================================================ */

/* ── LISTADO ─────────────────────────────────────────────── */
.uc-news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.uc-news-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.uc-news-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.uc-news-imgwrap {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f2f2f2;
}

.uc-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.uc-news-card:hover .uc-news-img { transform: scale(1.04); }

.uc-news-body {
    padding: 1.1rem 1.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.uc-news-date {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--uc-orange);
}

.uc-news-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--uc-dark);
    line-height: 1.3;
    margin: 0;
}

.uc-news-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.uc-news-empty {
    text-align: center;
    color: #888;
    padding: 2rem 0;
}
.uc-news-empty a { color: var(--uc-orange); }

/* ── DETALLE ─────────────────────────────────────────────── */
.uc-article {
    max-width: 760px;
    margin: 0 auto;
}

.uc-article-back {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--uc-orange);
    text-decoration: none;
    margin-bottom: 1.2rem;
}
.uc-article-back:hover { text-decoration: underline; }

.uc-article-title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    color: var(--uc-dark);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 0.6rem;
}

.uc-article-date {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--uc-orange);
    margin-bottom: 1.5rem;
}

.uc-article-imgwrap {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.75rem;
    background: #f2f2f2;
}

.uc-article-img {
    width: 100%;
    height: auto;
    display: block;
}

.uc-article-body {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
}
.uc-article-body p { margin: 0 0 1.1rem; }
.uc-article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; display: block; }
.uc-article-body figure { margin: 1.5rem 0; }
.uc-article-body figure img { margin: 0; }
.uc-article-body figcaption { font-size: 12px; color: #888; font-style: italic; margin-top: 8px; text-align: center; line-height: 1.5; }
.uc-article-body a { color: var(--uc-orange); text-decoration: underline; }
.uc-article-body h2, .uc-article-body h3 { color: var(--uc-dark); margin: 1.6rem 0 0.6rem; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) { .uc-news { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .uc-news { grid-template-columns: 1fr; } }
