/* Base Styles */
:root {
    --primary-color: #263037;
    --secondary-color: #e91e63;
    --text-color: #333;
    --light-text-color: #666;
    --lighter-text-color: #999;
    --background-color: #fff;
    --light-background: #f9f9f9;
    --border-color: #eee;
    --dark-border-color: #ddd;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1280" viewBox="0 0 1920 1280" fill="none"><path fill="%23FFE6B2" d="M98.102 79.062 114.812 73l-9.057 20.998L115 90.942 103.415 116l1.591-17.993L98 101.4l.102-22.337ZM263.102 517.062l16.71-6.062-9.057 20.998 9.245-3.056L268.415 554l1.591-17.992-7.006 3.391.102-22.337Z"/><path fill="%23CDEDCE" d="m144.102 604.062 16.71-6.062-9.057 20.998 9.245-3.056L149.415 641l1.591-17.992-7.006 3.391.102-22.337Z"/><path fill="%23FFE6B2" d="m230.102 933.062 16.71-6.062-9.057 20.998 9.245-3.056L235.415 970l1.591-17.992-7.006 3.391.102-22.337Z"/><path fill="%23EDEAE5" d="m206.102 1170.06 16.71-6.06-9.057 21 9.245-3.06-11.585 25.06 1.591-17.99-7.006 3.39.102-22.34Z"/><path fill="%23F1C5AE" d="m223.102 264.062 16.71-6.062-9.057 20.998 9.245-3.056L228.415 301l1.591-17.992-7.006 3.391.102-22.337Z"/></svg>');
    background-position: 50% 100px;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

.featured-image img {
    object-fit: cover;
    height: 300px;
    display: block;
    width: 100%;
    border-radius: 20px;
}

.site-logo img {
    width: 100px;
    height: 70px;
    display: block;
    object-fit: cover;
}

ul, ol {
    list-style: none;
}

button, input, textarea {
    font-family: var(--font-secondary);
    font-size: 1rem;
}

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

#bg-cat-header {
    background-color: #263037;
    color:#fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Header - Redesigned */
.site-header {
    padding: 0;
    background-color: transparent;
    position: relative;
    z-index: 100;
    margin-top: 3rem;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--background-color);
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 10rem;
    padding: 0.8rem 2.5rem;
    box-shadow: 3px 3px 0px 0px #333;
    transform: translate(-2px, -2px);
    transition: all 0.3s ease;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.site-logo a {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.main-navigation {
    display: flex;
    max-width: 100%;
    overflow: hidden;
}

.menu {
    display: flex;
}

.menu li {
    position: relative;
    margin-right: 30px;
}

.menu li:last-child {
    margin-right: 0;
}

.menu a {
    display: block;
    padding: 10px 0;
    font-weight: 500;
}

.menu a.active {
    color: var(--primary-color);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--background-color);
    width: 200px;
    box-shadow: 3px 3px 0px 0px #333;
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 1.5rem;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    margin-right: 0;
}

.sub-menu a {
    padding: 8px 20px;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 15px;
    color: var(--text-color);
}

/* Menu toggle supprimé */

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 200;
    display: none;
    justify-content: center;
    align-items: center;
}

.search-overlay.active {
    display: flex;
}

.search-form {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-bottom: 2px solid var(--text-color);
    background: none;
    font-size: 1.5rem;
    outline: none;
}

.search-form button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 0px 0;
    background-color: transparent;
    text-align: center;
    margin-top: 2rem;
}

.hero-content {
    max-width: 98%;
    margin: 0 auto;
    background-color: #263037;
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 3px 3px 0px 0px #333;
    transform: translate(-2px, -2px);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color:#fff;
}

.hero h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color:#fff;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    padding: 60px 0;
    background-color: transparent;
    text-align: center;
    margin-top: 2rem;
}

.page-header .container {
    background-color: var(--background-color);
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 3px 3px 0px 0px #333;
    transform: translate(-2px, -2px);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 10px;
}

.breadcrumbs {
    color: #ffffff8f;
}

.breadcrumbs a {
    color: #ffffff8f;
}

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

.breadcrumbs span {
    margin: 0 5px;
}

