/* MatchAfrique Theme - Compiled CSS */
/* Build: 2026-02-05 15:36:06 */

/**
 * MatchAfrique Theme - CSS Variables
 *
 * @package MatchAfrique
 */

/* === Fonts Graphik === */
@font-face {
    font-family: 'Graphik Condensed';
    src: url('../fonts/Graphik-CondensedBold.woff2') format('woff2'),
         url('../fonts/GraphikCondensed-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Graphik';
    src: url('../fonts/GraphikBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Graphik';
    src: url('../fonts/GraphikRegular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Graphik Super';
    src: url('../fonts/GraphikSuper.woff2') format('woff2'),
         url('../fonts/GraphikSuper.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* === Couleurs principales === */
    --ma-primary: #00D900;
    --ma-primary-dark: #00B800;
    --ma-primary-light: #33FF33;
    --ma-primary-rgb: 0, 217, 0;

    /* === Neutres === */
    --ma-black: #000000;
    --ma-white: #FFFFFF;
    --ma-gray-900: #121212;
    --ma-gray-800: #333333;
    --ma-gray-700: #444444;
    --ma-gray-600: #666666;
    --ma-gray-500: #888888;
    --ma-gray-400: #999999;
    --ma-gray-300: #BBBBBB;
    --ma-gray-200: #DDDDDD;
    --ma-gray-100: #F5F5F5;
    --ma-gray-50: #FAFAFA;
    --ma-gray-border: #E0E0E0;

    /* === États === */
    --ma-success: #28A745;
    --ma-error: #DC3545;
    --ma-warning: #FFC107;
    --ma-info: #17A2B8;

    /* === Liens === */
    --ma-link: #0073AA;
    --ma-link-hover: #005177;

    /* === Typographie === */
    --ma-font-primary: 'Graphik', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                       "Helvetica Neue", Arial, sans-serif;
    --ma-font-title: 'Graphik Condensed', 'Graphik', -apple-system, sans-serif;
    --ma-font-hero: 'Graphik Super', 'Graphik', -apple-system, sans-serif;
    --ma-font-mono: "SF Mono", Monaco, "Cascadia Code", Consolas, monospace;

    /* Tailles de police */
    --ma-text-xs: 12px;
    --ma-text-sm: 14px;
    --ma-text-base: 16px;
    --ma-text-lg: 18px;
    --ma-text-xl: 20px;
    --ma-text-h3: 22px;    /* H3 Desktop */
    --ma-text-2xl: 24px;
    --ma-text-h2: 26px;    /* H2 Desktop */
    --ma-text-3xl: 32px;

    /* Line heights */
    --ma-leading-tight: 1.2;
    --ma-leading-snug: 1.35;
    --ma-leading-normal: 1.5;
    --ma-leading-relaxed: 1.65;

    /* === Espacements === */
    --ma-space-xs: 4px;
    --ma-space-sm: 8px;
    --ma-space-md: 16px;
    --ma-space-lg: 24px;
    --ma-space-xl: 32px;
    --ma-space-2xl: 48px;
    --ma-space-3xl: 64px;

    /* === Border radius === */
    --ma-radius-sm: 4px;
    --ma-radius-md: 8px;
    --ma-radius-lg: 12px;
    --ma-radius-xl: 16px;
    --ma-radius-full: 9999px;

    /* === Ombres === */
    --ma-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --ma-shadow-md: 0 2px 6px rgba(0, 0, 0, 0.12);
    --ma-shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
    --ma-shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.2);

    /* === Transitions === */
    --ma-transition-fast: 150ms ease;
    --ma-transition-normal: 200ms ease;
    --ma-transition-slow: 300ms ease;

    /* === Z-index === */
    --ma-z-dropdown: 100;
    --ma-z-sticky: 200;
    --ma-z-fixed: 300;
    --ma-z-modal: 400;
    --ma-z-tooltip: 500;

    /* === Dimensions === */
    --ma-header-height: 60px;
    --ma-container-max: 1200px;
    --ma-sidebar-width: 300px;

    /* === Breakpoints (pour référence JS) === */
    --ma-bp-sm: 640px;
    --ma-bp-md: 768px;
    --ma-bp-lg: 1024px;
    --ma-bp-xl: 1280px;
}

/* === Mode sombre (préparation future) === */
@media (prefers-color-scheme: dark) {
    :root {
        /* Décommenter pour activer le mode sombre automatique */
        /*
        --ma-bg-page: var(--ma-gray-900);
        --ma-bg-card: #1E1E1E;
        --ma-text-primary: #E0E0E0;
        --ma-text-secondary: #A0A0A0;
        --ma-border-color: #333333;
        */
    }
}

/* === Variables dépendantes du thème === */
:root {
    --ma-bg-page: var(--ma-white);
    --ma-bg-card: var(--ma-white);
    --ma-bg-alt: var(--ma-gray-100);
    --ma-text-primary: var(--ma-gray-800);
    --ma-text-secondary: var(--ma-gray-600);
    --ma-text-muted: var(--ma-gray-400);
    --ma-border-color: var(--ma-gray-border);
}
/**
 * MatchAfrique Theme - Base Styles
 *
 * @package MatchAfrique
 */

/* === Reset === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--ma-font-primary);
    font-size: var(--ma-text-base);
    line-height: var(--ma-leading-relaxed);
    color: var(--ma-text-primary);
    background-color: var(--ma-bg-page);
    min-height: 100vh;
    overflow-x: hidden;
}

/* === Typographie === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: var(--ma-leading-tight);
    color: var(--ma-black);
    margin-bottom: var(--ma-space-sm);
}

h1 {
    font-size: var(--ma-text-2xl);
}

h2 {
    font-size: var(--ma-text-xl);
}

h3 {
    font-size: var(--ma-text-lg);
    font-weight: 600;
}

h4 {
    font-size: var(--ma-text-base);
    font-weight: 600;
}

@media (min-width: 768px) {
    h1 {
        font-size: var(--ma-text-3xl);  /* 32px */
    }

    h2 {
        font-size: var(--ma-text-h2);   /* 26px */
    }

    h3 {
        font-size: var(--ma-text-h3);   /* 22px */
    }

    h4 {
        font-size: var(--ma-text-lg);   /* 18px */
    }
}

p {
    margin-bottom: var(--ma-space-md);
}

a {
    color: var(--ma-link);
    text-decoration: none;
    transition: color var(--ma-transition-fast);
}

a:hover {
    color: var(--ma-link-hover);
}

/* === Images === */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

iframe,
embed,
object,
video {
    max-width: 100%;
}

figure {
    margin: 0;
}

/* === Listes === */
ul, ol {
    padding-left: var(--ma-space-lg);
    margin-bottom: var(--ma-space-md);
}

li {
    margin-bottom: var(--ma-space-xs);
}

/* === Formulaires === */
input,
textarea,
select,
button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea {
    width: 100%;
    padding: var(--ma-space-sm) var(--ma-space-md);
    border: 1px solid var(--ma-gray-300);
    border-radius: var(--ma-radius-sm);
    background: var(--ma-white);
    transition: border-color var(--ma-transition-fast), box-shadow var(--ma-transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--ma-primary);
    box-shadow: 0 0 0 3px rgba(var(--ma-primary-rgb), 0.15);
}

/* === Boutons === */
button {
    cursor: pointer;
    border: none;
    background: none;
}

.ma-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ma-space-sm);
    padding: var(--ma-space-sm) var(--ma-space-md);
    font-size: var(--ma-text-sm);
    font-weight: 600;
    border-radius: var(--ma-radius-sm);
    transition: all var(--ma-transition-fast);
    cursor: pointer;
    text-decoration: none;
}

