/* ============================================================
   4ACYBER - Veille Techno
   Style commun aux 4 pages /news/news_techno*.php
   ============================================================ */

:root {
    --techno-bg: #000000;
    --techno-surface: #0d0d0d;
    --techno-surface-alt: #141414;
    --techno-border: #2c2c2c;
    --techno-border-soft: #202020;
    --techno-text: #eeeeee;
    --techno-text-muted: #aaaaaa;
    --techno-green: #16a329;
    --techno-green-light: #55d266;
}

html {
    background: var(--techno-bg);
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--techno-bg);
    color: var(--techno-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.techno-page,
.techno-page * {
    box-sizing: border-box;
}

.techno-page {
    width: 100%;
    background: var(--techno-bg);
}

/* ---------- Sous-menu News Techno ---------- */

.techno-hero {
    width: 100%;
    padding: 16px 24px;
    border-bottom: 1px solid var(--techno-border-soft);
    overflow-x: auto;
}

.techno-nav {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    white-space: nowrap;
    font-size: .82rem;
    line-height: 1.4;
    font-weight: 700;
}

.techno-nav__title {
    color: var(--techno-green-light);
    text-transform: uppercase;
}

.techno-nav__separator {
    color: var(--techno-border);
}

.techno-nav a {
    color: var(--techno-text-muted);
    text-decoration: none;
    border-radius: 5px;
    padding: 3px 6px;
    transition: color .15s ease, background-color .15s ease;
}

.techno-nav a:hover,
.techno-nav a:focus-visible {
    color: var(--techno-green-light);
    background: rgba(22, 163, 41, .12);
}

.techno-nav a.active {
    color: #ffffff;
    background: rgba(22, 163, 41, .22);
}

.techno-nav a:focus-visible {
    outline: 2px solid var(--techno-green-light);
    outline-offset: 2px;
}

.techno-nav__refresh {
    color: var(--techno-text-muted);
}

/* ---------- Zone des flux ---------- */

.techno-content {
    width: 100%;
    margin: 0;
    padding: 30px 0 48px;
}

.techno-table-scroll {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-color: var(--techno-green) var(--techno-surface);
}

/*
 * Le HTML/PHP à l'intérieur de #technog est volontairement conservé
 * tel quel. Toute la modernisation visuelle est réalisée ici.
 */

#technog {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 12px;
    table-layout: fixed;
    background: transparent;
}

#technog tr {
    vertical-align: top;
}

#technog #rssne {
    width: 33.333%;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--techno-border);
    border-radius: 12px;
    background: var(--techno-surface);
    color: var(--techno-text);
    vertical-align: top;
}

#technog #rss {
    min-height: 345px;
    padding: 16px 16px 12px;
    font-size: 12px;
}

#technog #rss ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#technog #rss li {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

/* Espacement historique de style1.css :
   les entrées RSS sont en 12 px, sans padding vertical ajouté. */
#technog #rss li a {
    display: block;
    margin: 0;
    padding: 0;
    overflow-wrap: anywhere;
    text-decoration: none;
    font-size: 12px;
    line-height: normal;
    transition: color .15s ease, background-color .15s ease;
}

#technog #rss li a:hover,
#technog #rss li a:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, .035);
}

#technog #rss li a:focus-visible {
    outline: 2px solid var(--techno-green-light);
    outline-offset: -2px;
}

/* Identifiants historiques repris de style1.css :
   rss2r = aujourd'hui, rss2j = hier, rss2 = plus ancien. */
#technog a#rss2 {
    color: #ffffff;
    display: block;
}

#technog a#rss2r {
    color: #00ccff;
    display: block;
}

#technog a#rss2j {
    color: #ffff00;
    display: block;
}

#technog #source {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border-top: 1px solid var(--techno-border);
    background: var(--techno-surface-alt);
    color: var(--techno-green-light);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}

#technog #source:hover,
#technog #source:focus-visible {
    color: #ffffff;
}

/* ---------- Pied de page ---------- */

.techno-footer {
    margin: 0;
    padding: 20px 24px 34px;
    border-top: 1px solid var(--techno-border-soft);
    background: var(--techno-bg);
    color: var(--techno-text-muted);
    font-size: .85rem;
    text-align: center;
}

.techno-footer p {
    margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1050px) {
    .techno-content {
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (max-width: 700px) {
    .techno-hero {
        padding: 12px 10px;
    }

    .techno-content {
        padding: 22px 10px 36px;
    }

    #technog {
        min-width: 900px;
        border-spacing: 8px;
    }

    #technog #rss {
        min-height: 320px;
        padding: 13px 12px 10px;
    }

    #technog #rss li a {
        font-size: 12px;
        line-height: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .techno-nav a,
    #technog #rss li a {
        transition: none;
    }
}