/* Main Content */
.site-content {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.main-content {
    width: 100%;
}

/* Posts - Redesigned */
.post {
    margin-bottom: 40px;
    background-color: var(--background-color);
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 3px 3px 0px 0px #333;
    transform: translate(-2px, -2px);
    transition: all 0.3s ease;
}

.post:hover {
    transform: translate(0, 0);
    box-shadow: 0 0 0 0 #333;
}

.post-thumbnail {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

.post-category a {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10rem;
    border: 1px solid rgba(39, 39, 39, 0.75);
}

.post-content {
    padding: 20px;
}

.post-title {
    margin-bottom: 10px;
}

.post-title a {
    color: var(--text-color);
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--lighter-text-color);
}

.post-author, .post-date {
    margin-right: 15px;
}

.post-author a {
    color: var(--text-color);
    font-weight: 600;
}

.post-excerpt {
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    padding: 5px 20px;
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 10rem;
    box-shadow: 2px 2px 0px 0px #333;
    transform: translate(-1px, -1px);
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translate(0, 0);
    box-shadow: 0 0 0 0 #333;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* Featured Post */
.featured-post {
    margin-bottom: 40px;
}

.featured-post .post-title {
    font-size: 1.8rem;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination a {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 10rem;
    font-weight: 600;
    box-shadow: 2px 2px 0px 0px #333;
    transform: translate(-1px, -1px);
    transition: all 0.3s ease;
}

.pagination a.current {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination a.next {
    padding: 8px 20px;
}

.pagination a:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translate(0, 0);
    box-shadow: 0 0 0 0 #333;
}

/* Sidebar */
.sidebar {
    width: 100%;
}

.widget {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #1f847ec4;
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 1.5rem;
    box-shadow: 3px 3px 0px 0px #333;
    transform: translate(-2px, -2px);
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding: 5px 20px;
    background-color: var(--background-color);
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 10rem;
    display: inline-block;
    position: relative;
}

/* About Widget */
.about-content {
    text-align: center;
    color:#fff;
}

/* Formation Grid Responsive */
.formation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.formation-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.formation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.formation-card h4 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 18px;
}

.formation-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.formation-card li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.formation-card strong {
    color: #495057;
}

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

.about-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 1px solid rgba(39, 39, 39, 0.75);
}

.social-links {
    display: flex;
    justify-content: left;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--border-color);
    color: var(--text-color);
    margin: 0 5px;
    transition: all 0.3s ease;
    border: 1px solid rgba(39, 39, 39, 0.75);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Categories Widget */
.categories-widget ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.categories-widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.categories-widget ul li a {
    display: flex;
    justify-content: space-between;
}

/* Recent Posts Widget */
.recent-post {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.recent-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post .post-thumbnail {
    width: 80px;
    margin-right: 15px;
    margin-bottom: 0;
    border-radius: 0.8rem;
    overflow: hidden;
    border: 1px solid rgba(39, 39, 39, 0.75);
}

.recent-post .post-title {
    font-size: 1rem;
    margin-bottom: 5px;
}

/* Instagram Widget */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.instagram-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.8rem;
    border: 1px solid rgba(39, 39, 39, 0.75);
}

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

.instagram-item:hover img {
    transform: scale(1.1);
}

/* Newsletter Widget */
.newsletter-form {
    position: relative;
    margin-top: 20px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 10rem;
    outline: none;
}

.newsletter-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 15px;
    background-color: var(--primary-color);
    color: white;
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 0 10rem 10rem 0;
    cursor: pointer;
    font-weight: 600;
}

/* Tags Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
}

.tag-cloud a {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 5px 10px 0;
    background-color: var(--border-color);
    border-radius: 10rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(39, 39, 39, 0.75);
}

.tag-cloud a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Single Post */
.single-post .post-header {
    text-align: center;
    margin-bottom: 30px;
}

.single-post .post-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.single-post .post-meta {
    justify-content: center;
}

.single-post .post-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.single-post .featured-image {
    margin-bottom: 40px;
}

.post-content {
    margin-bottom: 40px;
}

.post-content h2, .post-content h3, .post-content h4 {
    margin-top: 30px;
    margin-bottom: 20px;
}