.ma-btn--primary {
    background: var(--ma-primary);
    color: var(--ma-white);
    border: 2px solid var(--ma-primary);
}

.ma-btn--primary:hover {
    background: var(--ma-primary-dark);
    border-color: var(--ma-primary-dark);
    color: var(--ma-white);
}

.ma-btn--outline {
    background: transparent;
    color: var(--ma-primary);
    border: 2px solid var(--ma-primary);
}

.ma-btn--outline:hover {
    background: var(--ma-primary);
    color: var(--ma-white);
}

.ma-btn--ghost {
    background: transparent;
    color: var(--ma-text-primary);
    border: 2px solid transparent;
}

.ma-btn--ghost:hover {
    background: var(--ma-gray-100);
}

.ma-btn:disabled,
.ma-btn.is-loading {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Spinner pour loading */
.ma-btn__loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: ma-spin 0.6s linear infinite;
}

.ma-btn.is-loading .ma-btn__text {
    opacity: 0.5;
}

.ma-btn.is-loading .ma-btn__loader {
    display: block;
}

@keyframes ma-spin {
    to {
        transform: rotate(360deg);
    }
}

/* === Utilitaires === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ma-container {
    width: 100%;
    max-width: var(--ma-container-max);
    margin: 0 auto;
    padding: 0 var(--ma-space-md);
}

@media (min-width: 768px) {
    .ma-container {
        padding: 0 var(--ma-space-lg);
    }
}

/* === Focus visible === */
:focus-visible {
    outline: 2px solid var(--ma-primary);
    outline-offset: 2px;
}

/* === Selection === */
::selection {
    background: var(--ma-primary);
    color: var(--ma-white);
}

/* === Scrollbar personnalisée === */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--ma-gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--ma-gray-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ma-gray-600);
}
/**
 * MatchAfrique Theme - Components
 *
 * @package MatchAfrique
 */

/* === Cards Article === */
.ma-card {
    display: flex;
    flex-direction: column;
    background: var(--ma-bg-card);
    border-radius: var(--ma-radius-md);
    overflow: hidden;
    box-shadow: var(--ma-shadow-sm);
    transition: transform var(--ma-transition-fast), box-shadow var(--ma-transition-fast);
}

.ma-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ma-shadow-md);
}

.ma-card__image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.ma-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ma-transition-slow);
}

.ma-card:hover .ma-card__image img {
    transform: scale(1.05);
}

.ma-card__category {
    position: absolute;
    top: var(--ma-space-sm);
    left: var(--ma-space-sm);
    padding: var(--ma-space-xs) var(--ma-space-sm);
    background: var(--ma-primary);
    color: var(--ma-black);
    font-size: var(--ma-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--ma-radius-sm);
}

.ma-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--ma-space-md);
}

