:root {
    --primary: #565656;
    --secondary: #22222257;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.15);
    --card-radius: 16px;
}

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

/*body {*/
/*    font-family: 'Poppins', sans-serif;*/
/*    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);*/
/*    color: var(--dark);*/
/*    line-height: 1.6;*/
/*    min-height: 100vh;*/
/*    padding: 40px 20px;*/
/*}*/

.page-container {
    max-width: 1200px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    /*margin-bottom: 50px;*/
}

/* En-tête */
header {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease-out;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Navigation */
/*nav {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    background: white;*/
/*    padding: 20px 30px;*/
/*    border-radius: var(--card-radius);*/
/*    box-shadow: var(--shadow);*/
/*    margin-bottom: 40px;*/
/*}*/

/*.logo {*/
/*    font-family: 'Playfair Display', serif;*/
/*    font-size: 1.8rem;*/
/*    font-weight: 700;*/
/*    background: linear-gradient(to right, var(--primary), var(--secondary));*/
/*    -webkit-background-clip: text;*/
/*    background-clip: text;*/
/*    color: transparent;*/
/*}*/

/*.nav-links {*/
/*    display: flex;*/
/*    gap: 25px;*/
/*}*/

/*.nav-links a {*/
/*    text-decoration: none;*/
/*    color: var(--dark);*/
/*    font-weight: 500;*/
/*    transition: var(--transition);*/
/*    position: relative;*/
/*}*/

/*.nav-links a:hover {*/
/*    color: var(--primary);*/
/*}*/

/*.nav-links a::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: -5px;*/
/*    left: 0;*/
/*    width: 0;*/
/*    height: 2px;*/
/*    background: linear-gradient(to right, var(--primary), var(--secondary));*/
/*    transition: var(--transition);*/
/*}*/

/*.nav-links a:hover::after {*/
/*    width: 100%;*/
/*}*/

/* Contenu principal */
.main-content {
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    animation: fadeInUp 0.8s ease-out;
}

.article-header {
    position: relative;
}

.article-image {
    height: 500px;
    width: 100%;
    overflow: hidden;
}

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

.article-header:hover .article-image img {
    transform: scale(1.05);
}

.article-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.article-category {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.article-details {
    display: flex;
    gap: 20px;
}

.article-detail {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-detail i {
    color: var(--primary);
}

.article-body {
    padding: 50px;
}

.article-intro {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--light-gray);
    color: var(--gray);
    font-style: italic;
}

.article-text {
    margin-bottom: 30px;
}

.article-text h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    position: relative;
    padding-bottom: 10px;
}

.article-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.article-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.article-text blockquote {
    border-left: 4px solid var(--primary);
    padding: 20px 30px;
    background: var(--light);
    margin: 30px 0;
    font-style: italic;
    color: var(--gray);
    border-radius: 0 10px 10px 0;
}

.article-text img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: var(--shadow);
}

.article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.tag {
    background: var(--light);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tag:hover {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-3px);
    cursor: pointer;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    border-top: 1px solid var(--light-gray);
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.author-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.social-share {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    color: var(--dark);
    transition: var(--transition);
}

.social-btn:hover {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-5px);
}

/* Sidebar */
.sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 30px;
}

.sidebar-card {
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: var(--transition);
}

.sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.sidebar-title {
    font-size: 1.4rem;
    padding: 20px 25px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    font-family: 'Playfair Display', serif;
}

.sidebar-content {
    padding: 25px;
}

.search-box {
    position: relative;
    margin-bottom: 5px;
}

.search-box input {
    width: 100%;
    padding: 12px 20px 12px 50px;
    border: 2px solid var(--light-gray);
    border-radius: 30px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

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

.categories-list li {
    padding: 12px 0;
    border-bottom: 1px dashed var(--light-gray);
    display: flex;
    justify-content: space-between;
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list a {
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
}

.categories-list a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.categories-list span {
    background: var(--light);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-post {
    display: flex;
    gap: 15px;
    transition: var(--transition);
    padding: 10px;
    border-radius: 10px;
}

.popular-post:hover {
    background: var(--light);
    transform: translateX(5px);
}

.popular-post-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.popular-post:hover .popular-post-img img {
    transform: scale(1.1);
}

.popular-post-content h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    transition: var(--transition);
}

.popular-post:hover .popular-post-content h3 {
    color: var(--primary);
}

.popular-post-date {
    color: var(--gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 30px;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
}

.newsletter-form button {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

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

/*!* Footer *!*/
/*footer {*/
/*    grid-column: 1 / -1;*/
/*    text-align: center;*/
/*    margin-top: 70px;*/
/*    color: var(--gray);*/
/*    font-size: 0.9rem;*/
/*    padding: 20px 0;*/
/*    animation: fadeInUp 0.8s ease-out;*/
/*}*/

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .page-container {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-image {
        height: 350px;
    }

    .article-body {
        padding: 30px;
    }

    .nav-links {
        display: none;
    }

    .article-footer {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .author {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    body {
        padding: 25px 15px;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .article-title {
        font-size: 1.7rem;
    }

    .article-image {
        height: 280px;
    }

    .article-intro {
        font-size: 1.1rem;
    }
}