/* ─────────────────────────────────────────────────────────────────────
   FORZAVEN SINGLE POST — custom layout
   Chargée uniquement sur les articles singular via functions.php
   ───────────────────────────────────────────────────────────────────── */

/* Reset WP wrapper padding to allow full-bleed hero */
body.single .wp-site-blocks {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.single {
    --wp--style--root--padding-top: 0;
    --wp--style--root--padding-bottom: 0;
    background: #0A0A0A;
}

body.single main {
    padding: 0 !important;
    margin: 0 !important;
}

/* ─── ARTICLE HERO (cover block with featured image) ──────────────── */

.forzaven-article-hero {
    position: relative;
    min-height: 72vh !important;
    display: flex !important;
    align-items: flex-end;
    overflow: hidden;
    color: #F5F5F5 !important;
}

.forzaven-article-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: #FF5A1F;
    z-index: 4;
}

/* Darken the featured image with a custom gradient instead of the flat cover dim */
.forzaven-article-hero .wp-block-cover__background {
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.35) 0%,
        rgba(10, 10, 10, 0.65) 50%,
        rgba(10, 10, 10, 0.92) 100%
    ) !important;
}

.forzaven-article-hero img.wp-block-cover__image-background {
    filter: grayscale(8%) contrast(1.05);
}

.forzaven-article-hero .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
}

.forzaven-article-hero__content {
    max-width: 1400px !important;
    margin: 0 auto !important;
    width: 100%;
}

.forzaven-article-hero__category {
    font-family: "Archivo Black", sans-serif !important;
    font-size: 13px !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase;
    margin: 0 0 2rem 0 !important;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.forzaven-article-hero__category::before {
    content: "";
    display: inline-block;
    width: 48px;
    height: 2px;
    background: #FF5A1F;
}

.forzaven-article-hero__category a {
    color: #FF5A1F !important;
    text-decoration: none !important;
}

.forzaven-article-hero__title {
    font-family: "Archivo Black", sans-serif !important;
    font-size: clamp(36px, 6.5vw, 110px) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.025em !important;
    color: #F5F5F5 !important;
    text-transform: uppercase;
    margin: 0 0 2.5rem 0 !important;
    max-width: 1100px;
}

.forzaven-article-hero__date {
    font-family: "Archivo Black", sans-serif !important;
    font-size: 12px !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase;
    color: #737373 !important;
    margin: 0 !important;
}

/* ─── ARTICLE BODY ──────────────────────────────────────────────── */

.forzaven-article-main {
    background: #FAFAFA !important;
    color: #0A0A0A;
}

.forzaven-article-body {
    max-width: none !important;
}

.forzaven-article-content {
    max-width: 720px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 18px;
    line-height: 1.72;
    color: #1a1a1a;
}

.forzaven-article-content > *:first-child {
    margin-top: 0;
}

.forzaven-article-content p {
    margin: 0 0 1.5em;
}

/* Premier paragraphe en dropcap-ish (gros, un peu impactant) */
.forzaven-article-content > p:first-of-type {
    font-size: 22px;
    line-height: 1.55;
    color: #0A0A0A;
    font-weight: 500;
    margin-bottom: 2em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.forzaven-article-content h2 {
    font-family: "Archivo Black", sans-serif;
    font-size: clamp(30px, 4.5vw, 52px);
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 3em 0 1em;
    position: relative;
    padding-left: 3.5rem;
    text-transform: uppercase;
    color: #0A0A0A;
}

.forzaven-article-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.28em;
    width: 36px;
    height: 8px;
    background: #FF5A1F;
}

.forzaven-article-content h3 {
    font-family: "Archivo Black", sans-serif;
    font-size: clamp(22px, 2.6vw, 32px);
    line-height: 1.15;
    margin: 2.5em 0 0.8em;
    color: #0A0A0A;
    letter-spacing: -0.01em;
}

.forzaven-article-content h4 {
    font-family: "Archivo Black", sans-serif;
    font-size: 20px;
    margin: 2em 0 0.6em;
    color: #0A0A0A;
}

.forzaven-article-content a {
    color: #FF5A1F;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: all 0.15s;
}

.forzaven-article-content a:hover {
    background: #FF5A1F;
    color: #0A0A0A;
    text-decoration: none;
    padding: 0 2px;
}

.forzaven-article-content strong {
    color: #0A0A0A;
    font-weight: 700;
    background: linear-gradient(180deg, transparent 62%, rgba(255, 90, 31, 0.22) 62%);
    padding: 0 1px;
}

.forzaven-article-content em {
    font-style: italic;
    color: #555;
}

.forzaven-article-content ul {
    margin: 1.5em 0;
    padding-left: 0;
    list-style: none;
}

.forzaven-article-content ul li {
    position: relative;
    padding-left: 2.2rem;
    margin: 0.7em 0;
    line-height: 1.6;
}

.forzaven-article-content ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: #FF5A1F;
    font-family: "Archivo Black", sans-serif;
    font-size: 1.1em;
    line-height: 1.55;
}