.ma-card__title {
    font-size: var(--ma-text-base);
    font-weight: 700;
    line-height: var(--ma-leading-snug);
    margin-bottom: var(--ma-space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ma-card__title a {
    color: var(--ma-black);
}

.ma-card__title a:hover {
    color: var(--ma-primary-dark);
}

.ma-card__meta {
    display: flex;
    align-items: center;
    gap: var(--ma-space-sm);
    margin-top: auto;
    font-size: var(--ma-text-xs);
    color: var(--ma-text-muted);
}

.ma-card__date {
    display: flex;
    align-items: center;
    gap: var(--ma-space-xs);
}

/* === Card Featured (Hero) === */
.ma-card--featured {
    position: relative;
    min-height: 400px;
    border-radius: var(--ma-radius-lg);
}

.ma-card--featured .ma-card__image {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
}

.ma-card--featured .ma-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}

.ma-card--featured .ma-card__content {
    position: relative;
    z-index: 1;
    justify-content: flex-end;
    min-height: 400px;
    padding: var(--ma-space-lg);
}

.ma-card--featured .ma-card__title {
    font-size: var(--ma-text-xl);
    color: var(--ma-white);
    -webkit-line-clamp: 4;
}

.ma-card--featured .ma-card__title a {
    color: var(--ma-white);
}

.ma-card--featured .ma-card__meta {
    color: var(--ma-gray-300);
}

@media (min-width: 768px) {
    .ma-card--featured {
        min-height: 500px;
    }

    .ma-card--featured .ma-card__content {
        min-height: 500px;
        padding: var(--ma-space-xl);
    }

    .ma-card--featured .ma-card__title {
        font-size: var(--ma-text-2xl);
    }
}

/* === Card Horizontal === */
.ma-card--horizontal {
    flex-direction: row;
}

.ma-card--horizontal .ma-card__image {
    width: 120px;
    flex-shrink: 0;
    aspect-ratio: 4 / 3;
}

.ma-card--horizontal .ma-card__content {
    padding: var(--ma-space-sm);
}

.ma-card--horizontal .ma-card__title {
    font-size: var(--ma-text-sm);
    -webkit-line-clamp: 2;
}

/* === Badges === */
.ma-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--ma-space-xs) var(--ma-space-sm);
    font-size: var(--ma-text-xs);
    font-weight: 600;
    border-radius: var(--ma-radius-full);
}

.ma-badge--primary {
    background: var(--ma-primary);
    color: var(--ma-black);
}

.ma-badge--secondary {
    background: var(--ma-gray-200);
    color: var(--ma-gray-700);
}

/* === Share Buttons === */
.ma-share {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ma-space-sm);
}

.ma-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--ma-radius-full);
    color: var(--ma-white);
    transition: transform var(--ma-transition-fast), opacity var(--ma-transition-fast);
}

.ma-share__btn:hover {
    transform: scale(1.1);
    color: var(--ma-white);
}

.ma-share__btn--facebook { background: #1877F2; }
.ma-share__btn--x { background: #000000; }
.ma-share__btn--whatsapp { background: #25D366; }
.ma-share__btn--linkedin { background: #0A66C2; }
.ma-share__btn--email { background: var(--ma-gray-600); }
.ma-share__btn--copy { background: var(--ma-gray-400); }

.ma-share__btn .ma-icon {
    width: 18px;
    height: 18px;
}

/* === Comments === */
.ma-comments {
    margin-top: var(--ma-space-xl);
}

.ma-comments__title {
    margin-bottom: var(--ma-space-lg);
}

.ma-comment {
    padding: var(--ma-space-md);
    background: var(--ma-gray-50);
    border-radius: var(--ma-radius-md);
    margin-bottom: var(--ma-space-md);
}

.ma-comment--child {
    margin-left: var(--ma-space-lg);
    background: var(--ma-white);
    border: 1px solid var(--ma-border-color);
}

.ma-comment__header {
    display: flex;
    align-items: center;
    gap: var(--ma-space-sm);
    margin-bottom: var(--ma-space-sm);
}

.ma-comment__avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--ma-radius-full);
    background: var(--ma-gray-200);
}

.ma-comment__author {
    font-weight: 600;
    color: var(--ma-black);
}

.ma-comment__date {
    font-size: var(--ma-text-xs);
    color: var(--ma-text-muted);
}

.ma-comment__content {
    line-height: var(--ma-leading-relaxed);
}

.ma-comment__reply {
    margin-top: var(--ma-space-sm);
    font-size: var(--ma-text-sm);
    color: var(--ma-link);
    cursor: pointer;
}

/* === Comment Form === */
.ma-comment-form {
    margin-top: var(--ma-space-lg);
}

.ma-comment-form__field {
    margin-bottom: var(--ma-space-md);
}

.ma-comment-form__label {
    display: block;
    margin-bottom: var(--ma-space-xs);
    font-weight: 600;
    font-size: var(--ma-text-sm);
}

.ma-comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* === Ad Slots === */
.ma-ad {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ma-gray-100);
    min-height: 90px;
    margin: var(--ma-space-md) 0;
}

.ma-ad--top-banner {
    width: 100%;
    min-height: 100px;
    margin: 0;
    background: var(--ma-gray-900);
}

.ma-ad--sidebar {
    min-height: 250px;
}

.ma-ad--in-feed {
    border-radius: var(--ma-radius-md);
}

/* === Pagination === */
.ma-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--ma-space-xs);
    margin-top: var(--ma-space-xl);
    padding: var(--ma-space-lg) 0;
}

.ma-pagination__link,
.ma-pagination__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--ma-space-sm);
    border-radius: var(--ma-radius-sm);
    font-weight: 600;
    transition: all var(--ma-transition-fast);
}

.ma-pagination__link {
    background: var(--ma-white);
    color: var(--ma-text-primary);
    border: 1px solid var(--ma-border-color);
}

