:root {
    --primary-color: #000;
    --secondary-color: #666;
    --background-color: #f7f7f7;
    --border-color: #e5e5e5;
    --background-color-nav: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 100vw;
    margin: 0 auto;
    background-color: var(--background-color-nav);
    padding: 1rem 12rem;
}

.search-container {
    position: relative;
    flex: 0 1 300px;
}

.search-container input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: 0px solid var(--border-color);
    border-radius: 2px;
    font-size: 1rem;
    background-color: #fff;
    transition: all 0.3s ease;
}

.search-container input:hover {
    outline: none;
    background-color: #f5f5f5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-container input:focus {
    outline: none;
    background-color: #f5f5f5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-container button {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

.search-container button svg {
    fill: #666;
}

.logo-container {
    flex: 0 1 200px;
    text-align: center;
}

.logo {
    width: 150px;
    height: 50px;
    object-fit: cover;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.main-nav li {
    position: static;
    padding: 1rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
}

.main-nav a:hover {
    color: var(--primary-color);
}





/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: var(--background-color-nav);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .logo-container {
        order: 0;
        flex: 0 0 auto;
    }

    .logo {
        max-width: 100px;
        height: auto;
    }

    .search-container {
        display: none;
    }

    .menu-toggle {
        order: 1;
        margin-left: auto;
    }

    /* Ajuster le contenu principal pour la barre fixe */
    main {
        margin-top: 60px; /* Hauteur de la barre de navigation */
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--background-color-nav);
        padding: 4rem 1.5rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
    }

    .menu-open .main-nav {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 0;
    }

    .main-nav li {
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        font-size: 1.1rem;
    }

    /* Ajuster le menu hamburger */
    .menu-toggle {
        padding: 0.8rem;
        margin: -0.8rem;
    }

    .hamburger,
    .hamburger::before,
    .hamburger::after {
        width: 22px;
    }

    /* Améliorer l'overlay */
    .menu-overlay {
        backdrop-filter: blur(2px);
    }
}

/* Ajustements supplémentaires pour très petits écrans */
@media (max-width: 480px) {
    .header-container {
        padding: 0.5rem;
    }

    .logo {
        max-width: 90px;
    }

    .main-nav {
        width: 100%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.home-grid {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) 200px;
    gap: 2rem;
    background-color: var(--background-color);
    padding: 2rem 0;
    border-radius: 4px;
    box-shadow: none;
}

/* Styles pour la colonne de gauche */
.latest-posts {
    border-right: 1px solid var(--border-color);
    padding-right: 1rem;
}

.latest-posts h2 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

.post-card {
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.post-card:last-child {
    border-bottom: none;
}

.post-title h3 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.1em;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
}

.post-date {
    color: #999;
    font-size: 0.85em;
    font-family: 'Arial', sans-serif;
    margin-top: 8px;
    display: block;
}

.post-excerpt {
    color: #757575;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 10px 0;
    font-family: 'Georgia', serif;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Styles pour l'article à la une */
.featured-post {
    margin: -1.5rem;
    padding: 1.5rem;
}

.featured-image {
    margin: 0 0 30px 0;
    width: 100%;
    position: relative;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Pour les navigateurs qui ne supportent pas aspect-ratio */
@supports not (aspect-ratio: 16/9) {
    .featured-image::before {
        content: '';
        display: block;
        padding-top: calc(9 / 16 * 100%);
    }
    
    .featured-image img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
    }
}

.featured-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.featured-content .author {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.featured-content .excerpt {
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--secondary-color);
}

/* Styles pour la colonne de droite */
.daily-deals {
    border-left: 1px solid var(--border-color);
    padding-left: 1rem;
}

.daily-deals h2 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

.deals-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.deal-card {
    display: flex;
    flex-direction: column;
    background-color: var(--background-color);
    border-radius: 4px;
    margin-bottom: 1.2rem;
}

.deal-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.deal-content {
    padding: 0.75rem 0;
}

.deal-content h3 {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
}

.price-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.85rem;
}

.current-price {
    font-weight: 600;
    color: var(--primary-color);
}

.original-price {
    text-decoration: line-through;
    color: var(--secondary-color);
}

.discount {
    color: #e41d1d;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .home-grid {
        grid-template-columns: 180px minmax(0, 1fr) 180px;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .home-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        margin-top: 1rem;
    }

    /* Article à la une */
    .featured-post {
        order: -1;
        margin: 0 -1rem;
        padding: 0 1rem;
    }

    .featured-image {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .featured-content h1 {
        font-size: 1.5rem;
        margin: 1rem 0;
    }

    /* Liste des derniers articles */
    .latest-posts {
        padding: 0 1rem;
    }

    .post-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Section des deals */
    .daily-deals {
        padding: 0;
        margin: 0 -1rem;
    }

    .deals-list {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 0.5rem 1rem;
    }

    .deal-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }

    .deal-card:nth-child(n+4) {
        display: flex; /* Réafficher tous les deals sur mobile */
    }

    .post-card:nth-child(n+7) {
        display: block; /* Réafficher tous les articles sur mobile */
    }
}

