/* ==========================================================================
   Single Post Styles  |  landafrique
   ========================================================================== */

/* ==========================================================================
   1. HERO — split layout
   ========================================================================== */
   
/*body {*/
/*    background: #ffffff !important;*/
/*}*/

.single-blog-container {
     background: #ffffff !important;
}

.la-single__hero {
    min-height: 100vh;
    position: relative;
}

/* Left panel */
.la-single__hero-left {
    width: 100%;
    padding: 6rem 1.5rem 4rem;
}

@media (min-width: 992px) {
    .la-single__hero-left {
        /*width: 50%;*/
        padding: 8rem 4rem 6rem;
    }
}

.la-single__hero-body {
    max-width: 480px;
}

/* Go back link */
.la-single__goback {
    margin-bottom: 3rem;
}

.la-single__goback-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s;
}

.la-single__goback-link:hover {
    color: #2563eb;
}

.la-single__goback-arrow {
    font-size: 1rem;
}

/* Author row in hero */
.la-single__author-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.la-single__avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.la-single__author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.la-single__author-name:hover {
    color: #2563eb;
}

/* Title + excerpt */
.la-single__title {
    font-size: clamp(1.75rem, 4vw, 1.85rem);
    font-weight: 700;
    color: #C77B38;
    line-height: 1.45;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.la-single__excerpt {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.7;
    margin: 0;
}

/* Right panel: featured image */
.la-single__hero-image {
    width: 100%;
    min-height: 320px;
    overflow: hidden;
}

@media (min-width: 992px) {
    .la-single__hero-image {
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        min-height: unset;
    }
}

.la-single__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ==========================================================================
   2. CONTENT — centered narrow column
   ========================================================================== */

.la-single__content-wrap {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.la-single__content-inner {
    max-width: 700px;
    margin: 0 auto;
}

.la-single__date-row {
    margin-bottom: 2rem;
}

.la-single__date {
    font-size: 0.875rem;
    color: #6c757d;
    letter-spacing: 0.01em;
}

/* Body typography — mirrors screenshot */
.la-single__body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #4a4a4a;
}

.la-single__body p {
    margin-bottom: 1.5rem;
}

.la-single__body h2,
.la-single__body h3,
.la-single__body h4 {
    font-weight: 700;
    color: #111;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.la-single__body h2 { font-size: 1.5rem; }
.la-single__body h3 { font-size: 1.25rem; }
.la-single__body h4 { font-size: 1.1rem; }

.la-single__body a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.la-single__body a:hover {
    color: #1d4ed8;
}

.la-single__body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: block;
}

.la-single__body blockquote {
    border-left: 3px solid #2563eb;
    padding-left: 1.5rem;
    margin-left: 0;
    color: #555;
    font-style: italic;
}

.la-single__page-links {
    margin-top: 2rem;
}


/* ==========================================================================
   3. AUTHOR BIO — below content
   ========================================================================== */

.la-single__author-bio-wrap {
    padding-bottom: 3rem;
}

.la-single__author-bio-inner {
    max-width: 700px;
    margin: 0 auto;
}

.la-single__divider {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin-bottom: 2rem;
}

.la-single__author-bio {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.la-single__bio-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.la-single__bio-name {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #111;
    text-decoration: none;
    margin-bottom: 0.35rem;
}

.la-single__bio-name:hover {
    color: #2563eb;
}

.la-single__bio-text {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.65;
    margin: 0;
}


/* ==========================================================================
   4. RELATED ARTICLES
   ========================================================================== */

.la-related {
    background: #f8fafb;
    padding: 5rem 0 6rem;
}

.la-related__heading {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

.la-related__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .la-related__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.la-related__card {
    background: transparent;
}

.la-related__thumb-link {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.25rem;
}

.la-related__thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.la-related__card:hover .la-related__thumb {
    transform: scale(1.04);
}

.la-related__card-body {
    padding: 0;
}

.la-related__date {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

.la-related__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #111;
}

.la-related__title a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size 0.28s ease;
}

.la-related__title a:hover {
    background-size: 100% 1px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .la-single__hero {
        min-height: unset;
    }

    .la-single__hero-image {
        height: 280px;
    }
}

@media (max-width: 575px) {
    .la-single__hero-left {
        padding: 4rem 1rem 2.5rem;
    }

    .la-single__content-wrap,
    .la-single__author-bio-wrap {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}