/* ===== REPO / DOCUMENTOS CSS ===== */
/* Reutiliza el hero y la paleta de blog.css */

:root {
    --havana-gold: #BB9C4B;
    --havana-red: #da291c;
    --havana-black: #000000;
    --havana-white: #ffffff;
}

/* ===== CONTENEDOR ===== */
.repo-container {
    padding: 80px 10%;
    background: var(--havana-white);
}

.repo-list {
    display: flex;
    flex-direction: column;
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== FILA DE DOCUMENTO ===== */
.repo-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.repo-item:first-child {
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.repo-item__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Pretítulo: la categoría, pequeño */
.repo-pretitle {
    color: var(--havana-red);
    font-family: 'Druk Text', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.repo-title {
    color: var(--havana-black);
    font-family: 'Druk Text', sans-serif;
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.1;
}

.repo-desc {
    color: #333333;
    font-family: 'Rotis Sans Serif', sans-serif;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 400;
    margin: 0;
}

/* ===== BOTÓN VER ===== */
.repo-item__action {
    flex-shrink: 0;
}

.repo-btn {
    background-color: var(--havana-red);
    color: var(--havana-white);
    padding: 14px 45px;
    font-family: 'Druk Text', sans-serif;
    font-size: 20px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.repo-btn:hover {
    background-color: var(--havana-black);
    color: var(--havana-white);
}

.repo-empty {
    text-align: center;
    color: #777777;
    font-family: 'Rotis Sans Serif', sans-serif;
    font-size: 20px;
    padding: 40px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .repo-container {
        padding: 50px 5%;
    }

    .repo-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .repo-item__action {
        width: 100%;
    }

    .repo-btn {
        display: block;
        text-align: center;
    }
}