.ma-pagination__link:hover {
    background: var(--ma-primary);
    color: var(--ma-black);
    border-color: var(--ma-primary);
}

.ma-pagination__current {
    background: var(--ma-primary);
    color: var(--ma-black);
}

/* === Breadcrumb === */
.ma-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ma-space-xs);
    padding: var(--ma-space-md) 0;
    font-size: var(--ma-text-sm);
    color: var(--ma-text-muted);
}

.ma-breadcrumb a {
    color: var(--ma-text-secondary);
}

.ma-breadcrumb a:hover {
    color: var(--ma-primary-dark);
}

.ma-breadcrumb__separator {
    color: var(--ma-gray-400);
}

/* === Loading States === */
.ma-skeleton {
    background: linear-gradient(90deg, var(--ma-gray-200) 25%, var(--ma-gray-100) 50%, var(--ma-gray-200) 75%);
    background-size: 200% 100%;
    animation: ma-shimmer 1.5s infinite;
    border-radius: var(--ma-radius-sm);
}

@keyframes ma-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.ma-loading {
    display: flex;
    justify-content: center;
    padding: var(--ma-space-xl);
}

.ma-loading__spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--ma-gray-200);
    border-top-color: var(--ma-primary);
    border-radius: 50%;
    animation: ma-spin 0.8s linear infinite;
}

/* === Share Sticky Bar Mobile === */
.ma-share--sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ma-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: var(--ma-space-sm) var(--ma-space-md);
    z-index: var(--ma-z-fixed);
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: none;
}

.ma-share--sticky.is-visible {
    transform: translateY(0);
}

@media (max-width: 767px) {
    .ma-share--sticky {
        display: flex;
    }
}

/* === Author Box === */
.ma-author-box {
    display: flex;
    gap: var(--ma-space-md);
    padding: var(--ma-space-lg);
    background: var(--ma-gray-50);
    border-radius: var(--ma-radius-lg);
    margin-top: var(--ma-space-xl);
}

.ma-author-box__avatar {
    flex-shrink: 0;
}

.ma-author-box__img {
    width: 80px;
    height: 80px;
    border-radius: var(--ma-radius-full);
    object-fit: cover;
}

.ma-author-box__content {
    flex: 1;
}

.ma-author-box__name {
    font-size: var(--ma-text-lg);
    font-weight: 700;
    margin-bottom: var(--ma-space-xs);
}

.ma-author-box__name a {
    color: var(--ma-black);
}

.ma-author-box__name a:hover {
    color: var(--ma-primary-dark);
}

.ma-author-box__bio {
    font-size: var(--ma-text-sm);
    color: var(--ma-text-secondary);
    line-height: var(--ma-leading-relaxed);
    margin-bottom: var(--ma-space-sm);
}

.ma-author-box__meta {
    display: flex;
    align-items: center;
    gap: var(--ma-space-md);
    font-size: var(--ma-text-sm);
}

.ma-author-box__posts {
    color: var(--ma-text-muted);
}

.ma-author-box__link {
    color: var(--ma-primary-dark);
    font-weight: 600;
}

/* === Comments AJAX Enhanced === */
.ma-comment {
    display: flex;
    gap: var(--ma-space-md);
    padding: var(--ma-space-md) 0;
    border-bottom: 1px solid var(--ma-border-color);
    background: transparent;
}

.ma-comment--reply {
    margin-left: var(--ma-space-xl);
    padding-left: 0;
}

.ma-comment__avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--ma-primary);
    border-radius: var(--ma-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ma-comment__initial {
    color: var(--ma-black);
    font-weight: 700;
    font-size: var(--ma-text-base);
}

.ma-comment__content {
    flex: 1;
    min-width: 0;
}

.ma-comment__header {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ma-space-sm);
    align-items: baseline;
    margin-bottom: var(--ma-space-xs);
}

.ma-comment__author {
    font-weight: 600;
    font-size: var(--ma-text-sm);
    color: var(--ma-black);
}

.ma-comment__meta {
    font-size: var(--ma-text-xs);
    color: var(--ma-text-muted);
}

.ma-comment__reply-label {
    background: var(--ma-gray-200);
    padding: 2px 6px;
    border-radius: var(--ma-radius-sm);
    font-size: 10px;
}

.ma-comment__text {
    font-size: var(--ma-text-sm);
    line-height: var(--ma-leading-relaxed);
    color: var(--ma-text-primary);
}

.ma-comment__text p {
    margin: 0;
}

.ma-comment__footer {
    margin-top: var(--ma-space-xs);
}

.ma-comment__reply-btn {
    background: none;
    border: none;
    color: var(--ma-primary-dark);
    font-weight: 600;
    font-size: var(--ma-text-xs);
    cursor: pointer;
    padding: 0;
}

.ma-comment__reply-btn:hover {
    text-decoration: underline;
}

.ma-comment__replies {
    margin-left: var(--ma-space-xl);
}

/* Comment Form Enhanced */
.ma-comment-form__row {
    display: grid;
    gap: var(--ma-space-md);
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
    .ma-comment-form__row {
        grid-template-columns: 1fr;
    }
}

.ma-comment-form__actions {
    display: flex;
    align-items: center;
    gap: var(--ma-space-md);
}

.ma-comment-form__feedback {
    margin-top: var(--ma-space-md);
    padding: var(--ma-space-md);
    border-radius: var(--ma-radius-md);
    font-size: var(--ma-text-sm);
    display: none;
}