/* Styles pour les liens */
.post-title {
    text-decoration: none;
    color: var(--primary-color);
}

.post-title:hover h3 {
    color: var(--secondary-color);
}

.featured-link {
    text-decoration: none;
    color: var(--primary-color);
}

.featured-link:hover h1 {
    color: var(--secondary-color);
}

.deal-link {
    text-decoration: none;
    color: var(--primary-color);
    display: block;
}

.deal-link:hover h3 {
    color: var(--secondary-color);
}

/* Transition pour les effets hover */
.post-title h3,
.featured-link h1,
.deal-link h3 {
    transition: color 0.3s ease;
}

.main-nav {
    position: relative;
    background: white;
    border-bottom: 1px solid #e2e2e2;
    z-index: 1000;
}

/* Styles pour la section catégorie */
.category-section {
    margin-top: 4rem;
    padding: 2rem 0;
    position: relative;
}

.category-section::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #000;
}

/* Ajuster le container pour la ligne */
.category-section .container {
    position: relative;
    z-index: 1;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.category-links {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.category-links a {
    color: var(--primary-color);
    text-decoration: underline;
}

.category-links a:hover {
    color: var(--secondary-color);
}

/* Grille d'articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.article-card {
    background-color: var(--background-color);
}

.article-link {
    text-decoration: none;
    color: var(--primary-color);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.article-card h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.article-link:hover h2 {
    color: var(--secondary-color);
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.author {
    color: #444;
    font-weight: 500;
}

.update-date {
    color: #666;
}

.episode-info .article-meta {
    margin-top: 0.25rem;
    font-size: 0.8rem;
}

.article-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .category-section {
        padding: 1rem;
    }
}

/* Styles pour la navigation sticky */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--background-color-nav);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.sticky-nav.visible {
    transform: translateY(0);
}

.sticky-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100vw;
    margin: 0 auto;
    padding: 1rem 12rem;
}

.sticky-logo .logo {
    height: 50px;
    width: auto;
}

.sticky-search {
    position: relative;
    width: 300px;
}

.sticky-search input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: 0;
    border-radius: 2px;
    font-size: 1rem;
    background-color: #fff;
    transition: all 0.3s ease;
}

.sticky-search input:hover,
.sticky-search input:focus {
    outline: none;
    background-color: #f5f5f5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sticky-search button {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

.sticky-search button svg {
    fill: #666;
}

.sticky-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sticky-actions .nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
}

.sticky-actions .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.sticky-actions .nav-link:hover::after {
    width: 100%;
}

/* Media queries existantes... */
@media (max-width: 768px) {
    .sticky-nav {
        display: none; /* Cache la nav sticky sur mobile */
    }
}

/* Ajoutez ces styles pour la nouvelle mise en page des articles */
.main-article {
    grid-column: span 2;
}

.main-article .article-image {
    height: 400px;
}

.side-articles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.article-card.compact .compact-content {
    display: flex;
    gap: 1rem;
}

.article-image-small {
    width: 120px;
    height: 80px;
    object-fit: cover;
}

.article-info {
    flex: 1;
}

