/*
Theme Name: TATA MEDIA BÉNIN TV
Theme URI: https://tatamediabenin.bj/
Author: TATA MEDIA BÉNIN TV
Description: Thème officiel TATA MEDIA BÉNIN TV
Version: 4.0
*/

/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --blue: #0757a6;
    --blue-dark: #032c55;
    --blue-deep: #021d38;
    --red: #df1f26;
    --red-dark: #b9151b;
    --gold: #d8a928;
    --white: #ffffff;
    --light: #f5f7fa;
    --ink: #101828;
    --muted: #667085;
    --line: #e4e9f0;
    --shadow: 0 6px 20px rgba(16, 24, 40, .08);
}

/* =========================================================
   BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

/* =========================================================
   BARRE SUPERIEURE
   ========================================================= */

.topbar {
    background: var(--blue-deep);
    color: #ffffff;
    min-height: 36px;
    padding: 7px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 12px;
}

.topbar span {
    white-space: nowrap;
}

/* =========================================================
   EN-TÊTE
   ========================================================= */

.site-header {
    width: 100%;
    max-width: 1200px;
    min-height: 105px;
    margin: 0 auto;
    padding: 12px 20px;
    display: grid;
    grid-template-columns: 150px 1fr 170px;
    align-items: center;
    gap: 20px;
}

/* Logo */

.brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.brand a {
    display: block;
    line-height: 0;
}

.brand img.logo {
    display: block;
    width: 105px;
    height: auto;
    max-height: 68px;
    object-fit: contain;
}

/* Nom et slogan */

.slogan {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 5px;
}

.slogan strong {
    color: var(--blue-dark);
    font-size: 22px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: .3px;
}

.slogan span {
    color: var(--red);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .6px;
}

/* Réseaux sociaux */

.social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

/* =========================================================
   MENU PRINCIPAL
   ========================================================= */

.nav {
    width: 100%;
    min-height: 46px;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.nav a {
    min-height: 46px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .2px;
    transition: background .2s ease;
}

.nav a:hover {
    background: var(--blue-dark);
}

.nav > a:first-child {
    background: var(--red);
}

.nav > a:first-child:hover {
    background: var(--red-dark);
}

/* =========================================================
   CONTENEUR
   ========================================================= */

.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* =========================================================
   FLASH INFO
   ========================================================= */

.breaking {
    width: 100%;
    max-width: 1200px;
    min-height: 44px;
    margin: 18px auto;
    padding: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--light);
    border-left: 5px solid var(--red);
}

.breaking b {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    background: var(--red);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.breaking span {
    padding: 0 18px;
    color: var(--ink);
    font-size: 13px;
}

/* =========================================================
   DIRECT TV
   ========================================================= */

.live-section {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 30px;
}

.live-title {
    min-height: 44px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--blue-dark);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
}

.live-title .dot {
    color: var(--red);
    font-size: 18px;
}

.live-player {
    width: 100%;
    height: 430px;
    background:
        linear-gradient(rgba(2, 29, 56, .86), rgba(2, 29, 56, .92)),
        url("assets/logo.png") center / 180px auto no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-player .play {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    font-size: 27px;
}

.live-meta {
    min-height: 45px;
    padding: 10px 15px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
}

/* =========================================================
   TITRES DE SECTIONS
   ========================================================= */

.title {
    margin: 0 0 16px;
    padding-left: 12px;
    border-left: 5px solid var(--red);
    color: var(--blue-dark);
    font-size: 21px;
    line-height: 1.2;
    font-weight: 900;
}

/* =========================================================
   GRILLE PRINCIPALE
   ========================================================= */

.grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 35px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 25px;
}

/* =========================================================
   À LA UNE
   ========================================================= */

.hero {
    margin: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.hero > img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
}

.hero .caption {
    padding: 17px 19px 18px;
}

.hero .caption h1 {
    margin: 8px 0;
    font-size: 25px;
    line-height: 1.25;
}

.hero .caption h1 a {
    text-decoration: none;
}

.hero .caption h1 a:hover {
    color: var(--blue);
}

.hero .meta {
    color: var(--muted);
    font-size: 12px;
}

/* Image de remplacement */

