/* ============================================================
   Article individuel — Le Palais du Peton (single.php)
   ============================================================ */

/* ── Breadcrumb ── */
.pdp-breadcrumb {
    background: var(--pdp-beige);
    border-bottom: 1px solid var(--pdp-border);
    padding: 0.6rem 1.5rem;
    font-size: 0.78rem;
    color: var(--pdp-mid);
}
.pdp-breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.pdp-breadcrumb a {
    color: var(--pdp-mid);
    text-decoration: none;
}
.pdp-breadcrumb a:hover { color: var(--pdp-dark); }
.pdp-breadcrumb span:last-child {
    color: var(--pdp-dark);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
}

/* ── Post header ── */
.pdp-post-header {
    background: #fff;
    padding: 2.5rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--pdp-border);
}
.pdp-post-header-inner {
    max-width: 780px;
    margin: 0 auto;
}
.pdp-post-header .pdp-arc-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--pdp-sage-dark, #5E8560);
    margin-bottom: 0.6rem;
}
.pdp-post-title {
    font-family: Georgia, serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    color: var(--pdp-dark);
    line-height: 1.3;
    margin: 0 0 0.8rem;
}
.pdp-post-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--pdp-mid);
}

/* ── Featured image ── */
.pdp-post-featured-img {
    max-width: 860px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
}
.pdp-post-featured-img img {
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

/* ── Layout: content + sidebar ── */
.pdp-post-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    align-items: start;
}

/* ── Article content ── */
.pdp-post-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--pdp-dark);
}
.pdp-post-content h2 {
    font-family: Georgia, serif;
    font-size: 1.45rem;
    color: var(--pdp-dark);
    margin: 2rem 0 0.75rem;
    padding-top: 0.5rem;
    border-top: 2px solid var(--pdp-border);
}
.pdp-post-content h3 {
    font-family: Georgia, serif;
    font-size: 1.15rem;
    color: var(--pdp-dark);
    margin: 1.5rem 0 0.5rem;
}
.pdp-post-content p { margin: 0 0 1rem; }
.pdp-post-content ul,
.pdp-post-content ol {
    padding-left: 1.4rem;
    margin: 0 0 1rem;
}
.pdp-post-content li { margin-bottom: 0.35rem; }
.pdp-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
}
.pdp-post-content a {
    color: var(--pdp-sage-dark, #5E8560);
    text-decoration: underline;
}
.pdp-post-content a:hover { color: var(--pdp-dark); }
.pdp-post-content strong { color: var(--pdp-dark); }
.pdp-post-content blockquote {
    border-left: 3px solid var(--pdp-rose);
    margin: 1.5rem 0;
    padding: 0.75rem 1.2rem;
    background: var(--pdp-rose-soft);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--pdp-mid);
}

/* ── Sidebar ── */
.pdp-post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: sticky;
    top: 80px;
}
.pdp-sidebar-card {
    background: var(--pdp-beige);
    border: 1px solid var(--pdp-border);
    border-radius: 14px;
    padding: 1.25rem;
}
.pdp-sidebar-cta {
    background: var(--pdp-dark);
    border-color: var(--pdp-dark);
    color: #fff;
}
.pdp-sidebar-cta-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--pdp-rose);
    margin: 0 0 0.4rem;
}
.pdp-sidebar-cta h3 {
    font-family: Georgia, serif;
    font-size: 1rem;
    color: #fff;
    margin: 0 0 0.5rem;
}
.pdp-sidebar-cta p {
    font-size: 0.82rem;
    color: rgba(255,255,255,.7);
    margin: 0 0 1rem;
    line-height: 1.55;
}
.pdp-sidebar-heading {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--pdp-mid);
    margin: 0 0 0.75rem;
}
.pdp-sidebar-posts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.pdp-sidebar-posts li a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--pdp-dark);
    font-size: 0.82rem;
    line-height: 1.4;
    transition: color 0.15s;
}
.pdp-sidebar-posts li a:hover { color: var(--pdp-sage-dark, #5E8560); }
.pdp-sidebar-posts li a img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.pdp-sidebar-posts li a span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .pdp-post-layout {
        grid-template-columns: 1fr;
    }
    .pdp-post-sidebar {
        position: static;
    }
}
@media (max-width: 560px) {
    .pdp-post-header { padding: 1.5rem 1rem 1rem; }
    .pdp-post-featured-img { padding: 1rem 1rem 0; }
    .pdp-post-layout { padding: 1.5rem 1rem 3rem; }
}
