/* ============================================================
   TSA Lire Aussi – Frontend Styles
   ============================================================ */

/* ---- Base block ---- */
.tsa-lire-aussi-block {
    display: flex;
    align-items: center;
    margin: 1.5em 0;
    font-family: inherit;
    line-height: 1.4;
}

.tla-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tla-label {
    display: inline-block;
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tla-link {
    font-size: 0.97em;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.35;
}

.tla-link:hover {
    text-decoration: underline;
}

/* ---- Thumbnail ---- */
.tsa-lire-aussi-block.has-thumb {
    gap: 12px;
}

.tla-thumb-link {
    flex-shrink: 0;
}

.tla-thumb {
    display: block;
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 3px;
}

/* ==============================================================
   STYLE: TSA (trait rouge/vert à gauche, fond gris clair)
   ============================================================== */
.tsa-lire-aussi-block.style-tsa {
    background: #f4f5f6;
    border-left: 4px solid #c0392b;
    padding: 10px 14px;
    border-radius: 0 4px 4px 0;
    gap: 12px;
}

.tsa-lire-aussi-block.style-tsa .tla-label {
    color: #c0392b;
}

.tsa-lire-aussi-block.style-tsa .tla-link {
    color: #222;
}

.tsa-lire-aussi-block.style-tsa .tla-link:hover {
    color: #c0392b;
}

/* ==============================================================
   STYLE: Minimaliste (flèche + texte seul)
   ============================================================== */
.tsa-lire-aussi-block.style-minimal {
    padding: 8px 0;
    border: none;
    background: none;
    gap: 0;
}

.tsa-lire-aussi-block.style-minimal .tla-label {
    color: #888;
    font-size: 0.68em;
}

.tsa-lire-aussi-block.style-minimal .tla-link {
    color: #1a73e8;
    font-weight: 600;
}

.tsa-lire-aussi-block.style-minimal .tla-link::before {
    content: "→ ";
    font-style: normal;
}

/* ==============================================================
   STYLE: Encadré (bordered)
   ============================================================== */
.tsa-lire-aussi-block.style-bordered {
    border: 1.5px solid #dde2e8;
    border-radius: 8px;
    padding: 12px 16px;
    background: #fff;
    gap: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.tsa-lire-aussi-block.style-bordered .tla-label {
    color: #1a73e8;
}

.tsa-lire-aussi-block.style-bordered .tla-link {
    color: #1e1e1e;
}

.tsa-lire-aussi-block.style-bordered .tla-link:hover {
    color: #1a73e8;
}

/* ==============================================================
   STYLE: Sombre (dark)
   ============================================================== */
.tsa-lire-aussi-block.style-dark {
    background: #1e2535;
    border-left: 4px solid #3b82f6;
    padding: 10px 14px;
    border-radius: 0 4px 4px 0;
    gap: 12px;
}

.tsa-lire-aussi-block.style-dark .tla-label {
    color: #3b82f6;
}

.tsa-lire-aussi-block.style-dark .tla-link {
    color: #e8eaf0;
}

.tsa-lire-aussi-block.style-dark .tla-link:hover {
    color: #3b82f6;
}

/* ---- Responsive ---- */
@media (max-width: 480px) {
    .tsa-lire-aussi-block.has-thumb {
        flex-direction: column;
        align-items: flex-start;
    }

    .tla-thumb {
        width: 100%;
        height: auto;
        max-height: 160px;
    }
}
