/* ── RCAD CTA v2 ─────────────────────────────────────────────────────────── */
.rcad-cta-v2,
.rcad-cta-v2 *,
.rcad-cta-v2 *::before,
.rcad-cta-v2 *::after { box-sizing: border-box; }

.rcad-cta-v2 {
    max-width: 760px;
    margin: 2.5em auto 1.5em;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Hero ── */
.rcad-ctav2-hero {
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 20px 22px;
}

.rcad-ctav2-hero-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.rcad-ctav2-dwg-box {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: #E6F1FB;
    border: 0.5px solid #B5D4F4;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #185FA5;
}

.rcad-ctav2-dwg-box span {
    font-size: 10px;
    font-weight: 600;
    color: #185FA5;
    letter-spacing: .5px;
}

.rcad-ctav2-hero-text { flex: 1; }

.rcad-ctav2-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFF3DC;
    color: #854F0B;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 100px;
    border: 0.5px solid #FAC775;
    margin-bottom: 8px;
}

.rcad-ctav2-title {
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 6px;
    line-height: 1.2;
}

.rcad-ctav2-title em { color: #EF9F27; font-style: normal; }

.rcad-ctav2-sub {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.rcad-ctav2-sub a { color: #185FA5; text-decoration: none; }
.rcad-ctav2-sub a:hover { text-decoration: underline; }

/* ── Botones acción ── */
.rcad-ctav2-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.rcad-ctav2-act {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    min-height: 68px;
    background: #F5F5F0;
    border: 0.5px solid rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 12px 14px;
    margin: 0;
    cursor: pointer;
    appearance: none;
    transition: background .12s, border-color .12s, color .15s;
    color: #1a1a1a;
    text-decoration: none;
    font-family: inherit;
    line-height: 1.2;
}

.rcad-ctav2-act:hover {
    background: #fff;
    border-color: rgba(0,0,0,0.25);
}

.rcad-ctav2-act-center { justify-content: center; }

.rcad-ctav2-act svg { flex-shrink: 0; transition: fill .2s ease, stroke .2s ease; }

.rcad-ctav2-act > div { min-width: 0; text-align: left; }
.rcad-ctav2-count { font-size: 16px; font-weight: 500; color: #1a1a1a; line-height: 1.1; }
.rcad-ctav2-label { font-size: 11px; color: #888; margin-top: 1px; white-space: nowrap; }
.rcad-ctav2-act-text { font-size: 13px; font-weight: 500; }

/* Like activo */
.rcad-ctav2-act.rcad-download-like.is-active {
    color: #e0245e !important;
    border-color: #fcd7e2;
    background: #fff5f8;
}
.rcad-ctav2-act.rcad-download-like.is-active svg {
    fill: #e0245e;
    stroke: #e0245e;
}
.rcad-ctav2-act.rcad-download-like.is-active .rcad-ctav2-count,
.rcad-ctav2-act.rcad-download-like.is-active .rcad-ctav2-label {
    color: #e0245e;
}

/* Guardar activo */
.rcad-ctav2-act.rcad-download-save.is-active {
    color: #f6a800 !important;
    border-color: #fde8aa;
    background: #fffbf0;
}
.rcad-ctav2-act.rcad-download-save.is-active svg {
    fill: #f6a800;
    stroke: #f6a800;
}

/* Comentar */
.rcad-ctav2-act-comment { color: #378ADD !important; }
.rcad-ctav2-act-comment svg { stroke: #378ADD; }

/* ── Unlock ── */
.rcad-ctav2-unlock {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #FDF6E9;
    border: 0.5px solid #FAC775;
    border-radius: 12px;
    padding: 16px 18px;
}

.rcad-ctav2-lock-wrap {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: #FFF3DC;
    border: 0.5px solid #FAC775;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EF9F27;
    flex-shrink: 0;
}

.rcad-ctav2-unlock-body { flex: 1; }
.rcad-ctav2-unlock-body h4 { font-size: 14px; font-weight: 500; color: #633806; margin: 0 0 3px; }
.rcad-ctav2-unlock-body p { font-size: 12px; color: #854F0B; margin: 0 0 10px; line-height: 1.5; }

.rcad-ctav2-btn-amber {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #EF9F27;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .12s;
    text-decoration: none;
    font-family: inherit;
}

.rcad-ctav2-btn-amber:hover { background: #BA7517; }

/* ── Separador ── */
.rcad-ctav2-sep {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0;
}

.rcad-ctav2-sep-line { flex: 1; height: 0.5px; background: rgba(0,0,0,0.12); }
.rcad-ctav2-sep-text { font-size: 11px; color: #aaa; white-space: nowrap; }

/* ── Foro ── */
.rcad-ctav2-forum {
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.12);
    border-radius: 12px;
    overflow: hidden;
}

.rcad-ctav2-fh {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 0.5px solid rgba(0,0,0,0.08);
    gap: 10px;
}

.rcad-ctav2-fh-left { display: flex; align-items: center; gap: 10px; }

.rcad-ctav2-fh-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    background: #E6F1FB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #185FA5;
}

.rcad-ctav2-fh-title { font-size: 14px; font-weight: 500; color: #1a1a1a; margin-bottom: 1px; }
.rcad-ctav2-fh-sub { font-size: 11px; color: #888; }

.rcad-ctav2-fh-link {
    font-size: 12px;
    color: #185FA5;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    white-space: nowrap;
}

.rcad-ctav2-fh-link:hover { text-decoration: underline; }

/* Stats */
.rcad-ctav2-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 0.5px solid rgba(0,0,0,0.08);
}

.rcad-ctav2-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border-right: 0.5px solid rgba(0,0,0,0.08);
}

.rcad-ctav2-stat:last-child { border-right: none; }
.rcad-ctav2-stat-n { font-size: 18px; font-weight: 500; color: #1a1a1a; }
.rcad-ctav2-stat-l { font-size: 10px; color: #888; margin-top: 2px; text-align: center; }

/* Categorías */
.rcad-ctav2-cat-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: #888;
    padding: 10px 18px 6px;
}

.rcad-ctav2-cat-list { padding: 0 18px 12px; display: flex; flex-direction: column; gap: 5px; }

.rcad-ctav2-cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border: 0.5px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: background .12s;
    text-decoration: none;
    color: inherit;
}

.rcad-ctav2-cat-row:hover { background: #F5F5F0; }
.rcad-ctav2-cat-left { display: flex; align-items: center; gap: 10px; }

.rcad-ctav2-cat-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
}

.rcad-ctav2-cat-name { font-size: 13px; color: #1a1a1a; }
.rcad-ctav2-cat-right { display: flex; align-items: center; gap: 8px; }
.rcad-ctav2-cat-count { font-size: 12px; color: #888; }

.rcad-ctav2-pill-hot {
    font-size: 10px; font-weight: 500; padding: 2px 8px;
    border-radius: 100px; background: #FAECE7; color: #993C1D;
    border: 0.5px solid #F0997B; white-space: nowrap;
}

/* CTA foro */
.rcad-ctav2-forum-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #F0F6FF;
    border-top: 0.5px solid #B5D4F4;
    color: #378ADD;
}

.rcad-ctav2-cta-body { flex: 1; }
.rcad-ctav2-cta-body strong { font-size: 13px; font-weight: 500; color: #0C447C; display: block; margin-bottom: 2px; }
.rcad-ctav2-cta-body p { font-size: 12px; color: #185FA5; margin: 0; }

.rcad-ctav2-cta-btns { display: flex; gap: 6px; }

.rcad-ctav2-btn-ghost {
    display: inline-flex; align-items: center; gap: 5px;
    background: transparent; color: #185FA5;
    border: 0.5px solid #85B7EB; border-radius: 8px;
    padding: 7px 12px; font-size: 12px; font-weight: 500;
    cursor: pointer; white-space: nowrap; transition: all .12s;
    text-decoration: none; font-family: inherit;
}

.rcad-ctav2-btn-ghost:hover { background: #E6F1FB; }

.rcad-ctav2-btn-blue {
    display: inline-flex; align-items: center; gap: 5px;
    background: #185FA5; color: #fff !important; border: none;
    border-radius: 8px; padding: 7px 14px; font-size: 12px;
    font-weight: 500; cursor: pointer; white-space: nowrap;
    transition: background .12s; text-decoration: none; font-family: inherit;
}

.rcad-ctav2-btn-blue:hover { background: #0C447C; }

/* ── Mobile ── */
@media (max-width: 480px) {
    .rcad-ctav2-title { font-size: 18px; }
    .rcad-ctav2-act { padding: 10px; gap: 6px; }
    .rcad-ctav2-unlock { flex-direction: column; text-align: center; }
    .rcad-ctav2-lock-wrap { margin: 0 auto; }
    .rcad-ctav2-forum-cta { flex-direction: column; align-items: flex-start; }
    .rcad-ctav2-cta-btns { width: 100%; }
    .rcad-ctav2-btn-ghost, .rcad-ctav2-btn-blue { flex: 1; justify-content: center; }
    .rcad-ctav2-fh { flex-wrap: wrap; }
    .rcad-ctav2-actions { grid-template-columns: 1fr 1fr; }
    .rcad-ctav2-dwg-box { width: 48px; height: 48px; min-width: 48px; }
}
