/**
 * =================================================================
 * SINGLE POST TEMPLATE STYLES ( single.php )
 * =================================================================
 */

 /* Start post hero section */
.post-hero-bg {
    position: absolute !important;
    left: 0;
    top: 50%;
    width: 100%;
    height: 100%;
    transform: translateY(-50%);
    z-index: -1; 
}
.post-hero-bg .elementor-shortcode {
    height: 100%;
}
.post-hero-bg img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;  
}
/* End of post hero section */

/* Start post overview list content section */
.post-overview-list :is(span[class*="post-"], .post-icon-list-text) {
    display: flex;
    align-items: center;
}
.post-overview-list span[class*="post-"] :is(.post-icon-list-icon, .post-separator) {
    margin-right: 5px;
}
.post-overview-list span[class*="post-"] i[class*="fa-"] {
    font-size: 1.375rem;
    color: var(--e-global-color-primary);
}
.post-overview-list span[class*="post-"] a {
    display: inline-block;
    white-space: nowrap;
}
/* End of post overview list content section */

.post-author span {
    text-transform: capitalize;
}
:is(.post-author-avatar, .post-featured-img) img {
    box-shadow: 0px 5px 10px 5px rgba(0, 0, 0, 0.05) !important;
}
.post-featured-img img {
    border-radius: 12px !important;
}
.post-author-avatar img {
    border-radius: 50% !important;
}
.post-author-bio p {
    margin: 0;
}
#post-section::before {
    content: '';
    background-color: transparent;
    background-image: linear-gradient(180deg, var( --e-global-color-cf9ee4e ) 0%, var(--e-global-color-secondary) 60%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35%;
}
#post-content :is(h2,h3,h4,h5,p) {
    margin-top: 0;
    margin-bottom: 25px;
}

#post-content h2.wp-block-heading {
    font-size: 2.25rem;
    line-height: 3rem;
}
#post-content h3.wp-block-heading {
    font-size: 1.375rem;
    line-height: 2rem;
}
.post-navigation {
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}
.archive-post-card {
    background-color: rgb(100 100 100 / 20%);
    padding: 15px;
    border-radius: 12px;
    overflow: hidden;
}
.archive-posts-grid > article:not(:last-child) {
    margin-bottom: 25px;
}
.archive-post-content {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}
.archive-post-thumbnail, .archive-post-category-badge {
    display: none;
}
.archive-post-category-badge {
    margin-bottom: 8px;
}
:is(.archive-post-category-badge,.post-category-badge) a {
    background-color: #11111180;
    background-image: url(http://ec-precision-shine-auto-detail.local/wp-content/uploads/2026/02/lines.png);
    background-repeat: repeat;
    padding: 5px 10px;
    font-size: 0.875rem !important;
    line-height: 1.4 !important;
    border-radius: 6px;
    white-space: nowrap;
}

.post-category-badge {
    display: flex;
}
.post-category-badge .post-icon-list-icon {
    align-items: center;
}
.post-category-badge :is(.post-category-label, .post-icon-list-text a:not(:last-child)) {
    margin-right: 5px;
}
.archive-post-title h2 {
    margin: 0px 0px 5px;
    font-size: 1.5rem !important;
    line-height: 1 !important;
}
.archive-post-title h2 :is(a,a:hover) {
    font-size: inherit;
}
.archive-post-meta {
    display: flex;
    font-size: 0.875rem;
    line-height: 1.2;
    gap: 10px;
    color: var(--e-global-color-37bb053);
}
.archive-post-meta span i[class*="fa-"] {
    margin-right: 3px;
}
.archive-post-excerpt p {
    margin: 0;
}
.archive-post-footer {
    text-align: right;
}
.archive-post-footer :is(a,a:hover) {
    padding: 5px 10px;
    text-transform: initial;
    font-size: 0.875rem !important;
    letter-spacing: 0.025rem;
    border: none;
}
/* Responsive adjustments */
@media (max-width: 1024px) {
    #post-content h2.wp-block-heading {
        font-size: 2rem;
        line-height: 2.75rem;
    }
    #post-content h3.wp-block-heading {
        font-size: 1.375rem;
        line-height: 2rem;
    }    
}
@media (max-width: 767px) {
    #post-content h2.wp-block-heading {
        font-size: 1.8rem;
        line-height: 2.25rem;
    }
    #post-content h3.wp-block-heading {
        font-size: 1.25rem;
        line-height: 1.6rem;
}    
}