.article-card.compact h2 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.article-card.compact .article-excerpt {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Ajustements responsive */
@media (max-width: 1024px) {
    .main-article {
        grid-column: span 1;
    }
    
    .main-article .article-image {
        height: 300px;
    }
    
    .side-articles {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .article-card.compact .compact-content {
        flex-direction: column;
    }
    
    .article-image-small {
        width: 100%;
        height: 200px;
    }
}

/* Styles du footer */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 600px;
}

.footer-logo {
    height: 80px;
    width: 250px;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-social {
    margin-top: 2rem;
}

.footer-social nav {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-link i {
    font-size: 1.2rem;
}

.footer-legal {
    border-top: 1px solid #333;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.copyright {
    color: #999;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.legal-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Styles pour le menu mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    background: var(--primary-color);
    height: 2px;
    width: 24px;
    transition: all 0.3s ease;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(6px);
}

/* État actif du menu hamburger */
.menu-open .hamburger {
    background: transparent;
}

.menu-open .hamburger::before {
    transform: translateY(0) rotate(45deg);
}

.menu-open .hamburger::after {
    transform: translateY(-2px) rotate(-45deg);
}

/* Modifications des styles responsive existants */
@media (max-width: 1024px) {
    .header-container,
    .sticky-nav-container {
        padding: 1rem 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem;
    }

    .search-container {
        order: 0;
        flex: 1;
        margin: 0 1rem;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--background-color-nav);
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .menu-open .main-nav {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
    }

    .main-nav li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .sticky-nav-container {
        padding: 0.5rem 1rem;
    }

    .sticky-search {
        width: auto;
        flex: 1;
        margin: 0 1rem;
    }

    .sticky-actions {
        display: none;
    }

    /* Overlay sombre quand le menu est ouvert */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .menu-open .menu-overlay {
        display: block;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 120px;
    }

    .search-container,
    .sticky-search {
        display: none;
    }

    .header-container {
        justify-content: space-between;
    }
}

/* Limiter le nombre d'articles visibles sur desktop */
@media (min-width: 769px) {
    .post-card:nth-child(n+7) {
        display: none;
    }

    /* Limiter le nombre de deals visibles sur desktop */
    .deal-card:nth-child(n+4) {
        display: none;
    }
}

.article-card .article-excerpt {
    margin-top: 10px;
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.article-meta .author {
    color: #444;
    font-weight: 500;
}

.article-meta .update-date {
    color: #666;
}

/* Style pour la section Cuisine */
.main-show-article {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.main-show-article .article-content {
    grid-column: 1;
}

.main-article-image {
    width: 100%;
    height: auto;
    border-radius: 0;
    margin-bottom: 2rem;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.main-show-article h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
    font-family: 'nyt-cheltenham', georgia, 'times new roman', times, serif;
}

.show-episodes-list {
    grid-column: 2;
    border-left: 1px solid #eee;
    padding-left: 2rem;
    margin-top: 0;
    padding-top: 0;
}

.episode-card:first-child {
    padding-top: 0;
}

.episode-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 0;
}

.episode-card {
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.episode-card:first-child .episode-content {
    padding-top: 0;
}

.episode-thumbnail {
    width: 180px;
    height: 120px;
    border-radius: 0;
    object-fit: cover;
    flex-shrink: 0;
}

.episode-info {
    flex: 1;
    min-width: 0;
}

.episode-info h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
    color: #000;
    font-weight: 600;
    font-family: 'nyt-cheltenham', georgia, 'times new roman', times, serif;
}

.publish-date {
    display: none;
}

.episode-meta {
    display: none;
}

.author {
    color: #333;
    font-size: 0.9rem;
    margin-left: 0;
    display: block;
    margin-top: 0.25rem;
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
}

.episode-excerpt {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ajustements pour la mise en page globale */
.category-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.category-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: 'nyt-cheltenham', georgia, 'times new roman', times, serif;
    font-weight: 700;
}

/* Ajustements responsive */
@media (max-width: 992px) {
    .main-show-article {
        grid-template-columns: 1fr;
    }
    
    .show-episodes-list {
        grid-column: 1;
        border-left: none;
        padding-left: 0;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .episode-thumbnail {
        width: 140px;
        height: 90px;
    }
    
    .episode-content {
        gap: 1rem;
    }
}

.main-article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.main-article-link:hover h2 {
    color: #666;
}

.episode-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.episode-link:hover h3 {
    color: #666;
}

/* Assurer que les liens n'affectent pas la mise en page */
.episode-content {
    width: 100%;
}

.episode-info {
    flex: 1;
    min-width: 0;
}

.article-container {
    max-width: 1000px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.breadcrumb-separator {
    color: #666;
    font-size: 1.2em;
    line-height: 1;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: #000;
}

.article-header {
    position: relative;
    padding-top: 20px;
}

.article-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #000;
}

.article-header h1 {
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 5px;
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
    font-weight: 900;
}

.article-subtitle {
    font-size: 30px;
    line-height: 1.3;
    margin: 0 0 20px 0;
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
    font-weight: 600;
    color: #333;
}

.article-meta {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
}

.featured-image {
    margin: 0 0 30px 0;
    width: 100%;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.image-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding: 0 10px;
}

.image-author {
    font-size: 14px;
    color: #111111;
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
    font-weight: 600;
}

.image-caption {
    font-size: 16px;
    color: #666;
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
    margin-top: 0;
    padding-right: 0;
}

/* Responsive */
@media (max-width: 1040px) {
    .article-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 32px;
    }
    
    .breadcrumb {
        margin-bottom: 10px;
    }
}

.article-introduction {
    max-width: 650px;
    font-family: 'nyt-cheltenham', georgia, 'times new roman', times, serif;
    font-size: 20px;
    line-height: 1.5;
    color: #333;
    text-align: left;
}

/* Séparateur et titre des recommandations */
.recommendations-header {
    max-width: 650px;
    margin: 40px 0;
    position: relative;
}

.recommendations-header::before {
    content: '';
    display: block;
    height: 3px;
    background-color: #000;
    margin-bottom: 25px;
}

.recommendations-header h3 {
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: #000;
    margin: 0;
}

/* Ajuster les paragraphes dans l'introduction */
.article-introduction p {
    margin-bottom: 20px;
}

.article-introduction p:last-child {
    margin-bottom: 0;
}

/* Style du conteneur des recommandations */
.product-recommendations {
    max-width: 650px;
    position: relative;
}

/* Style de la grille de recommandations */
.recommendations-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    scroll-behavior: auto;
}

/* Style des cartes de recommandation */
.recommendation-card {
    flex: 0 0 350px;
    min-width: 250px;
    background: white;
    border: 1px solid #e2e2e2;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.15);
    position: relative;
    height: 600px;
    padding: 1.5rem;
}

/* Style de l'image du produit */
.recommendation-card .product-image {
    height: 200px;
    background: #f8f9fa;
    overflow: hidden;
    border-bottom: 1px solid #e2e2e2;
    width: auto;
    display: flex;
    justify-content: center;
}

.recommendation-card .product-image img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

/* Style du contenu de la carte */
.recommendation-card .card-content {
    padding: 1.5rem 0;
    height: calc(100% - 200px);
    display: flex;
    flex-direction: column;
}

/* Style des options d'achat */
.buying-options {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem 1.5rem;
}

.buy-option {
    display: block;
    text-decoration: none;
    padding: 0rem 0;
    color: #e41d1d;
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
    font-size: 0.9rem;
}

.buy-option:last-child {
    border-bottom: none;
}

.buy-option:hover {
    text-decoration: underline;
    background: none;
}

.store {
    display: block;
}

.price {
    font-weight: 600;
    color: inherit;
}

/* Indicateurs de défilement (optionnel) */
.scroll-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #e2e2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}

.scroll-left {
    left: 0;
}

.scroll-right {
    right: 0;
}

/* Style du titre de la recommandation */
.card-header {
    margin-bottom: 1rem;
}

.card-content .subtitle {
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.card-header .card-title {
    font-family: 'nyt-cheltenham', georgia, 'times new roman', times, serif;
    font-size: 1.2rem;
    color: #000;
    margin: 0;
}

/* Style du titre du produit */
.product-title {
    font-family: 'nyt-cheltenham', georgia, 'times new roman', times, serif;
    font-size: 1.2rem;
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
}

.product-title a {
    color: #000;
}

.product-title a:hover {
    color: #666;
}

/* Style de la description */
.recommendation-card .description {
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #6a6a6a;
    margin-bottom: 80px;
}

/* Style des descriptions détaillées */
.detailed-recommendations {
    max-width: 650px;
    margin: 3rem auto;
}

.detailed-recommendation {
    margin-bottom: 4rem;
}

.detailed-title {
    font-family: 'nyt-cheltenham', georgia, 'times new roman', times, serif;
    font-size: 1.25rem;
    line-height: 1.2;
    color: #000;
    font-weight: 600;
}

.detailed-title:hover {
    color: #666;
}

.detailed-content {
    font-family: 'nyt-cheltenham', georgia, 'times new roman', times, serif;
    font-size: 20px;
    line-height: 1.6;
    color: #333;
}

.detailed-content p {
    margin-bottom: 1.5rem;
}

.detailed-content h3 {
    font-family: 'nyt-cheltenham', georgia, 'times new roman', times, serif;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #000;
}

.detailed-content ul, 
.detailed-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.detailed-content li {
    margin-bottom: 0.75rem;
}

/* Style de la carte détaillée */
.detailed-card {
    border: 5px solid #1965ff;
    border-radius: 2px;
    overflow: hidden;
    background: white;
}


.detailed-card-header {
    padding: 1rem;
    width: 30%;
    background-color: #1965ff;
    color: white;
}

.detailed-type {
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detailed-card-content {
    display: flex;
    gap: 2rem;
    padding: 2rem;
}


.detailed-card-image {
    flex: 0 0 250px;
}

.detailed-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.detailed-card-info {
    flex: 1;
}


.detailed-subtitle {
    font-size: 1.25rem;
    color: #000;
    margin-bottom: 1rem;
}

.detailed-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
}

.detailed-buy-button {
    display: inline-block;
    background: #000;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
    font-weight: 500;
    border-radius: 2px;
    transition: background-color 0.2s;
}

.detailed-buy-button:hover {
    background: #333;
}

/* Ajuster l'espacement entre la carte et le contenu détaillé */
.detailed-content {
    margin-top: 3rem;
}

/*article-section*/

.article-section {
    margin-top: 3rem;
    max-width: 650px;
}

.article-section-title {
    font-size: 28px;
    margin-bottom: 1rem;
    max-width: 650px;
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
}

.article-section-title::before {
    content: '';
    display: block;
    margin-bottom: 1rem;
    width: 100%;
    height: 3px;
    background-color: #000000;
}

.article-section-content {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
    font-family: 'nyt-cheltenham', georgia, 'times new roman', times, serif;
}



/* Style pour les avis détaillés */

.product-reviews {
    margin-top: 3rem;
    max-width: 650px;
}

.product-review-title {
    font-size: 28px;
    margin-bottom: 1rem;
    max-width: 650px;
}

.product-review-title::before {
    content: '';
    display: block;
    margin-bottom: 1rem;
    width: 100%;
    height: 3px;
    background-color: #000000;
}

.review-image {
    position: relative;
    width: 1000px;
    margin-bottom: 1.5rem;
}

.review-image img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.review-image-legend {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    text-align: end;
}

.product-review-type {
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
}

.product-review-container {
    border: 5px solid #1965ff;
    border-radius: 2px;
    overflow: hidden;
    background: white;
    margin-bottom: 4rem;
}

.product-review-container .product-review-type {
    padding: 1rem;
    width: 30%;
    background-color: #1965ff;
    color: white;
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-review-container .detailed-card-content {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 4rem;
}

.review-content {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 4rem;
    font-family: 'nyt-cheltenham', georgia, 'times new roman', times, serif;
}

/* Styles pour le sommaire */
.article-contents {
    margin: 3rem 0;
    max-width: 650px;
}

.contents-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    font-family: 'nyt-cheltenham', georgia, 'times new roman', times, serif;
}

.contents-list li {
    position: relative;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contents-list a {
    color: #000;
    text-decoration: none;
    font-size: 22px;
    line-height: 1.4;
}

.contents-list a:hover {
    text-decoration: underline;
}

/* Ajuster le scroll pour les sections avec ancres */
.article-section,
.product-review-card {
    scroll-margin-top: 100px; /* Ajuster cette valeur selon la hauteur de votre barre de navigation */
}

/* Pour assurer une transition douce */
html {
    scroll-behavior: smooth;
}

/* Styles pour le menu déroulant */
.has-dropdown {
    position: static;
}

.dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem 0;
    z-index: 999;
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.subsection-block {
    padding: 1rem;
}

.subsection-block h3 {
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recent-articles {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.recent-articles li {
    padding: 0;
}

.recent-articles a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.2s;
    display: block;
    width: 150px;
    font-family: 'nyt-cheltenham', georgia, 'times new roman', times, serif;
}

.recent-articles a:hover {
    color: #000;
}

/* Style pour le lien principal de la catégorie */
.has-dropdown > a {
    position: relative;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    padding: 1rem 0;
}

/* Effet de soulignement au survol */
.has-dropdown > a:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.has-dropdown:hover > a:after {
    transform: scaleX(1);
}

.intro-with-similar {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.article-introduction {
    position: relative;
    z-index: 1;
}

.similar-articles {
    border-radius: 8px;
    position: absolute;
    right: -50px; /* Déplace la div plus à droite */
    width: 300px; /* Largeur fixe */
    max-height: calc(100% + 200px);
    overflow-y: auto;
}

.similar-articles::before{
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000;
    margin-bottom: 1rem;
}

.similar-articles h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #333;
}

.similar-articles-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.similar-article {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    align-items: start;
    padding: 0.5rem;
    transition: background-color 0.2s;
}

.similar-article img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}

.similar-article h4 {
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
    color: #333;
    flex: 1;
}

@media (max-width: 768px) {
    .intro-with-similar {
        display: block;
    }

    .similar-articles {
        position: static;
        width: 100%;
        margin-top: 2rem;
    }
}

.contents-with-similar {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.article-contents {
    position: relative;
    z-index: 1;
}

/* Style spécifique pour la sidebar du sommaire */
.contents-similar {
    right: -50px;
    width: 300px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 8px;
    position: absolute;
    max-height: calc(100% + 200px);
    overflow-y: auto;
}

.contents-similar::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contents-with-similar {
        display: block;
    }

    .contents-similar {
        position: static;
        width: 100%;
        margin-top: 2rem;
    }
}

.additional-with-similar {
    position: relative;
    padding-right: 350px; /* Espace pour la sidebar */
}

.additional-articles {
    width: 100%;
}

.additional-similar {
    position: absolute;
    top: 0;
    right: -50px;
    width: 300px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .additional-with-similar {
        padding-right: 0;
    }
    
    .additional-similar {
        position: static;
        width: 100%;
        margin-top: 2rem;
    }
}

.bottom-similar-articles {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #000;
}

.bottom-similar-articles h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
}

.bottom-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bottom-article-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bottom-article-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.bottom-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bottom-article-content h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    color: #000;
}

.bottom-article-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

@media (max-width: 1024px) {
    .bottom-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bottom-articles-grid {
        grid-template-columns: 1fr;
    }
}

.subsection-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.subsection a:hover {
    text-decoration: underline;
}

.subsection-header {
    margin-bottom: 3rem;
    text-align: center;
}

.subsection-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'nyt-cheltenham', georgia, 'times new roman', times, serif;
}

.subsection-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;

    overflow: hidden;
    transition: transform 0.2s;
}


.article-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-content h2 {
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
}

.article-content h2 a {
    color: inherit;
    text-decoration: none;
}

.article-content h3 {
    font-size: 1rem;
    color: #666;
    margin: 0 0 1rem 0;
    font-weight: normal;
}

.article-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .subsection-header h1 {
        font-size: 2rem;
    }
}