.post-content ul, .post-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-content ul {
    list-style-type: disc;
}

.post-content ol {
    list-style-type: decimal;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--light-text-color);
}

.post-image {
    margin: 30px 0;
}

.post-image figcaption {
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    color: var(--lighter-text-color);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}

.post-tags span {
    font-weight: 600;
    margin-right: 10px;
}

.post-tags a {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 5px 5px 0;
    background-color: var(--border-color);
    border-radius: 10rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(39, 39, 39, 0.75);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-share {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.post-share span {
    font-weight: 600;
    margin-right: 15px;
}

.post-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--border-color);
    color: var(--text-color);
    margin-right: 10px;
    border: 1px solid rgba(39, 39, 39, 0.75);
}

.post-share a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Author Bio */
.author-bio {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--background-color);
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 1.5rem;
    box-shadow: 3px 3px 0px 0px #333;
    transform: translate(-2px, -2px);
}

.author-bio .author-avatar {
    width: 100px;
    height: 100px;
    margin-right: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(39, 39, 39, 0.75);
}

.author-info {
    flex: 1;
}

.author-name {
    margin-bottom: 10px;
}

.author-social {
    margin-top: 15px;
}

.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--border-color);
    color: var(--text-color);
    margin-right: 10px;
    border: 1px solid rgba(39, 39, 39, 0.75);
}

.author-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Related Posts */
.related-posts {
    margin-bottom: 40px;
}