.hero-fallback {
    width: 100%;
    height: 390px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-fallback img {
    width: 170px;
    height: auto;
    object-fit: contain;
}

/* =========================================================
   ÉTIQUETTES
   ========================================================= */

.tag {
    display: inline-block;
    padding: 4px 8px;
    background: var(--red);
    color: #ffffff;
    border-radius: 3px;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

/* =========================================================
   DERNIÈRES INFOS
   ========================================================= */

.side {
    min-width: 0;
}

.side .title {
    margin-bottom: 8px;
}

.side .news {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.side .news b {
    display: block;
    font-size: 14px;
    line-height: 1.4;
}

.side .news b a {
    text-decoration: none;
}

.side .news b a:hover {
    color: var(--blue);
}

.side .news .meta {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
}

/* =========================================================
   DERNIÈRES ACTUALITÉS
   ========================================================= */

.cards {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 35px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.card > img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.card-body {
    padding: 14px 15px 16px;
}

.card-body h3 {
    margin: 8px 0;
    font-size: 16px;
    line-height: 1.35;
}

.card-body h3 a {
    text-decoration: none;
}

.card-body h3 a:hover {
    color: var(--blue);
}

.meta {
    color: var(--muted);
    font-size: 11px;
}

/* =========================================================
   VIDÉOS
   ========================================================= */

.videos-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 35px;
    padding: 0 20px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.video-grid .video {
    min-width: 0;
}

.video-grid .video img {
    display: block;
    width: 100%;
    height: 185px;
    object-fit: cover;
}

.video-thumb {
    width: 100%;
    height: 185px;
    background: var(--blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.video-thumb span {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* =========================================================
   BOUTONS RUBRIQUES
   ========================================================= */

.cats {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 35px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cats a {
    padding: 10px 17px;
    background: var(--blue);
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.cats a:hover {
    background: var(--blue-dark);
}

/* =========================================================
   ENVOYER UNE INFORMATION
   ========================================================= */

.submit {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 24px 25px;
    background: var(--blue-dark);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-radius: 6px;
}

.submit h2 {
    margin: 0 0 5px;
    font-size: 20px;
}

.submit > div > div {
    font-size: 13px;
    opacity: .9;
}

.submit .btn {
    flex: 0 0 auto;
    padding: 12px 18px;
    background: var(--red);
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 900;
}

.submit .btn:hover {
    background: var(--red-dark);
}

/* =========================================================
   PIED DE PAGE
   ========================================================= */

.site-footer {
    margin-top: 0;
    background: var(--blue-deep);
    color: #ffffff;
}

.footer-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 38px 20px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}

.site-footer img {
    display: block;
    width: 90px;
    height: auto;
    margin-bottom: 12px;
}

.site-footer h3 {
    margin: 0 0 12px;
    font-size: 16px;
}

.site-footer p {
    margin: 0 0 7px;
    font-size: 13px;
    line-height: 1.6;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 7px;
    font-size: 13px;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--gold);
}

.site-footer .copyright {
    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,.15);
    text-align: center;
    font-size: 11px;
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .site-header {
        grid-template-columns: 120px 1fr 140px;
        gap: 12px;
    }

    .brand img.logo {
        width: 90px;
    }

    .slogan strong {
        font-size: 18px;
    }

    .slogan span {
        font-size: 10px;
    }

    .nav a {
        padding: 0 12px;
        font-size: 12px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .topbar {
        padding: 8px 12px;
        flex-direction: column;
        gap: 3px;
        text-align: center;
        font-size: 10px;
    }

    .topbar span {
        white-space: normal;
    }

    .site-header {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 15px;
        gap: 10px;
        text-align: center;
    }

    .brand {
        justify-content: center;
    }

    .brand img.logo {
        width: 90px;
        max-height: 60px;
    }

    .slogan strong {
        font-size: 18px;
    }

    .slogan span {
        font-size: 10px;
    }

    .social {
        justify-content: center;
    }

    .nav {
        justify-content: center;
    }

    .nav a {
        min-height: 38px;
        padding: 0 9px;
        font-size: 11px;
    }

    .wrap {
        padding: 0 15px 30px;
    }

    .breaking {
        margin: 12px 15px;
        width: calc(100% - 30px);
    }

    .breaking span {
        font-size: 11px;
        padding: 0 10px;
    }

    .live-section {
        margin: 15px 0 25px;
    }

    .live-player {
        height: 250px;
    }

    .live-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .grid {
        padding: 0 15px;
        margin-bottom: 25px;
    }

    .hero > img,
    .hero-fallback {
        height: 260px;
    }

    .hero .caption h1 {
        font-size: 20px;
    }

    .cards {
        padding: 0 15px;
        grid-template-columns: 1fr;
    }

    .card > img {
        height: 230px;
    }

    .videos-section {
        padding: 0 15px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-grid .video img,
    .video-thumb {
        height: 230px;
    }

    .cats {
        padding: 0 15px;
    }

    .submit {
        margin: 0 15px 30px;
        width: calc(100% - 30px);
        flex-direction: column;
        align-items: flex-start;
    }

    .submit .btn {
        width: 100%;
        text-align: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

    .site-footer img {
        margin-left: auto;
        margin-right: auto;
    }
    /* =====================================================
   CORRECTION EN-TÊTE — TATA MEDIA BÉNIN TV
   ===================================================== */

.site-header {
    display: grid;
    grid-template-columns: 140px 1fr 160px;
    align-items: center;
    gap: 25px;
    padding: 12px 30px;
    background: #ffffff;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand img.logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
}

.slogan {
    text-align: center;
    line-height: 1.3;
}

.slogan strong {
    display: block;
    font-size: 25px;
    font-weight: 800;
    color: #0757a6;
    margin-bottom: 6px;
}

.slogan span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.5px;
}

.social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.social a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0757a6;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

/* MENU */
.nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    margin: 0;
    background: #0757a6;
}

.nav > a,
.nav .menu-item > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.nav > a:hover,
.nav .menu-item > a:hover {
    background: #063f78;
}

/* Correction du menu WordPress */
.nav .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav .menu-item {
    margin: 0;
    padding: 0;
}

/* MOBILE */
@media (max-width: 700px) {

    .site-header {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 15px;
        gap: 10px;
    }

    .brand {
        justify-content: center;
    }

    .brand img.logo {
        width: 75px;
        height: 75px;
    }

    .slogan strong {
        font-size: 20px;
    }

    .slogan span {
        font-size: 11px;
    }

    .social {
        justify-content: center;
    }

    .nav {
        flex-wrap: wrap;
    }

    .nav > a,
    .nav .menu-item > a {
        min-height: 42px;
        padding: 0 10px;
        font-size: 12px;
    }
    /* =====================================================
   CORRECTION DES ESPACES ENTRE LES SECTIONS
   ===================================================== */

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 30px;
}

.breaking {
    margin-bottom: 18px;
}

.live-section {
    margin-bottom: 25px;
}

.title {
    margin-top: 20px;
    margin-bottom: 12px;
}

.grid {
    gap: 25px;
    margin-bottom: 25px;
}

section {
    margin-bottom: 25px;
}

.videos-section {
    margin-top: 25px;
    margin-bottom: 25px;
}

.cats {
    margin-top: 20px;
    margin-bottom: 25px;
}

.submit {
    margin-top: 20px;
    margin-bottom: 25px;
}

footer {
    margin-top: 25px;
}

/* Réduction des espaces sur mobile */
@media (max-width: 700px) {

    .wrap {
        padding: 15px 12px 25px;
    }

    .title {
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .grid,
    section,
    .videos-section {
        margin-bottom: 20px;
    }

    .live-section {
        margin-bottom: 20px;
    }
     /* =====================================================
    CORRECTION DES IMAGES
    ===================================================== */

.hero {
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.hero-fallback img {
    width: 100%;
    height: 420px;
    object-fit: contain;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    overflow: hidden;
}

.card > img,
.card > a img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.video-thumb {
    height: 210px;
}

@media (max-width: 900px) {

    .hero img,
    .hero-fallback img {
        height: 350px;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .card > img,
    .card > a img,
    .video-thumb {
        height: 190px;
    }
}

@media (max-width: 600px) {

    .hero img,
    .hero-fallback img {
        height: 260px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .card > img,
    .card > a img,
    .video-thumb {
        height: 210px;
    }
    /* =====================================================
   PIED DE PAGE — TATA MEDIA BÉNIN TV
   ===================================================== */

.site-footer {
    background: #0757a6;
    color: #fff;
    margin-top: 30px;
    padding: 35px 25px 15px;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer .footer-logo {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.site-footer h3 {
    margin: 0 0 12px;
    font-size: 17px;
}

.site-footer p {
    margin: 6px 0;
    line-height: 1.5;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin-bottom: 7px;
}

.site-footer .copyright {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,.25);
    text-align: center;
    font-size: 13px;
}

/* Si le thème utilise directement footer */
footer {
    background: #0757a6;
    color: #fff;
    padding: 30px 20px 15px;
}

footer a {
    color: #fff;
}

@media (max-width: 700px) {

    .site-footer {
        padding: 25px 15px 12px;
        text-align: center;
    }

    footer {
        padding: 25px 15px 12px;
        text-align: center;
    }

    .site-footer .footer-logo {
        width: 65px;
        height: 65px;
    }
}
/* =====================================================
   À LA UNE — DÉFILEMENT GAUCHE VERS DROITE
   ===================================================== */

.une-section {
    width: 100%;
    overflow: hidden;
}

.une-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #ffffff;
}

.une-track {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: uneDefilement 35s linear infinite;
}

.une-item {
    flex: 0 0 360px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-sizing: border-box;
}

.une-image {
    flex: 0 0 130px;
    width: 130px;
    height: 90px;
    overflow: hidden;
    display: block;
}

.une-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.une-content {
    flex: 1;
    min-width: 0;
}

.une-content .tag {
    display: inline-block;
    margin-bottom: 5px;
}

.une-content h3 {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.3;
}

.une-content h3 a {
    color: #111;
    text-decoration: none;
}

.une-content h3 a:hover {
    color: #0757a6;
}

@keyframes uneDefilement {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100vw);
    }
}

/* Pause au passage de la souris */
.une-slider:hover .une-track {
    animation-play-state: paused;
}

@media (max-width: 700px) {

    .une-item {
        flex-basis: 300px;
    }

    .une-image {
        flex-basis: 105px;
        width: 105px;
        height: 75px;
    }

    .une-content h3 {
        font-size: 14px;
    }

    .une-track {
        gap: 12px;
        animation-duration: 30s;
    }
    /* =====================================================
   À LA UNE — DÉFILEMENT CONTINU GAUCHE → DROITE
   ===================================================== */

.une-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.une-track {
    display: flex;
    align-items: stretch;
    width: max-content;
    gap: 20px;
    animation: une-gauche-droite 40s linear infinite;
}

.une-item {
    flex: 0 0 360px;
    box-sizing: border-box;
}

@keyframes une-gauche-droite {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100vw);
    }
}

.une-slider:hover .une-track {
    animation-play-state: paused;
}/* =====================================================
   À LA UNE — DÉFILEMENT CONTINU
   ===================================================== */

.une-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.une-track {
    display: flex;
    align-items: stretch;
    gap: 20px;
    width: max-content;
    animation: une-defilement 35s linear infinite;
}

.une-item {
    flex: 0 0 360px;
    width: 360px;
    box-sizing: border-box;
}

.une-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

@keyframes une-defilement {
    from {
        transform: translateX(100vw);
    }

    to {
        transform: translateX(-100%);
    }
}

.une-slider:hover .une-track {
    animation-play-state: paused;
}.une-track {
    background: red !important;
    border: 5px solid blue !important;
}/* TEST CSS TATA MEDIA */
body {
    border-top: 15px solid red !important;
}/* =====================================================
   VIDÉOS YOUTUBE — AFFICHAGE
   ===================================================== */

.video-youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-youtube iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.video-grid .card {
    overflow: hidden;
}

.video-grid .card-body {
    padding: 16px;
}/* =====================================================
   DERNIÈRES VIDÉOS — DESIGN
   ===================================================== */

.videos-section {
    margin-top: 40px;
}

.videos-section .title {
    margin-bottom: 20px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.video-grid .card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(16, 24, 40, .08);
    border: 1px solid #e4e9f0;
}

.video-grid .video-youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-grid .video-youtube iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.video-grid .card-body {
    padding: 16px;
}

.video-grid .card-body h3 {
    margin: 8px 0;
    font-size: 18px;
    line-height: 1.35;
}

.video-grid .card-body h3 a {
    text-decoration: none;
}

.video-grid .meta {
    font-size: 13px;
    color: #667085;
}

/* MOBILE */

@media (max-width: 700px) {

    .video-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .video-grid .card-body h3 {
        font-size: 17px;
    }
/* =====================================================
   DERNIÈRES ACTUALITÉS — DESIGN PREMIUM
   ===================================================== */

.cards {
    gap: 24px;
}

.cards .card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(16, 24, 40, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.cards .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(16, 24, 40, .13);
}

.cards .card > img,
.cards .card > a img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.cards .card-body {
    padding: 16px;
}

.cards .card-body h3 {
    margin: 8px 0 10px;
    font-size: 18px;
    line-height: 1.4;
}

.cards .card-body h3 a {
    text-decoration: none;
}

.cards .card-body .meta {
    font-size: 12px;
    color: var(--muted);
}

@media (max-width: 700px) {

    .cards {
        gap: 18px;
    }

    .cards .card > img,
    .cards .card > a img {
        height: 200px;
    }

    .cards .card-body h3 {
        font-size: 17px;
    }

}
}<div class="tata-live-player">
    <div class="tata-live-header">
        <span class="live-dot"></span>
        EN DIRECT — TATA MEDIA BÉNIN TV
    </div>

    <video id="tata-live-video"
           controls
           playsinline
           preload="metadata"
           poster="https://tatamediabenin.bj/wp-content/themes/tata-media-benin-tv/assets/logo.png">
    </video>
</div>

<script src="https://cdn.jsdelivr.net/npm/hls.js@1"></script>

<script>
document.addEventListener('DOMContentLoaded', function () {
    const video = document.getElementById('tata-live-video');

    const stream =
        'https://helga.iptv2022.com/static/RESTAURATION_AFRIQUE_TV/index.m3u8';

    if (video.canPlayType('application/vnd.apple.mpegurl')) {
        video.src = stream;
    } 
    else if (window.Hls && Hls.isSupported()) {
        const hls = new Hls();

        hls.loadSource(stream);
        hls.attachMedia(video);

        hls.on(Hls.Events.MANIFEST_PARSED, function () {
            // Le visiteur clique sur ▶ pour démarrer le direct.
        });

        hls.on(Hls.Events.ERROR, function (event, data) {
            console.log('Erreur du flux DIRECT :', data);
        });
    } 
    else {
        console.log('Ce navigateur ne prend pas en charge le flux HLS.');
    }
});
</script>

<style>
.tata-live-player {
    width: 100%;
    background: #071d2d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.20);
}

.tata-live-header {
    padding: 12px 16px;
    background: #062b4d;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.live-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: red;
    border-radius: 50%;
    margin-right: 8px;
    animation: tataLive 1.2s infinite;
}

.tata-live-player video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

@keyframes tataLive {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}
</style>
}```css
/* =========================================================
   TATA MEDIA BÉNIN TV — NOUVEL EN-TÊTE
   ========================================================= */

.tata-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 18px rgba(16, 24, 40, .08);
    position: relative;
    z-index: 1000;
}

.header-inner {
    max-width: 1250px;
    margin: 0 auto;
    min-height: 92px;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.brand a {
    display: flex;
    align-items: center;
}

.brand .logo {
    width: 82px;
    height: auto;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-text strong {
    color: var(--blue-dark);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.brand-text span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
}

/* DIRECT TV */

.direct-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 17px;
    background: var(--red);
    color: #fff !important;
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: 0 5px 14px rgba(223,31,38,.25);
    transition: .25s ease;
}

.direct-button:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.direct-button small {
    display: block;
    font-size: 9px;
    opacity: .85;
    letter-spacing: 1px;
}

.direct-button strong {
    display: block;
    font-size: 14px;
    letter-spacing: .5px;
}

.live-dot {
    width: 11px;
    height: 11px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(255,255,255,.18);
    animation: tata-live 1.5s infinite;
}

@keyframes tata-live {
    0%,100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .45;
        transform: scale(.75);
    }
}

/* RÉSEAUX */

.social {
    display: flex;
    align-items: center;
    gap: 7px;
}

.social a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--blue-dark);
    text-decoration: none;
    font-weight: 800;
    transition: .2s ease;
}

.social a:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

/* NAVIGATION */

.tata-nav {
    background: var(--blue-deep);
    position: relative;
    z-index: 999;
}

.nav-inner {
    max-width: 1250px;
    margin: 0 auto;
    min-height: 50px;
    padding: 0 22px;
    display: flex;
    align-items: center;
}

.nav-links {
    flex: 1;
}

.tata-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tata-nav li {
    margin: 0;
}

.tata-nav li a {
    display: block;
    padding: 16px 13px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    transition: .2s ease;
}

.tata-nav li a:hover {
    background: rgba(255,255,255,.1);
    color: #fff !important;
}

.nav-direct {
    background: var(--red);
    color: #fff !important;
    padding: 9px 15px;
    border-radius: 7px;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 12px;
}

.mobile-nav-title,
.menu-toggle {
    display: none;
}

/* MOBILE */

@media (max-width: 850px) {

    .topbar-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 14px;
        padding: 7px 12px;
        font-size: 11px;
        text-align: center;
    }

    .header-inner {
        min-height: 76px;
        padding: 10px 14px;
        gap: 10px;
    }

    .brand .logo {
        width: 62px;
    }

    .brand-text strong {
        font-size: 15px;
    }

    .brand-text span {
        font-size: 9px;
    }

    .social {
        display: none;
    }

    .direct-button {
        padding: 8px 10px;
    }

    .direct-button small {
        font-size: 7px;
    }

    .direct-button strong {
        font-size: 11px;
    }

    .menu-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 8px;
        background: var(--blue);
        color: #fff;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-inner {
        display: block;
        padding: 0;
    }

    .mobile-nav-title {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .tata-nav.mobile-open .nav-links {
        display: block;
    }

    .tata-nav ul {
        display: block;
    }

    .tata-nav li a {
        padding: 13px 18px;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .nav-direct {
        display: none;
    }
}

@media (max-width: 480px) {

    .brand-text {
        display: none;
    }

    .brand .logo {
        width: 58px;
    }

    .direct-button {
        margin-left: auto;
    }

    .header-inner {
        justify-content: space-between;
    }
}
```
/* =========================================================
   TATA MEDIA BÉNIN TV — NOUVEAU DESIGN ACCUEIL
   AJOUTER À LA FIN DE style.css
========================================================= */

/* ---------- À LA UNE ---------- */

.homepage-news {
    width: 100%;
    margin: 30px 0;
}

.homepage-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 25px;
    align-items: stretch;
}

/* Grande actualité */

.hero-news {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 22px rgba(0,0,0,.10);
    border: 1px solid #e7e7e7;
}

.hero-label {
    display: inline-block;
    background: #d71920;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    padding: 9px 18px;
    letter-spacing: .5px;
}

.hero-image {
    display: block;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #111;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.hero-image:hover img {
    transform: scale(1.04);
}

.hero-content {
    padding: 22px 25px 25px;
}

.hero-content .tag,
.latest-content .tag,
.card-body .tag {
    display: inline-block;
    background: #d71920;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 9px;
    border-radius: 3px;
    margin-bottom: 9px;
}

.hero-content h1 {
    font-size: 32px;
    line-height: 1.15;
    margin: 4px 0 10px;
    font-weight: 800;
}

.hero-content h1 a,
.latest-content h3 a,
.card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.hero-content h1 a:hover,
.latest-content h3 a:hover,
.card-body h3 a:hover {
    color: #d71920;
}

.hero-content p {
    color: #555;
    line-height: 1.6;
    margin: 14px 0;
}

.read-more {
    display: inline-block;
    background: #111;
    color: #fff !important;
    text-decoration: none;
    padding: 11px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    transition: .25s;
}

.read-more:hover {
    background: #d71920;
}


/* ---------- DERNIÈRES NOUVELLES ---------- */

.latest-news {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 22px rgba(0,0,0,.09);
    border: 1px solid #e7e7e7;
    padding: 0 18px 12px;
}

.latest-news .title {
    margin-left: -18px;
    margin-right: -18px;
}

.latest-news-item {
    display: grid;
    grid-template-columns: 105px minmax(0,1fr);
    gap: 13px;
    padding: 14px 0;
    border-bottom: 1px solid #e8e8e8;
}

.latest-news-item:last-child {
    border-bottom: none;
}

.latest-thumb {
    width: 105px;
    height: 75px;
    display: block;
    overflow: hidden;
    border-radius: 6px;
    background: #eee;
}

.latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-content h3 {
    font-size: 15px;
    line-height: 1.3;
    margin: 2px 0 7px;
}

.latest-content .tag {
    font-size: 9px;
    padding: 3px 6px;
    margin: 0;
}

.meta {
    color: #888;
    font-size: 12px;
}


/* ---------- TITRES DE SECTIONS ---------- */

.title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #111;
    color: #fff;
    padding: 12px 18px;
    border-left: 6px solid #d71920;
    font-size: 19px;
    font-weight: 800;
    margin: 30px 0 20px;
    letter-spacing: .3px;
}

.title:after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.18);
}


/* ---------- DIRECT TV ---------- */

.live-section {
    margin: 35px 0;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,.18);
}

.live-title {
    background: #d71920;
    color: #fff;
    padding: 14px 20px;
    font-size: 18px;
    font-weight: 800;
}

.live-title .dot {
    color: #fff;
    margin-right: 8px;
    animation: tataLivePulse 1.3s infinite;
}

@keyframes tataLivePulse {
    0%,100% {
        opacity: 1;
    }
    50% {
        opacity: .35;
    }
}

.live-player {
    background: #000;
    width: 100%;
}

.live-player video {
    width: 100%;
    display: block;
    background: #000;
}

.live-meta {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    color: #ddd;
    padding: 13px 18px;
    font-size: 13px;
    background: #181818;
}

.live-meta strong {
    color: #ff3030;
}


/* ---------- DERNIÈRES ACTUALITÉS ---------- */

.latest-articles {
    margin-top: 30px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
}

.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,.13);
}

.card > a {
    display: block;
    overflow: hidden;
}

.card > a img,
.card > img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 17px;
}

.card-body h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 5px 0 10px;
}


/* ---------- CATÉGORIES ---------- */

.categories-section {
    margin-top: 35px;
}

.cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cats a {
    display: inline-block;
    padding: 11px 17px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    transition: .25s;
}

.cats a:hover {
    background: #d71920;
}


/* ---------- VIDÉOS ---------- */

.videos-section {
    margin-top: 35px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 20px;
}

.video-youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-youtube iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-thumb {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    text-decoration: none;
}

.video-thumb span {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #d71920;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}


/* ---------- ENVOYEZ-NOUS VOS INFORMATIONS ---------- */

.submit {
    margin: 40px 0;
    padding: 25px 28px;
    background: linear-gradient(135deg,#111,#252525);
    color: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.submit h2 {
    margin: 0 0 7px;
    font-size: 21px;
}

.submit .btn {
    display: inline-block;
    background: #d71920;
    color: #fff;
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 5px;
    font-weight: 800;
    white-space: nowrap;
    transition: .25s;
}

.submit .btn:hover {
    background: #fff;
    color: #111;
}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 1000px) {

    .homepage-news-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        height: 380px;
    }

    .video-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .homepage-news {
        margin-top: 20px;
    }

    .hero-image {
        height: 250px;
    }

    .hero-content {
        padding: 17px;
    }

    .hero-content h1 {
        font-size: 23px;
    }

    .latest-news {
        padding-left: 14px;
        padding-right: 14px;
    }

    .latest-news .title {
        margin-left: -14px;
        margin-right: -14px;
    }

    .latest-news-item {
        grid-template-columns: 85px minmax(0,1fr);
        gap: 10px;
    }

    .latest-thumb {
        width: 85px;
        height: 65px;
    }

    .latest-content h3 {
        font-size: 14px;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card > a img,
    .card > img {
        height: 220px;
    }

    .submit {
        flex-direction: column;
        align-items: flex-start;
    }

    .submit .btn {
        width: 100%;
        text-align: center;
    }

    .live-meta {
        flex-direction: column;
    }

    .title {
        font-size: 16px;
    }

}/* =========================================================
   TATA MEDIA BÉNIN TV
   CORRECTION FINALE MOBILE + VIDÉOS
========================================================= */

/* =========================================================
   ARTICLES — SUPPRESSION DES ANCIENS SOULIGNEMENTS
========================================================= */

.homepage-news a,
.latest-articles a,
.latest-news a,
.videos-section a,
.video-grid a,
.card a {
    text-decoration: none !important;
}


/* =========================================================
   GRANDE UNE
========================================================= */

.hero-news {
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    display: block;
    overflow: hidden;
}

.hero-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}


/* =========================================================
   DERNIÈRES NOUVELLES
========================================================= */

.latest-news-item {
    width: 100%;
    box-sizing: border-box;
}

.latest-thumb {
    overflow: hidden;
    flex-shrink: 0;
}

.latest-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}


/* =========================================================
   CARTES ACTUALITÉS
========================================================= */

.latest-articles .cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.latest-articles .card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.latest-articles .card > a {
    display: block;
    width: 100%;
    overflow: hidden;
}

.latest-articles .card > a img,
.latest-articles .card > img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
}


