/* ---------------------------
   SINGLE POST BANNER
----------------------------*/
.single-banner {
    position: relative;
    padding: 300px 24px;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    border-bottom: 4px solid var(--e-global-color-text);
}

/* .single-banner-overlay {
    position: absolute;
    opacity: 0.3;
    inset: 0;
    background: var( --e-global-color-accent ); 
} */

.single-banner-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.single-banner-content h1 {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: var(--e-global-typography-primary-font-size);
    font-weight: var(--e-global-typography-primary-font-weight);
    line-height: var(--e-global-typography-primary-line-height);
    color: var(--e-global-color-text);
    margin: 0;

}

/* ---------------------------
   CONTENT AREA
----------------------------*/
.single-content-area {
    padding: 60px 0;
    background: #FDFDFE;
}

.post-content {
    margin: 0 auto 40px auto;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    line-height: var(--e-global-typography-text-line-height);
    color: var(--e-global-color-text);
    max-width: 800px;
    padding: 0 24px;
}
.post-content p{
    margin: 0 auto 40px auto;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    line-height: var(--e-global-typography-text-line-height);
}
.post-content li{
    margin: 0 auto 40px auto;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    line-height: var(--e-global-typography-text-line-height);
}

/* ---------------------------
   SOCIAL SHARE
----------------------------*/
.post-share h3 {
    color: var(--e-global-color-text);
    margin-bottom: 15px;
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    font-size: var(--e-global-typography-secondary-font-size);
    font-weight: var(--e-global-typography-secondary-font-weight);
    line-height: var(--e-global-typography-secondary-line-height);
    text-align: center;
    padding: 0 24px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.share img{
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 10px;
}
.share {
    border-radius: 6px;
    height: 48px;
    width: 48px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    display: flex;
}

.share.fb { background: #214B9C; }
.share.wa { background: #25D366; }
.share.li { background: #0A66C2; }
.share.x { background: #000000; }

/* Hover */
.share:hover {
    opacity: 0.85;
}

/* ---------------------------
   RELATED POSTS
----------------------------*/
.related-section {
    padding: 60px 24px;
}

.related-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    font-size: var(--e-global-typography-secondary-font-size);
    font-weight: var(--e-global-typography-secondary-font-weight);
    line-height: var(--e-global-typography-secondary-line-height);
    color: var(--e-global-color-text);
}

.related-grid {
    display: flex;
    gap: 24px;
    max-width: 1320px;
    margin: 0 auto;
    justify-content: center;
}

.related-item {
    flex: 1;
    background: var( --e-global-color-8ff7b62 );
    border: 1px solid var(--e-global-color-text);
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 26px;
    transition: 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(33, 75, 156, 0.15);
}

.related-thumb {
    height: 350px;
    background-size: cover;
    background-position: center;
}

.related-item h3 {
    font-size: 16px;
    line-height: 24px;
    color: var(--e-global-color-text);
    font-family: "gordita", Sans-serif;
    padding: 24px 24px 16px;
    margin: 0;
} 

.related-item p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--e-global-color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 24px;
    height: 42px;
}

.read-more-btn:hover {
    color: var(--e-global-color-text);
}
.read-more-btn {
    font-size: 16px;
    line-height: 20px;
    color: var(--e-global-color-text);
    font-family: "gordita", Sans-serif;
    font-weight: 400;
    background: transparent;
    padding: 6px 3px;
    margin-left: 24px;
    width: fit-content;
    text-decoration: none !important;
    border-bottom: 1px solid var(--e-global-color-text);
    transition: all 0.3 ease;
}



@media(max-width: 768px){
    .related-grid{
        flex-direction: column;
    }
    .related-section{
        padding: 48px 24px;
    }
    .single-banner{
        padding: 200px 24px;
    }
    .related-thumb{
        height: 250px;
    }
}
