/* ============================================================
   DÉCOGRAPH — Article (single post)
============================================================ */

/* Retirer la date sur les articles */
.single-post .posted-on,
.single-post .posted-on .published {
    display: none !important;
}

/* Retirer la navigation article précédent / suivant */
.single-post .post-navigation {
    display: none !important;
}

/* ============================================================
   ARTICLES SIMILAIRES ("Nos autres réalisations")
   Feature native Astra (Personnaliser > Blog > Articles similaires)
============================================================ */
.ast-single-related-posts-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 24px 60px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.ast-related-posts-title-section {
    text-align: center;
    margin-bottom: 32px;
}
.ast-related-posts-title {
    color: #000;
    font-weight: 800;
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 14px;
}
.ast-related-posts-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #DDB406;
    border-radius: 2px;
    margin: 12px auto 0;
}

.ast-related-posts-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100%;
}

.ast-related-post {
    background: #FAF5E5;
    border: 1px solid transparent;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-width: 0;
    max-width: 100%;
}
.ast-related-post:hover {
    transform: translateY(-4px);
    border-color: #DDB406;
    box-shadow: 0 4px 12px rgba(221, 180, 6, 0.5);
}

.ast-related-posts-inner-section,
.ast-related-post-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ast-related-post-featured-section {
    flex-shrink: 0;
}
.ast-related-post-featured-section .post-thumb-img-content {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.ast-related-post-featured-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.ast-related-post:hover .ast-related-post-featured-section img {
    transform: scale(1.05);
}

.related-entry-header {
    padding: 22px 22px 8px;
}
.ast-related-post-title.entry-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}
.ast-related-post-title.entry-title a {
    color: #8d651c !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}
.ast-related-post-title.entry-title a:hover {
    color: #DDB406 !important;
}
.ast-related-post .entry-meta {
    display: none !important;
}

.ast-related-post .entry-content.clear {
    padding: 0 22px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ast-related-post-excerpt {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0 0 20px !important;
    flex: 1;
}
.ast-related-post-cta.read-more {
    margin: 0 !important;
}
.ast-related-post-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #DDB406;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-radius: 30px;
    transition: background-color 0.2s ease;
}
.ast-related-post-link::after {
    content: "Découvrir";
}
.ast-related-post-link:hover {
    background-color: #c9a405;
}

@media (max-width: 900px) {
    .ast-related-posts-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 600px) {
    .ast-related-posts-wrapper {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .ast-related-post-featured-section .post-thumb-img-content {
        width: 100%;
    }
}
.ast-related-post-featured-section img {
    max-width: 100%;
}