/* =========================================================
   SINGLE PROFIL
   ========================================================= */

body.single #secondary {
    display: none !important;
}

body.single #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single .site-content {
    background: #0f0f0f !important;
    padding: 0 !important;
}

body.single .site-main {
    width: min(760px, calc(100% - 40px)) !important;
    max-width: 760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 2rem 0 4rem !important;
    box-sizing: border-box !important;
}

body.single .rc-single,
body.single .entry-header,
body.single .entry-content,
body.single .entry-footer,
body.single .post-navigation,
body.single .comments-area,
body.single #comments {
    width: 100% !important;
    max-width: 760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

body.single .entry-header {
    text-align: left;
    margin-bottom: 1.5rem;
}

body.single .entry-title {
    color: #fff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.9rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1rem;
}

body.single .entry-meta,
body.single .category-list {
    display: none;
}

body.single .entry-content {
    color: #d0d0d0 !important;
    font-family: 'Inter', sans-serif;
    font-size: 21px !important;
    line-height: 1.85 !important;
}

body.single .entry-content p {
    margin: 0 0 1.3rem !important;
}

body.single .entry-content strong {
    color: #fff !important;
    font-weight: 800;
}

body.single .entry-content a {
    color: #e8334a;
}

.rc-main-img,
body.single .entry-content > img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 430px;
    object-fit: cover;
    object-position: top;
    border-radius: 14px;
    margin: 0 0 1.5rem;
}

.rc-cta {
    background: #e8334a;
    border-radius: 14px;
    padding: 1.5rem 1.2rem;
    text-align: center;
    margin: 2rem 0 1.2rem;
    box-shadow: 0 14px 35px rgba(232, 51, 74, .25);
}

.rc-cta strong {
    display: block;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: .4rem;
}

.rc-cta span {
    color: rgba(255, 255, 255, .9);
    font-size: .95rem;
}

.rc-iframe {
    overflow: hidden;
    background: #eee;
    border-radius: 14px;
    margin: 1.2rem 0 2rem;
}

.rc-iframe iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: none;
}

.rc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 2rem 0 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.rc-tags-label {
    width: 100%;
    text-align: center;
    color: #888;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rc-tags a {
    background: #1a1a1a;
    color: #e8334a;
    border: 1.5px solid #333;
    font-size: 14px;
    font-weight: 700;
    padding: 7px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: all .2s ease;
}

.rc-tags a:hover {
    background: #e8334a;
    color: #fff;
    border-color: #e8334a;
}

.rc-similaires {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    clear: both;
    box-sizing: border-box;
    margin: 2.5rem 0 1rem;
}

.rc-similaires h3 {
    color: #e8334a;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 1rem;
    padding-bottom: .7rem;
    border-bottom: 2px solid #e8334a;
}

.rc-similaires-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    box-sizing: border-box;
}

.rc-sim-card {
    position: relative;
    display: block;
    width: 100%;
    height: 145px;
    overflow: hidden;
    border-radius: 10px;
    background: #1a1a1a;
    text-decoration: none;
}

.rc-sim-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .3s ease;
}

.rc-sim-card:hover img {
    transform: scale(1.06);
}

.rc-sim-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .78) 0%,
        rgba(0, 0, 0, .2) 55%,
        transparent 100%
    );
}

.rc-sim-card-title {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: .6rem .7rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.3;
}

.rc-sim-card-title span {
    display: block;
    color: rgba(255, 255, 255, .85);
    font-size: .68rem;
    font-weight: 500;
    margin-top: 3px;
}

body.single .post-navigation,
body.single .nav-links {
    max-width: 760px;
    margin: 2.5rem auto;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

body.single .nav-links a {
    color: #d0d0d0;
    text-decoration: none;
}

body.single .nav-links a:hover {
    color: #e8334a;
}

body.single #comments,
body.single .comments-area {
    max-width: 760px;
    margin: 3rem auto 0;
    color: #d0d0d0;
}

body.single #comments h2,
body.single #reply-title,
body.single .comments-title,
body.single .comment-reply-title {
    color: #fff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
}

body.single .comment-form label {
    color: #d0d0d0;
}

body.single .comment-form textarea,
body.single .comment-form input[type="text"],
body.single .comment-form input[type="email"],
body.single .comment-form input[type="url"] {
    width: 100%;
    background: #fff;
    color: #111;
    border: none;
    border-radius: 8px;
    padding: 12px;
}

body.single .comment-form input[type="submit"] {
    background: #e8334a;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 26px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    cursor: pointer;
}

body.single .comment-form input[type="submit"]:hover {
    background: #ff4a60;
}

@media (max-width: 700px) {
    body.single .site-main {
        width: calc(100% - 24px) !important;
        padding-top: 1.2rem !important;
    }

    body.single .entry-title {
        font-size: 1.75rem;
    }

    body.single .entry-content {
        font-size: 18px !important;
        line-height: 1.8 !important;
    }

    .rc-main-img,
    body.single .entry-content > img {
        max-height: 360px;
    }

    .rc-cta strong {
        font-size: 1.05rem;
    }

    .rc-iframe iframe {
        height: 500px;
    }

    .rc-similaires-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rc-sim-card {
        height: 125px;
    }
}

@media (max-width: 420px) {
    .rc-similaires-grid {
        grid-template-columns: 1fr;
    }

    .rc-sim-card {
        height: 190px;
    }
}