/* 
 * ScoutCar Custom Article Styling
 */

/* General Wrapper */
.scout-article-wrapper {
    background-color: #f7f9fa;
    padding: 40px 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
}

.scout-article-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* -------------------------------------
 * MAIN ARTICLE AREA (Left)
 * ------------------------------------- */
.scout-article-main {
    flex: 1;
    min-width: 0;
    width: 100%;
}

@media (min-width: 992px) {
    .scout-article-main {
        width: 65%;
        flex: 0 0 65%;
    }
}

/* Breadcrumb */
.scout-article-breadcrumb {
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}
.scout-article-breadcrumb a {
    color: #0b9e43;
    text-decoration: none;
}
.scout-article-breadcrumb a:hover {
    text-decoration: underline;
}
.scout-article-breadcrumb span {
    color: #333;
}

/* Tags */
.scout-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.scout-article-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.scout-article-tag i {
    font-size: 14px;
}

/* Tag Styles */
.scout-tag-dark-green {
    background-color: #217833;
    color: #ffffff;
}
.scout-tag-dark-green:hover {
    background-color: #1a5c27;
    color: #ffffff;
}

.scout-tag-light {
    background-color: #e8f5e9;
    color: #003311;
}
.scout-tag-light:hover {
    background-color: #c8e6c9;
    color: #003311;
}

.scout-tag-red {
    background-color: #d82b57;
    color: #ffffff;
}
.scout-tag-red:hover {
    background-color: #b32046;
    color: #ffffff;
}

.scout-tag-default {
    background-color: #f0f2f5;
    color: #333;
}
.scout-tag-default:hover {
    background-color: #e4e6e9;
    color: #333;
}

/* Title */
.scout-article-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    color: #111;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .scout-article-title {
        font-size: 42px;
    }
}

/* Meta Bar */
.scout-article-meta-bar {
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    padding: 15px 0;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scout-article-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 15px;
    color: #333;
}

.scout-article-time,
.scout-article-reading,
.scout-article-views {
    display: flex;
    align-items: center;
    gap: 6px;
}

.scout-article-time i,
.scout-article-reading i,
.scout-article-views i {
    font-size: 20px;
    color: #444;
}

.scout-article-updated {
    color: #e53935;
    font-weight: 600;
}

/* Action Buttons */
.scout-article-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.scout-article-whatsapp,
.scout-article-share,
.scout-article-copy-link,
.scout-article-bookmark {
    border: none;
    border-radius: 6px;
    height: 45px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.scout-article-whatsapp {
    background-color: #e8f5e9;
    color: #0b9e43;
    padding: 0 20px;
}
.scout-article-whatsapp i {
    font-size: 18px;
}
.scout-article-whatsapp:hover {
    background-color: #c8e6c9;
}

.scout-article-share {
    background-color: #f0f2f5;
    color: #111;
    padding: 0 20px;
}
.scout-article-share:hover {
    background-color: #e4e6e9;
}

.scout-article-copy-link,
.scout-article-bookmark {
    width: 45px;
    padding: 0;
}

.scout-article-copy-link {
    background-color: #f0f2f5;
    color: #111;
}
.scout-article-copy-link:hover {
    background-color: #e4e6e9;
}

.scout-article-bookmark {
    background-color: #e8f5e9;
    color: #0b9e43;
}
.scout-article-bookmark:hover {
    background-color: #c8e6c9;
}

@media (min-width: 768px) {
    .scout-article-meta-bar {
        flex-direction: column;
    }
}


/* Featured Image */
.scout-article-featured {
    margin-bottom: 30px;
}

.scout-article-featured-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.scout-article-featured-caption {
    font-size: 13px;
    color: #777;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* Content */
.scout-article-content {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 40px;
}

.scout-article-content p {
    margin-bottom: 25px;
}

.scout-article-content h2, 
.scout-article-content h3, 
.scout-article-content h4 {
    color: #111;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
}

.scout-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 25px 0;
}

/* Blockquote */
.scout-article-content blockquote {
    background-color: rgba(11, 158, 67, 0.03);
    border-left: 4px solid #0b9e43;
    padding: 25px 30px;
    margin: 35px 0;
    font-size: 20px;
    font-style: italic;
    color: #111;
    line-height: 1.6;
    border-radius: 0 8px 8px 0;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
}

/* Related Articles */
.scout-article-related {
    margin-top: 50px;
    border-top: 2px solid #000;
    padding-top: 30px;
}

.scout-article-related-title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #111;
}

.scout-article-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 600px) {
    .scout-article-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.scout-article-related-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scout-article-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.scout-article-related-img-wrap {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.scout-article-related-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.scout-article-related-card:hover .scout-article-related-img {
    transform: scale(1.05);
}

.scout-article-related-heading {
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    color: #111;
}


/* -------------------------------------
 * SIDEBAR AREA (Right)
 * ------------------------------------- */
.scout-article-sidebar {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 992px) {
    .scout-article-sidebar {
        width: 30%;
        flex: 1;
    }
}

.scout-sidebar-widget {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

/* Cote Argus Widget */
.scout-sidebar-cote {
    background-color: #f6fbf8;
    border-color: #d1eadb;
}

.scout-sidebar-cote-title {
    font-size: 16px;
    font-weight: 800;
    color: #0b9e43;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.scout-sidebar-cote-desc {
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.scout-sidebar-cote-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.scout-sidebar-cote-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.scout-sidebar-cote-field select,
.scout-sidebar-cote-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
}

.scout-sidebar-cote-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.scout-btn-primary {
    background-color: #0b9e43;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s ease;
    margin-top: 5px;
}

.scout-btn-primary:hover {
    background-color: #098236;
}

.scout-sidebar-cote-footer {
    font-size: 11px;
    color: #888;
    text-align: center;
    margin-top: 15px;
}

/* Dernières Nouveautés */
.scout-sidebar-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.scout-sidebar-news-title {
    font-size: 15px;
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    margin: 0;
}

.scout-sidebar-news-link {
    font-size: 12px;
    color: #0b9e43;
    text-decoration: none;
    font-weight: 700;
}

.scout-sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.scout-sidebar-news-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
}

.scout-sidebar-news-item:hover .scout-sidebar-news-heading {
    color: #0b9e43;
}

.scout-sidebar-news-img-wrap {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.scout-sidebar-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scout-sidebar-news-content {
    display: flex;
    flex-direction: column;
}

.scout-sidebar-news-cat {
    font-size: 10px;
    color: #0b9e43;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.scout-sidebar-news-heading {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 5px 0;
    color: #111;
    transition: color 0.2s ease;
}

.scout-sidebar-news-date {
    font-size: 11px;
    color: #888;
}

/* CTA Widget */
.scout-sidebar-cta {
    background-color: #000;
    color: #fff;
    border: none;
}

.scout-sidebar-cta-badge {
    background-color: #0b9e43;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.scout-sidebar-cta-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.scout-sidebar-cta-desc {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.5;
}

.scout-sidebar-cta-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scout-sidebar-cta-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #111;
    color: #fff;
    font-size: 14px;
}

.scout-sidebar-cta-input::placeholder {
    color: #666;
}

.scout-btn-success {
    background-color: #0b9e43;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s ease;
}

.scout-btn-success:hover {
    background-color: #098236;
}

.scout-sidebar-cta-footer {
    font-size: 11px;
    color: #666;
    text-align: center;
    margin-top: 15px;
}