.forzaven-article-content ol {
    margin: 1.5em 0;
    padding-left: 2rem;
}

.forzaven-article-content ol li {
    margin: 0.7em 0;
    line-height: 1.6;
}

.forzaven-article-content ol li::marker {
    color: #FF5A1F;
    font-family: "Archivo Black", sans-serif;
    font-weight: 900;
}

.forzaven-article-content blockquote {
    border-left: 6px solid #FF5A1F;
    padding: 0.2em 0 0.2em 2rem;
    margin: 2.5em 0;
    font-family: "Archivo Black", sans-serif;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.25;
    color: #0A0A0A;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.forzaven-article-content code {
    background: #0A0A0A;
    color: #FF5A1F;
    padding: 0.15em 0.5em;
    font-family: "SF Mono", Menlo, Monaco, monospace;
    font-size: 0.88em;
    border-radius: 2px;
}

.forzaven-article-content hr {
    border: none;
    height: 4px;
    background: #0A0A0A;
    width: 80px;
    margin: 3em 0;
}

/* ─── TAGS BAR ──────────────────────────────────────────────────── */

.forzaven-article-tags {
    background: #FAFAFA !important;
    max-width: none !important;
}

.forzaven-article-tags__list {
    max-width: 720px;
    margin: 0 auto;
    font-family: "Archivo Black", sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #737373;
    padding-top: 3rem;
    border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.forzaven-article-tags__list a {
    color: #737373 !important;
    text-decoration: none !important;
    margin-right: 0.4rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(10, 10, 10, 0.15);
    display: inline-block;
    margin-bottom: 0.5rem;
    transition: all 0.15s;
}

.forzaven-article-tags__list a:hover {
    background: #FF5A1F;
    color: #0A0A0A !important;
    border-color: #FF5A1F;
}

/* ─── RELATED POSTS SECTION ─────────────────────────────────────── */

.forzaven-related {
    background: #0A0A0A !important;
    color: #F5F5F5 !important;
    position: relative;
}

.forzaven-related::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: #FF5A1F;
}

.forzaven-related__title {
    font-family: "Archivo Black", sans-serif !important;
    font-size: clamp(40px, 6vw, 80px) !important;
    text-transform: uppercase;
    line-height: 0.9 !important;
    letter-spacing: -0.025em !important;
    color: #F5F5F5 !important;
    max-width: 1400px;
    margin: 0 auto 3rem !important;
    padding-left: 80px !important;
    position: relative;
}

.forzaven-related__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 12px;
    background: #FF5A1F;
}

.forzaven-related__grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.forzaven-related-card {
    display: flex;
    flex-direction: column;
    background: #141414;
    text-decoration: none !important;
    color: #F5F5F5 !important;
    transition: transform 0.25s ease, background 0.25s ease;
    overflow: hidden;
}

.forzaven-related-card:hover {
    transform: translateY(-4px);
    background: #1a1a1a;
}

.forzaven-related-card__img {
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: #0A0A0A;
    position: relative;
}

.forzaven-related-card__img::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 40%;
    background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.7));
}

.forzaven-related-card__body {
    padding: 2rem 1.8rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.forzaven-related-card__category {
    display: inline-block;
    font-family: "Archivo Black", sans-serif;
    font-size: 11px;
    color: #FF5A1F;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.forzaven-related-card__title {
    font-family: "Archivo Black", sans-serif;
    font-size: 20px;
    line-height: 1.15;
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
    color: #F5F5F5;
}

.forzaven-related-card__cta {
    font-family: "Archivo Black", sans-serif;
    font-size: 11px;
    letter-spacing: 0.25em;
    color: #FF5A1F;
    text-transform: uppercase;
    margin-top: auto;
}

.forzaven-related-card__cta::after {
    content: " →";
}

/* Fallback quand aucun article lié */
.forzaven-related__empty {
    max-width: 720px;
    margin: 0 auto;
    font-family: "Archivo Black", sans-serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #737373;
    text-transform: uppercase;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */

@media (max-width: 1100px) {
    .forzaven-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .forzaven-article-hero {
        min-height: 60vh !important;
    }
    .forzaven-article-content {
        font-size: 17px;
    }
    .forzaven-article-content > p:first-of-type {
        font-size: 19px;
    }
    .forzaven-article-content h2 {
        padding-left: 2.5rem;
    }
    .forzaven-article-content h2::before {
        width: 24px;
        height: 6px;
    }
    .forzaven-related__title {
        padding-left: 50px !important;
    }
    .forzaven-related__title::before {
        width: 36px;
        height: 8px;
    }
    .forzaven-related__grid {
        grid-template-columns: 1fr;
    }
}
