/* Partie banner  */

#banner-712 span {
    color: #fff;
}

#banner-712 span a {
    color: var(--primary);
    text-decoration: none;
}

@media only screen and (min-width: 0rem) {
    #banner-712 {
        padding: clamp(10.9375rem, 10vw, 12.5rem) 1rem 6.25rem;
        position: relative;
        z-index: 1;
    }

    #banner-712 .cs-container {
        text-align: center;
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        justify-content: center;
        /* align-items: flex-start; */
        flex-direction: column;
        gap: 1rem;
    }

    #banner-712 .cs-int-title {
        font-size: clamp(2.4375rem, 6.4vw, 3.8125rem);
        /* font-weight: 900; */
        line-height: 1.2em;
        text-align: inherit;
        margin: 0;
        color: var(--bodyTextColorWhite);
        position: relative;
    }

    #banner-712 .cs-background {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }

    #banner-712 .cs-background:before {
        content: "";
        position: absolute;
        display: block;
        height: 100%;
        width: 100%;
        background: #000;
        opacity: 0.75;
        top: 0;
        left: 0;
        z-index: 1;
    }

    #banner-712 .cs-background img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

@media only screen and (min-width: 48rem) {
    #banner-712 .cs-background:before {
        opacity: 1;
        background: linear-gradient(
            90.01deg,
            rgba(0, 0, 0, 0.9) 16.86%,
            rgba(0, 0, 0, 0) 100%
        );
    }
}
/* Fin partie banner  */

/* Base Styles */
:root {
    --primary-color: #f96332;
    --secondary-color: #2c3e50;
    --text-color: #555;
    --light-gray: #f7f7f7;
    --gray: #ccc;
    --dark-gray: #777;
    --white: #fff;
    --black: #000;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
}

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

.container-blog a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

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

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

.search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-size: 14px;
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--dark-gray);
    cursor: pointer;
}

/* Main Content Layout */
.main-content {
    display: flex;
    gap: 30px;
}

.blog-content {
    flex: 2;
}

.sidebar {
    flex: 1;
}

/* Blog Post Styles */
.blog-post {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 30px;
    position: relative;
}

.post-main-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
}

.post-date {
    position: absolute;
    top: 0;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 1px 10px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.date {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
}

.year {
    display: block;
    font-size: 16px;
    color: #fff;
}

.post-title {
    font-size: 24px;
    color: var(--secondary-color);
    margin: 60px 0 10px;
    font-weight: 600;
}

.post-meta {
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 20px;
    float: right;
}

.post-content p {
    margin-bottom: 15px !important;
}

.post-quote {
    background-color: #f5f5f5;
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin: 20px 0;
    font-style: italic;
}

.post-quote cite {
    display: block;
    text-align: right;
    margin-top: 8px;
    font-style: normal;
    font-weight: 600;
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

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

.share-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

.linkedin {
    background-color: #0077b5;
}

/* Comments Section Styles */
.comments-section {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.comment {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-content {
    flex-grow: 1;
}

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

.comment-author {
    font-weight: 600;
    color: var(--secondary-color);
}

.comment-date {
    font-size: 12px;
    color: var(--dark-gray);
}

.comment-text {
    margin-bottom: 10px;
    font-size: 14px;
}

.reply-btn {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

/* Leave a Comment Form */
.leave-comment {
    margin-top: 30px;
}

.form-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.half {
    flex: 1;
}

textarea,
input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #e55a2b;
}

/* Sidebar Styles */
.sidebar-widget {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--secondary-color);
}

/* Follow Us Widget */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: var(--white);
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.instagram {
    background: linear-gradient(
        45deg,
        #f09433,
        #e6683c,
        #dc2743,
        #cc2366,
        #bc1888
    );
}

.youtube {
    background-color: #ff0000;
}

/* Categories Widget */
.category-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

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

.category-list a {
    display: block;
    transition: transform 0.3s ease;
}

.category-list a:hover {
    transform: translateX(5px);
}

/* Sidebar Banner */
.sidebar-banner {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 30px;
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    font-size: 14px;
}

/* Popular Posts Widget */
.popular-post-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

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

.post-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.post-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.post-date {
    font-size: 12px;
    color: var(--dark-gray);
}

/* Tags Widget */
#tags {
    display: flex;
    justify-content: center;
}

.tag-cloud,
#categories-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag,
#categories {
    background-color: var(--light-gray);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-size: 12px;
    transition: background-color 0.3s ease;
    cursor: default;
}

.tag:hover,
#categories:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Large Desktop */
@media (max-width: 1200px) {
    .container-blog {
        padding: 15px;
    }
}

/* Desktop and Small Desktop */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }

    .blog-content,
    .sidebar {
        width: 100%;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .post-actions {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .comment-info {
        flex-direction: column;
        gap: 5px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .post-title {
        font-size: 20px;
    }

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

    .comment-avatar {
        margin-bottom: 10px;
    }

    .popular-post-item {
        flex-direction: column;
    }

    .post-thumbnail {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .social-icons {
        justify-content: space-between;
    }
}

/* h1 {
    font-size: clamp(2rem, calc(2rem + ((1vw - 0.2rem) * 1.6667)), 3rem) !important;
    margin-bottom: 2rem !important;
    line-height: 125% !important;
} */

h2 {
    line-height: 125% !important;
    font-weight: 500 !important;
    color: #ee2121;
}

h3 {
    line-height: 125% !important;
    font-weight: 500 !important;
    color: #2160ee;
}

/*h4 {
    font-size: 1.2rem !important;
    margin-bottom: 2rem !important;
    line-height: 125% !important;
}

h5 {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
    line-height: 125% !important;
}

h6 {
    font-size: 1rem !important;
    margin-bottom: 2rem !important;
    line-height: 125% !important;
} */

.prose-table-container {
    margin: 2.5rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #ffffff;
    table-layout: auto;
}

table th {
    background-color: #f1f5f9;
    color: #0f172a;
    font-weight: 500;
    padding: 12px 16px;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    border-right: 1px solid #cbd5e1;
}

table th:last-child,
table td:last-child {
    border-right: none;
}

table td {
    padding: 14px 16px;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #f1f5f9;
    line-height: 1.6;
}

table td:first-child {
    background-color: #f8fafc;
    font-weight: 500;
    color: #1e293b;
    border-right: 2px solid #e2e8f0;
}

table tbody tr:nth-child(even) {
    background-color: #fcfcfd;
}

table tbody tr:hover td {
    background-color: #f1f5f9;
}

table p {
    margin: 0 !important;
    padding: 0 !important;
}

table strong {
    color: #0f172a;
}

#preview-color {
    background: #fbbf24;
    text-align: center;
    padding: 5px;
    font-weight: bold;
}