.ma-comment-form__feedback.is-success {
    display: block;
    background: #d4edda;
    color: #155724;
}

.ma-comment-form__feedback.is-error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

/* Animation nouveau commentaire */
.ma-comment--new {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ma-comment--new.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Charger plus commentaires */
.ma-comments__load-more {
    text-align: center;
    padding: var(--ma-space-lg) 0;
}

.ma-comments__empty {
    text-align: center;
    padding: var(--ma-space-xl);
    color: var(--ma-text-muted);
    font-style: italic;
}

/* === Hero Article (Featured Premium) === */
.ma-hero {
    position: relative;
    border-radius: var(--ma-radius-lg);
    overflow: hidden;
    margin-bottom: var(--ma-space-lg);
}

.ma-hero__link {
    display: block;
    position: relative;
    min-height: 380px;
}

.ma-hero__image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.ma-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ma-hero:hover .ma-hero__image img {
    transform: scale(1.02);
}

/* Overlay dégradé en bas pour lisibilité du texte */
.ma-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.29) 40%,
        rgba(0, 0, 0, 0.76) 70%,
        rgba(0, 0, 0, 0.98) 100%
    );
}

/* Contenu compact en bas */
.ma-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: var(--ma-space-md);
    color: var(--ma-white);
}

.ma-hero__category {
    display: inline-block;
    padding: 4px 10px;
    background: var(--ma-primary);
    color: var(--ma-black);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--ma-radius-sm);
    margin-bottom: var(--ma-space-xs);
}

.ma-hero__title {
    font-family: var(--ma-font-title);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin: 0 0 var(--ma-space-xs);
    color: var(--ma-white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.ma-hero__meta {
    display: flex;
    align-items: center;
    gap: var(--ma-space-xs);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.ma-hero__author-name {
    font-weight: 500;
}

.ma-hero__separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 8px;
}

.ma-hero__badge {
    position: absolute;
    top: var(--ma-space-sm);
    left: var(--ma-space-sm);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    background: var(--ma-primary);
    color: var(--ma-black);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--ma-radius-sm);
}

.ma-hero__badge .ma-icon {
    width: 12px;
    height: 12px;
}

/* Hero Responsive - Tablet & Desktop */
@media (min-width: 768px) {
    .ma-hero__link {
        min-height: 450px;
    }

    .ma-hero__content {
        padding: var(--ma-space-lg);
    }

    .ma-hero__category {
        font-size: 11px;
        padding: 5px 12px;
    }

    .ma-hero__title {
        font-size: 2.25rem;
    }

    .ma-hero__meta {
        font-size: 13px;
    }

    .ma-hero__badge {
        padding: 6px 12px;
        font-size: 11px;
    }
}

@media (min-width: 1024px) {
    .ma-hero__link {
        min-height: 480px;
    }

    .ma-hero__title {
        font-size: 3rem;
        max-width: 85%;
    }
}
/**
 * MatchAfrique Theme - Layout
 *
 * @package MatchAfrique
 */

/* === Header === */
.ma-header {
    position: sticky;
    top: 0;
    z-index: var(--ma-z-sticky);
    background: var(--ma-black);
    box-shadow: var(--ma-shadow-md);
}

.ma-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--ma-container-max);
    margin: 0 auto;
    padding: 0 var(--ma-space-md);
    height: var(--ma-header-height);
}

.ma-header__logo img {
    height: 32px;
    width: auto;
}

.ma-header__nav--desktop {
    display: none;
}

.ma-header__actions {
    display: flex;
    align-items: center;
    gap: var(--ma-space-sm);
}

.ma-header__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--ma-white);
    border-radius: var(--ma-radius-sm);
    transition: background var(--ma-transition-fast);
}

.ma-header__btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
    .ma-header__nav--desktop {
        display: block;
    }

    .ma-header__btn--menu {
        display: none;
    }
}

/* === Navigation === */
.ma-nav {
    display: flex;
    align-items: center;
    gap: var(--ma-space-md);
    list-style: none;
    margin: 0;
    padding: 0;
}

.ma-nav > li > a {
    display: block;
    padding: var(--ma-space-sm) var(--ma-space-md);
    color: var(--ma-white);
    font-weight: 600;
    font-size: var(--ma-text-sm);
    transition: color var(--ma-transition-fast);
}

.ma-nav > li > a:hover {
    color: var(--ma-primary);
}

/* Mobile Navigation */
.ma-nav-mobile {
    position: fixed;
    top: var(--ma-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ma-white);
    padding: var(--ma-space-md);
    overflow-y: auto;
    z-index: var(--ma-z-fixed);
}

.ma-nav-mobile[hidden] {
    display: none;
}

.ma-nav-mobile__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ma-nav-mobile__list li {
    border-bottom: 1px solid var(--ma-border-color);
}

.ma-nav-mobile__list a {
    display: block;
    padding: var(--ma-space-md);
    color: var(--ma-black);
    font-weight: 600;
}

/* Search Bar */
.ma-search-bar {
    background: var(--ma-gray-100);
    padding: var(--ma-space-md);
}

.ma-search-bar[hidden] {
    display: none;
}

.ma-search-bar__form {
    display: flex;
    max-width: var(--ma-container-max);
    margin: 0 auto;
}

.ma-search-bar__input {
    flex: 1;
    border-radius: var(--ma-radius-sm) 0 0 var(--ma-radius-sm);
    border-right: none;
}