.section-title {
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.related-posts .posts-grid {
    grid-template-columns: repeat(3, 1fr);
}

.related-posts .post-title {
    font-size: 1.1rem;
}

/* Comments */
.comments-area {
    margin-bottom: 40px;
}

.comments-title {
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
}

.comment {
    margin-bottom: 30px;
}

.comment-body {
    padding: 20px;
    background-color: var(--background-color);
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 1.5rem;
    box-shadow: 3px 3px 0px 0px #333;
    transform: translate(-2px, -2px);
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.comment-author {
    display: flex;
    align-items: center;
}

.comment-author .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    border: 1px solid rgba(39, 39, 39, 0.75);
}

.author-name {
    font-weight: 600;
}

.comment-metadata {
    color: var(--lighter-text-color);
    font-size: 0.9rem;
}

.comment-content {
    margin-bottom: 15px;
}

.comment-reply a {
    font-weight: 600;
    color: var(--primary-color);
}

.children {
    margin-top: 30px;
    margin-left: 40px;
}

.comment-respond {
    margin-top: 40px;
    padding: 30px;
    background-color: var(--background-color);
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 1.5rem;
    box-shadow: 3px 3px 0px 0px #333;
    transform: translate(-2px, -2px);
}

.comment-reply-title {
    margin-bottom: 30px;
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.comment-form input, .comment-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 10rem;
    outline: none;
}

.comment-form textarea {
    resize: vertical;
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.submit-button {
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 10rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

/* Footer */
.site-footer {
    background-color: var(--light-background);
    padding: 60px 0 0;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-widget {
    margin-bottom: 20px;
}

.footer-widget .site-logo {
    margin-bottom: 20px;
}

.footer-widget .widget-title {
    padding-bottom: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info li i {
    margin-right: 10px;
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

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

    .posts-grid, .articles-grid, .related-posts .posts-grid {
        grid-template-columns: 1fr;
    }

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

    .header-inner {
        border-radius: 1.5rem;
        padding: 0.8rem 1.5rem;
    }
    
    /* Styles pour la navigation en version mobile */
    .header-inner {
        flex-wrap: wrap;
    }
    
    .main-navigation {
        flex-basis: 100%;
        order: 3;
        margin-top: 15px;
        justify-content: center;
    }
    
    .menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .menu li {
        margin: 0 10px 10px 10px;
        text-align: center;
    }
    
    .menu a {
        padding: 8px 12px;
        background-color: var(--background-color);
        border: 1px solid rgba(39, 39, 39, 0.75);
        border-radius: 20px;
        box-shadow: 2px 2px 0px 0px #333;
        transform: translate(-1px, -1px);
        transition: all 0.2s ease;
        display: inline-block;
    }
    
    .menu a:hover {
        transform: translate(0, 0);
        box-shadow: 0px 0px 0px 0px #333;
    }

    /* Styles spécifiques pour les liens du menu en mode mobile déjà définis ci-dessus */

    .sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 10px 0 10px 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .menu li:hover > .sub-menu {
        display: block;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media screen and (max-width: 576px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero h3 {
        font-size: 1.2rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .single-post .post-title {
        font-size: 2rem;
    }

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

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .author-bio .author-avatar {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .author-social {
        justify-content: center;
    }

    .post-meta {
        flex-wrap: wrap;
    }

    .post-meta > * {
        margin-bottom: 5px;
    }
}

/* Styles pour les vignettes de catégories */
.section-title {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.featured-categories {
    margin-bottom: 4rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.categories-grid-2col {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.category-card {
    background-color: var(--background-color);
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 3px 3px 0px 0px #333;
    transform: translate(-2px, -2px);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translate(0, 0);
    box-shadow: 0px 0px 0px 0px #333;
}

.category-image {
    height: 180px;
    overflow: hidden;
}

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

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-title {
    padding: 1rem 1.5rem 0.5rem;
    font-family: var(--font-primary);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.category-description {
    padding: 0 1.5rem;
    font-size: 0.9rem;
    color: var(--light-text-color);
    margin-bottom: 1rem;
}

.category-link {
    display: inline-block;
    padding: 0.5rem 1.5rem 1.5rem;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.category-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.category-card:hover .category-link i {
    transform: translateX(5px);
}

.view-all-posts {
    text-align: center;
    margin-top: 2rem;
}

.btn-view-all {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--background-color);
    color: var(--text-color);
    border: 1px solid rgba(39, 39, 39, 0.75);
    border-radius: 10rem;
    font-weight: 600;
    box-shadow: 3px 3px 0px 0px #333;
    transform: translate(-2px, -2px);
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translate(0, 0);
    box-shadow: 0px 0px 0px 0px #333;
}

/* Styles responsifs pour les vignettes de catégories */
@media screen and (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Styles pour le modal de recherche */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.search-modal.active {
    display: flex;
    opacity: 1;
}

.search-modal-content {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    margin: 40px 0;
    max-height: 90vh;
    overflow-y: auto;
}

.search-modal.active .search-modal-content {
    transform: translateY(0);
}

.search-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    z-index: 10;
}

.search-modal h2 {
    margin-bottom: 20px;
    text-align: center;
    font-family: var(--font-primary);
}

/* Styles pour le formulaire de recherche dans le modal */
.search-modal .search-form {
    width: 100%;
    margin-bottom: 20px;
}

.search-modal .search-input-wrapper {
    display: flex;
    width: 100%;
}

.search-modal input[type="text"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    font-family: var(--font-secondary);
    outline: none;
}

.search-modal input[type="text"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(240, 98, 146, 0.2);
}

.search-modal button[type="submit"] {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-modal button[type="submit"]:hover {
    background-color: var(--secondary-color);
}

/* Styles pour la page de recherche */
.search-page {
    padding: 60px 0;
}

.search-page h1 {
    margin-bottom: 30px;
    text-align: center;
    font-family: var(--font-primary);
}

.search-page .search-form {
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-page .search-input-wrapper {
    position: relative;
    display: flex;
}

.search-page input {
    flex: 1;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.search-page button {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0 20px;
    cursor: pointer;
    font-size: 16px;
}

.search-results {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Styles pour les résultats de recherche Google */
.gsc-control-cse {
    font-family: var(--font-secondary) !important;
    border: none !important;
    background: transparent !important;
}

.gsc-result .gs-title {
    font-family: var(--font-primary) !important;
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

.gsc-result .gs-snippet {
    font-family: var(--font-secondary) !important;
}

.gsc-result .gs-visibleUrl {
    color: var(--light-text-color) !important;
}

.gsc-results .gsc-cursor-box .gsc-cursor-page {
    color: var(--primary-color) !important;
}

/* Styles pour le fil d'Ariane (breadcrumb) */
.breadcrumb {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--light-text-color);
    font-family: var(--font-secondary);
}

.breadcrumb a {
    color: var(--light-text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumb span {
    color: var(--primary-color);
}