/* Styles pour la page catégorie */
.category-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.category-header, .subsection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-top: 2px solid #000;
    padding-top: 1rem;
}

.category-header h1, .subsection-header h2 {
    font-size: 2.5rem;
    color: #000;
    margin: 0;
}

.category-header a, .subsection-header a {
    color: #000;
    text-decoration: underline;
    font-weight: 500;
}

.subsections-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Ajustement pour les sous-sections */
.subsection-block {
    margin-bottom: 2rem;
}

.subsection-header h2 {
    font-size: 2.5rem; /* Même taille que le h1 */
}

.subsection-header h2 a {
    color: #000;
    text-decoration: none;
}

.subsection-header h2 a:hover {
    text-decoration: underline;
}

/* Styles pour l'affichage des articles */
.articles-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0;
}

.article-card {
    display: flex;
    flex-direction: column;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

.article-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 1rem;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 0;
}

.article-content h3 {
    font-family: 'nyt-cheltenham', georgia, 'times new roman', times, serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.article-content h3 a {
    color: #000;
    text-decoration: none;
}

.article-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    font-family: 'nyt-franklin', arial, helvetica, sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.article-author {
    display: block;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .articles-preview {
        grid-template-columns: 1fr;
    }
    
    .category-header, .subsection-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Styles pour le menu déroulant dans la sticky nav */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.dropdown-toggle::after {
    content: '▾';
    margin-left: 0.5rem;
}

.nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: var(--background-color);
}

/* Ajustement du style existant */
.sticky-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Styles pour la page de recherche */
.search-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.search-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.search-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.results-count {
    color: var(--secondary-color);
}

.article-category {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.article-category a {
    color: var(--secondary-color);
    text-decoration: none;
}

.article-category .separator {
    margin: 0 0.5rem;
    color: var(--secondary-color);
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Style pour la barre de recherche dans la page de résultats */
.search-bar {
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 1rem;
}

.search-bar form {
    display: flex;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 0.5rem;
    font-size: 1rem;
}

.search-bar input:focus {
    outline: none;
}

.search-bar button {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.search-bar button svg {
    fill: #666;
}

/* Responsive design pour tablette */
@media (max-width: 768px) {
    .detailed-card-content {
        gap: 1.5rem;
    }

    .detailed-card-image {
        flex: 0 0 200px; /* Réduire légèrement la taille de l'image */
    }
}

/* Responsive design pour mobile */
@media (max-width: 480px) {
    .detailed-card-header {
        width: 100%; /* Header en pleine largeur */
    }

    .detailed-card-content {
        flex-direction: column;
        padding: 1.5rem;
    }

    .detailed-card-image {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .detailed-buy-button {
        width: 100%; /* Bouton en pleine largeur */
        text-align: center;
    }
}

/* Responsive design pour tablette */
@media (max-width: 768px) {
    .review-image {
        margin: 1rem 0;
    }
    
    .review-image img {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Responsive design pour mobile */
@media (max-width: 480px) {
    .review-image {
        margin: 0.8rem -1rem; /* Image en pleine largeur sur mobile */
    }
    
    .review-image img {
        width: 100%;
        border-radius: 0;
    }
}

/* Styles pour les pages légales */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.legal-container h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-section ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .legal-container {
        padding: 1.5rem;
    }

    .legal-container h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .legal-container {
        padding: 1rem;
    }

    .legal-container h1 {
        font-size: 1.8rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }
}

.article-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #666;
}

.view-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-stats {
    font-size: 0.8rem;
    color: #999;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33, 33, 33, 0.95);
    color: white;
    padding: 1rem;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-accept {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
}

.btn-customize {
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
}

/* Cookie Settings Modal */
.cookie-settings {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.cookie-settings.hidden {
    display: none;
}

.cookie-settings-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
}

.cookie-options {
    margin: 1.5rem 0;
}

.cookie-option {
    margin-bottom: 1rem;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.cookie-option p {
    margin: 0.25rem 0 0 1.75rem;
    font-size: 0.9rem;
    color: #666;
}

.btn-save {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}