.ma-search-bar__submit {
    padding: 0 var(--ma-space-md);
    background: var(--ma-primary);
    color: var(--ma-black);
    border-radius: 0 var(--ma-radius-sm) var(--ma-radius-sm) 0;
}

/* === Main Content === */
.ma-main {
    min-height: calc(100vh - var(--ma-header-height) - 200px);
    padding: var(--ma-space-lg) 0;
}

/* === Archive Grid === */
.ma-archive__grid {
    display: grid;
    gap: var(--ma-space-md);
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .ma-archive__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === Homepage Layout === */
.ma-home__hero {
    margin-bottom: var(--ma-space-lg);
}

.ma-home__hero-grid {
    display: grid;
    gap: var(--ma-space-md);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .ma-home__hero-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.ma-home__hero-secondary {
    display: flex;
    flex-direction: column;
    gap: var(--ma-space-md);
}

.ma-home__section {
    margin-bottom: var(--ma-space-xl);
}

.ma-home__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--ma-space-md);
    padding-bottom: var(--ma-space-sm);
    border-bottom: 3px solid var(--ma-primary);
}

.ma-home__section-title {
    font-size: var(--ma-text-lg);
    font-weight: 700;
    margin: 0;
}

.ma-home__section-link {
    font-size: var(--ma-text-sm);
    font-weight: 600;
    color: var(--ma-link);
}

/* === Single Article Layout === */
.ma-single {
    display: grid;
    gap: var(--ma-space-xl);
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .ma-single {
        grid-template-columns: 1fr var(--ma-sidebar-width);
    }
}

.ma-article {
    max-width: 100%;
}

.ma-article__header {
    margin-bottom: var(--ma-space-lg);
}

.ma-article__category {
    display: inline-block;
    margin-bottom: var(--ma-space-sm);
}

.ma-article__title {
    font-size: var(--ma-text-2xl);
    line-height: var(--ma-leading-tight);
    margin-bottom: var(--ma-space-md);
}

@media (min-width: 768px) {
    .ma-article__title {
        font-size: var(--ma-text-3xl);
    }
}

.ma-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ma-space-md);
    padding-bottom: var(--ma-space-md);
    border-bottom: 1px solid var(--ma-border-color);
    font-size: var(--ma-text-sm);
    color: var(--ma-text-secondary);
}

.ma-article__featured-image {
    margin-bottom: var(--ma-space-lg);
    border-radius: var(--ma-radius-lg);
    overflow: hidden;
    max-width: 100%;
}

.ma-article__featured-image img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.ma-article__content {
    font-size: var(--ma-text-base);
    line-height: var(--ma-leading-relaxed);
}

.ma-article__content p {
    margin-bottom: var(--ma-space-md);
}

.ma-article__content h2 {
    margin-top: var(--ma-space-xl);
    margin-bottom: var(--ma-space-md);
}

.ma-article__content img {
    border-radius: var(--ma-radius-md);
    margin: var(--ma-space-lg) 0;
    max-width: 100%;
    height: auto;
}

/* Iframes et Embeds Responsives */
.ma-article__content iframe,
.ma-article__content embed,
.ma-article__content object,
.ma-article__content video {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--ma-radius-md);
    margin: var(--ma-space-lg) 0;
}

/* Wrapper pour embeds (YouTube, Twitter, etc.) */
.ma-article__content .wp-block-embed,
.ma-article__content .wp-block-video,
.ma-article__content .wp-block-embed-youtube,
.ma-article__content .wp-block-embed-twitter,
.ma-article__content .wp-block-embed-facebook,
.ma-article__content .wp-block-embed-instagram {
    max-width: 100%;
    overflow: hidden;
    margin: var(--ma-space-lg) 0;
}

.ma-article__content .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.ma-article__content .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--ma-radius-md);
}

/* Twitter embeds - ajustement spécifique */
.ma-article__content .wp-block-embed-twitter .wp-block-embed__wrapper {
    padding-bottom: 0;
    height: auto;
}

.ma-article__content .wp-block-embed-twitter .wp-block-embed__wrapper iframe {
    position: relative;
    height: auto;
    min-height: 300px;
}

/* Tables responsives */
.ma-article__content table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

@media (max-width: 767px) {
    .ma-article__content table {
        font-size: var(--ma-text-sm);
    }
}

.ma-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ma-space-sm);
    margin-top: var(--ma-space-xl);
    padding-top: var(--ma-space-lg);
    border-top: 1px solid var(--ma-border-color);
}

.ma-article__share {
    margin-top: var(--ma-space-lg);
    padding: var(--ma-space-md);
    background: var(--ma-gray-50);
    border-radius: var(--ma-radius-md);
}

.ma-article__share-title {
    font-size: var(--ma-text-sm);
    font-weight: 600;
    margin-bottom: var(--ma-space-sm);
}

/* === Sidebar === */
.ma-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--ma-space-lg);
}

.ma-sidebar__widget {
    background: var(--ma-bg-card);
    border-radius: var(--ma-radius-md);
    padding: var(--ma-space-md);
    box-shadow: var(--ma-shadow-sm);
}

.ma-sidebar__title {
    font-size: var(--ma-text-base);
    font-weight: 700;
    margin-bottom: var(--ma-space-md);
    padding-bottom: var(--ma-space-sm);
    border-bottom: 2px solid var(--ma-primary);
}