/* =========================================================
   VIDÉOS
========================================================= */

.videos-section {
    width: 100%;
}

.video-grid {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.video-grid .card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.video-grid .card > a {
    display: block;
    width: 100%;
}

.video-grid .card img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 190px !important;
    object-fit: cover !important;
}

.video-grid .video-youtube {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-grid .video-youtube iframe {
    width: 100% !important;
    height: 100% !important;
    display: block;
    border: 0;
}

.video-grid .card-body {
    width: 100%;
    box-sizing: border-box;
}

.video-grid .card-body h3 {
    margin-top: 6px;
    line-height: 1.35;
}


/* =========================================================
   RUBRIQUES
========================================================= */

.categories-section {
    width: 100%;
}

.categories-section .cats {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
}

.categories-section .cats a {
    text-decoration: none !important;
}


/* =========================================================
   ENVOYEZ-NOUS VOS INFORMATIONS
========================================================= */

.submit {
    box-sizing: border-box;
    width: 100%;
}

.submit .btn {
    text-decoration: none !important;
}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 1000px) {

    .latest-articles .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .homepage-news {
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .homepage-news-grid {
        display: block !important;
    }

    /* Grande image UNE */

    .hero-image {
        height: 245px !important;
    }

    .hero-content {
        padding: 17px !important;
    }

    .hero-content h1 {
        font-size: 23px !important;
        line-height: 1.25 !important;
    }

    /* Dernières nouvelles */

    .latest-news {
        margin-top: 20px;
    }

    .latest-news-item {
        grid-template-columns: 85px minmax(0, 1fr) !important;
    }

    .latest-thumb {
        width: 85px !important;
        height: 65px !important;
    }

    .latest-content h3 {
        font-size: 14px !important;
    }

    /* Articles */

    .latest-articles .cards {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .latest-articles .card {
        width: 100% !important;
    }

    .latest-articles .card > a img,
    .latest-articles .card > img {
        width: 100% !important;
        height: 220px !important;
        object-fit: cover !important;
    }

    /* Vidéos */

    .video-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .video-grid .card {
        width: 100% !important;
    }

    .video-grid .card img {
        width: 100% !important;
        height: 230px !important;
        object-fit: cover !important;
    }

    .video-grid .video-youtube {
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
    }

    .video-grid .video-youtube iframe {
        width: 100% !important;
        height: 100% !important;
    }

    /* Rubriques */

    .categories-section .cats {
        justify-content: center !important;
        gap: 9px !important;
    }

    .categories-section .cats a {
        padding: 10px 14px !important;
        font-size: 12px !important;
    }

    /* Envoi d'information */

    .submit {
        margin-top: 28px !important;
        margin-bottom: 28px !important;
        padding: 23px 20px !important;
    }

    .submit h2 {
        font-size: 20px !important;
        line-height: 1.35 !important;
    }

    .submit .btn {
        width: 100% !important;
        box-sizing: border-box;
        text-align: center !important;
    }

    /* Titres */

    .title {
        margin-top: 25px !important;
        margin-bottom: 16px !important;
        font-size: 17px !important;
        padding: 11px 14px !important;
    }

    /* DIRECT */

    .live-section {
        margin-top: 25px !important;
        margin-bottom: 25px !important;
        border-radius: 8px !important;
    }

    .live-title {
        font-size: 16px !important;
        padding: 13px 15px !important;
    }

}```css
/* =========================================================
   PARTAGE DES ARTICLES — TATA MEDIA BÉNIN TV
   ========================================================= */

.tata-share {
    margin: 35px 0;
    padding: 22px;
    background: #f5f7fa;
    border-top: 4px solid #0757a6;
    border-bottom: 1px solid #e4e9f0;
    border-radius: 8px;
}

.tata-share h3 {
    margin: 0 0 18px;
    color: #032c55;
    font-size: 21px;
    font-weight: 800;
}

.tata-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tata-share-buttons a,
.tata-share-buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 0;
    border-radius: 6px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.tata-share-buttons a:hover,
.tata-share-buttons button:hover {
    opacity: .88;
    transform: translateY(-2px);
}

/* WhatsApp */

.tata-share-buttons .share-whatsapp {
    background: #25D366;
}

/* Facebook */

.tata-share-buttons .share-facebook {
    background: #1877F2;
}

/* TikTok */

.tata-share-buttons .share-tiktok {
    background: #111111;
}

/* Copier le lien */

.tata-share-buttons .share-copy {
    background: #0757a6;
}

#tata-copy-message {
    margin-top: 12px;
    color: #0757a6;
    font-size: 13px;
    font-weight: 700;
}

/* MOBILE */

@media (max-width: 600px) {

    .tata-share {
        margin: 25px 0;
        padding: 18px;
    }

    .tata-share h3 {
        font-size: 19px;
    }

    .tata-share-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .tata-share-buttons a,
    .tata-share-buttons button {
        width: 100%;
        min-height: 45px;
        padding: 10px 5px;
        font-size: 13px;
        box-sizing: border-box;
    }
}

@media (max-width: 380px) {

    .tata-share-buttons {
        grid-template-columns: 1fr;
    }
}
```
/* =========================================================
   ICÔNES DE PARTAGE — TATA MEDIA BENIN TV
   ========================================================= */

.tata-share {
    margin: 35px 0;
    padding: 22px;
    background: #f5f7fa;
    border-top: 4px solid #0757a6;
    border-bottom: 1px solid #e4e9f0;
    border-radius: 8px;
}

.tata-share h3 {
    margin: 0 0 18px;
    color: #032c55;
    font-size: 21px;
    font-weight: 800;
}

.tata-share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tata-share-buttons a,
.tata-share-buttons button {
    width: 50px;
    height: 50px;
    padding: 0;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform .2s ease, opacity .2s ease;
}

.tata-share-buttons a:hover,
.tata-share-buttons button:hover {
    transform: translateY(-3px);
    opacity: .88;
}

.tata-share-buttons svg {
    width: 25px;
    height: 25px;
    fill: #ffffff;
}

.share-whatsapp {
    background: #25D366;
}

.share-facebook {
    background: #1877F2;
}

.share-tiktok {
    background: #111111;
}

.share-copy {
    background: #0757a6;
}

#tata-copy-message {
    margin-top: 12px;
    color: #0757a6;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 600px) {

    .tata-share {
        margin: 25px 0;
        padding: 18px;
    }

    .tata-share h3 {
        font-size: 19px;
    }

    .tata-share-buttons {
        gap: 10px;
    }

    .tata-share-buttons a,
    .tata-share-buttons button {
        width: 46px;
        height: 46px;
    }

    .tata-share-buttons svg {
        width: 22px;
        height: 22px;
    }
}

}
}
}