/* Sidebar Article - Desktop only avec pub sticky */
.ma-article__sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .ma-article__sidebar {
        display: block;
    }

    .ma-article__sidebar .ma-ad--sticky,
    .ma-article__sidebar .ma-ad--sidebar {
        position: sticky;
        top: calc(var(--ma-header-height) + var(--ma-space-md));
        min-height: 600px;
        background: var(--ma-gray-100);
        border-radius: var(--ma-radius-md);
    }
}

/* === Footer === */
.ma-footer {
    background: var(--ma-black);
    color: var(--ma-white);
    padding: var(--ma-space-2xl) 0 var(--ma-space-lg);
}

.ma-footer__inner {
    display: grid;
    gap: var(--ma-space-xl);
    grid-template-columns: 1fr;
    max-width: var(--ma-container-max);
    margin: 0 auto;
    padding: 0 var(--ma-space-md);
}

@media (min-width: 640px) {
    .ma-footer__inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ma-footer__inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.ma-footer__logo {
    margin-bottom: var(--ma-space-md);
}

.ma-footer__desc {
    font-size: var(--ma-text-sm);
    color: var(--ma-gray-400);
    line-height: var(--ma-leading-relaxed);
}

.ma-footer__title {
    font-size: var(--ma-text-base);
    font-weight: 700;
    margin-bottom: var(--ma-space-md);
    color: var(--ma-white);
}

.ma-footer__nav,
.ma-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ma-footer__nav li,
.ma-footer__contact li {
    margin-bottom: var(--ma-space-sm);
}

.ma-footer__nav a,
.ma-footer__contact a {
    color: var(--ma-gray-400);
    font-size: var(--ma-text-sm);
    transition: color var(--ma-transition-fast);
}

.ma-footer__nav a:hover,
.ma-footer__contact a:hover {
    color: var(--ma-primary);
}

.ma-footer__social {
    display: flex;
    gap: var(--ma-space-sm);
    margin-top: var(--ma-space-md);
}

.ma-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--ma-radius-full);
    background: var(--ma-gray-800);
    color: var(--ma-white);
    transition: background var(--ma-transition-fast);
}

.ma-footer__social-link:hover {
    background: var(--ma-primary);
    color: var(--ma-black);
}

.ma-footer__bottom {
    max-width: var(--ma-container-max);
    margin: var(--ma-space-xl) auto 0;
    padding: var(--ma-space-md);
    border-top: 1px solid var(--ma-gray-800);
    text-align: center;
}

.ma-footer__copyright {
    font-size: var(--ma-text-sm);
    color: var(--ma-gray-500);
    margin: 0;
}

/* === No Results === */
.ma-no-results {
    text-align: center;
    padding: var(--ma-space-3xl) var(--ma-space-md);
}

.ma-no-results__title {
    margin-bottom: var(--ma-space-md);
}

.ma-no-results__text {
    color: var(--ma-text-secondary);
    margin-bottom: var(--ma-space-xl);
}

.ma-no-results__search {
    max-width: 400px;
    margin: 0 auto;
}

/* === Homepage Layout (Main + Sidebar) === */
.ma-homepage {
    display: grid;
    gap: var(--ma-space-lg);
    grid-template-columns: 1fr;
    max-width: var(--ma-container-max);
    margin: 0 auto;
    padding: 0 var(--ma-space-md);
}

@media (min-width: 1024px) {
    .ma-homepage {
        grid-template-columns: 1fr 340px;
        gap: var(--ma-space-xl);
    }
}

.ma-homepage__main {
    min-width: 0;
}

.ma-homepage__sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .ma-homepage__sidebar {
        display: flex;
        flex-direction: column;
        gap: var(--ma-space-lg);
    }
}

/* Homepage Articles Grid */
.ma-homepage__grid {
    display: grid;
    gap: var(--ma-space-md);
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .ma-homepage__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ma-homepage__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Featured Article */
.ma-homepage__featured {
    margin-bottom: var(--ma-space-lg);
}

/* Infinite Scroll */
.ma-infinite-loader {
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--ma-space-xl);
    gap: var(--ma-space-sm);
}

.ma-infinite-loader.is-loading {
    display: flex;
}

.ma-infinite-loader__spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--ma-gray-200);
    border-top-color: var(--ma-primary);
    border-radius: 50%;
    animation: ma-spin 0.8s linear infinite;
}

@keyframes ma-spin {
    to { transform: rotate(360deg); }
}

.ma-load-more {
    text-align: center;
    padding: var(--ma-space-xl);
    background: var(--ma-gray-50);
    border-radius: var(--ma-radius-md);
    margin-top: var(--ma-space-lg);
}

.ma-load-more__text {
    margin-bottom: var(--ma-space-md);
    color: var(--ma-text-secondary);
}

.ma-load-more__categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--ma-space-sm);
    margin-top: var(--ma-space-md);
}

/* Top Banner Ad */
.ma-ad--top-banner {
    width: 100%;
    min-height: 50px;
    background: var(--ma-gray-100);
    margin-bottom: var(--ma-space-md);
}

@media (min-width: 768px) {
    .ma-ad--top-banner {
        min-height: 90px;
    }
}

/* Leaderboard Ad */
.ma-ad--leaderboard {
    max-width: var(--ma-container-max);
    margin: 0 auto var(--ma-space-lg);
    padding: 0 var(--ma-space-md);
    min-height: 90px;
}

/* Sidebar Sticky Ad */
.ma-ad--sticky {
    position: sticky;
    top: calc(var(--ma-header-height) + var(--ma-space-md));
}

/* === Related Posts === */
.ma-related {
    margin-top: var(--ma-space-2xl);
    padding-top: var(--ma-space-xl);
    border-top: 1px solid var(--ma-border-color);
}

.ma-related__title {
    margin-bottom: var(--ma-space-lg);
}

.ma-related__grid {
    display: grid;
    gap: var(--ma-space-md);
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .ma-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .ma-related__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === Archive Layout (2 colonnes) === */
.ma-archive__header {
    margin-bottom: var(--ma-space-lg);
    padding-bottom: var(--ma-space-md);
    border-bottom: 3px solid var(--ma-primary);
}

.ma-archive__title {
    margin-bottom: var(--ma-space-sm);
}

.ma-archive__desc {
    color: var(--ma-text-secondary);
    margin: 0;
}

.ma-archive__layout {
    display: grid;
    gap: var(--ma-space-lg);
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .ma-archive__layout {
        grid-template-columns: 1fr 340px;
        gap: var(--ma-space-xl);
    }
}

.ma-archive__main {
    min-width: 0;
}

.ma-archive__sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .ma-archive__sidebar {
        display: flex;
        flex-direction: column;
        gap: var(--ma-space-lg);
    }

    .ma-archive__sidebar .ma-ad--sticky,
    .ma-archive__sidebar .ma-ad--sidebar {
        position: sticky;
        top: calc(var(--ma-header-height) + var(--ma-space-md));
        min-height: 600px;
        background: var(--ma-gray-100);
        border-radius: var(--ma-radius-md);
    }
}

.ma-archive__featured {
    margin-bottom: var(--ma-space-lg);
}

.ma-archive__section-title {
    font-size: var(--ma-text-lg);
    font-weight: 700;
    margin-bottom: var(--ma-space-md);
    padding-bottom: var(--ma-space-sm);
    border-bottom: 2px solid var(--ma-primary);
}

/* === Subcategories === */
.ma-subcategories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ma-subcategories__item {
    margin-bottom: var(--ma-space-xs);
}

.ma-subcategories__item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ma-space-sm);
    border-radius: var(--ma-radius-sm);
    transition: background var(--ma-transition-fast);
}

.ma-subcategories__item a:hover {
    background: var(--ma-gray-100);
}

.ma-subcategories__count {
    font-size: var(--ma-text-xs);
    color: var(--ma-text-secondary);
}

/* === Author Header === */
.ma-author-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--ma-space-xl);
    margin-bottom: var(--ma-space-lg);
    background: var(--ma-gray-50);
    border-radius: var(--ma-radius-lg);
}

@media (min-width: 640px) {
    .ma-author-header {
        flex-direction: row;
        text-align: left;
        gap: var(--ma-space-lg);
    }
}

.ma-author-header__avatar {
    flex-shrink: 0;
    margin-bottom: var(--ma-space-md);
}

@media (min-width: 640px) {
    .ma-author-header__avatar {
        margin-bottom: 0;
    }
}

.ma-author-header__img {
    width: 120px;
    height: 120px;
    border-radius: var(--ma-radius-full);
    object-fit: cover;
}

.ma-author-header__name {
    margin-bottom: var(--ma-space-sm);
}

.ma-author-header__bio {
    color: var(--ma-text-secondary);
    margin-bottom: var(--ma-space-sm);
}

.ma-author-header__stats {
    font-size: var(--ma-text-sm);
    color: var(--ma-primary);
    font-weight: 600;
    margin: 0;
}

/* === Popular List === */
.ma-popular__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ma-popular__item {
    padding: var(--ma-space-sm) 0;
    border-bottom: 1px solid var(--ma-border-color);
}

.ma-popular__item:last-child {
    border-bottom: none;
}

.ma-popular__item a {
    font-size: var(--ma-text-sm);
    line-height: var(--ma-leading-snug);
    display: block;
}
/**
 * MatchAfrique Theme - Responsive Utilities
 *
 * @package MatchAfrique
 */

/* === Visibility Classes === */

/* Hide on mobile (< 768px) */
.ma-hide-mobile {
    display: none;
}

@media (min-width: 768px) {
    .ma-hide-mobile {
        display: block;
    }
}

/* Hide on tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .ma-hide-tablet {
        display: none;
    }
}

/* Hide on desktop (>= 1024px) */
@media (min-width: 1024px) {
    .ma-hide-desktop {
        display: none;
    }
}

/* Show only on mobile */
@media (min-width: 768px) {
    .ma-show-mobile-only {
        display: none;
    }
}

/* Show only on desktop */
.ma-show-desktop-only {
    display: none;
}

@media (min-width: 1024px) {
    .ma-show-desktop-only {
        display: block;
    }
}

/* === Spacing Responsive === */

@media (max-width: 767px) {
    .ma-container {
        padding-left: var(--ma-space-sm);
        padding-right: var(--ma-space-sm);
    }

    .ma-section {
        padding-top: var(--ma-space-lg);
        padding-bottom: var(--ma-space-lg);
    }
}

/* === Typography Responsive === */

@media (max-width: 767px) {
    .ma-text-responsive {
        font-size: var(--ma-text-sm);
    }

    h1, .ma-h1 {
        font-size: var(--ma-text-2xl);
    }

    h2, .ma-h2 {
        font-size: var(--ma-text-xl);
    }
}

/* === Grid Responsive === */

.ma-grid-responsive {
    display: grid;
    gap: var(--ma-space-md);
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .ma-grid-responsive {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ma-grid-responsive {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === Image Responsive === */

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

/* === Truncate Text === */

.ma-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ma-line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ma-line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
