/* ============================================================
   Footer Section
   ============================================================ */
.footer-text {
    text-align: center;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.4;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-link:hover {
    color: var(--primary);
}

.footer-icon {
    width: 16px;
    height: 16px;
    display: block;
}

/* ============================================================
   Social / Like Area - Shared Button Styles
   ============================================================ */

/* Common button style for all action buttons */
.btn-action {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 13px;
    transition: border-color var(--transition), box-shadow var(--transition), color var(--transition);
    cursor: pointer;
}

.btn-action:hover {
    color: #fff;
    border-color: currentColor;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

/* Social action bar */
#social {
    margin: 0 0 16px;
}

#social .social-main {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 6px 10px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    min-height: auto;
}

#social .social-main .clear {
    display: none;
}

#social .like a {
    gap: 4px;
    padding: 4px 8px;
    font-size: 12px;
}

#social .like a:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 150, 136, .25);
}

#social .like .fa {
    font-size: 12px;
}

#social .like .count {
    font-weight: 600;
}

#social .views {
    float: right !important;
    line-height: 32px !important;
    color: #999 !important;
    font-size: 12px !important;
}

/* ============================================================
   Related / Widget Post Lists
   ============================================================ */
#single-widget {
    margin-bottom: 14px;
}

#single-widget h3 {
    margin: 14px 0 0 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

#single-widget .widget {
    float: left;
    width: 50%;
    margin-right: -1px;
}

#single-widget .widget ul {
    margin: 0 5px 5px;
}

@media screen and (max-width: 640px) {
    #single-widget .widget {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Social bar horizontal scroll on mobile */
@media screen and (max-width: 480px) {
    #social .social-main {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 8px 12px;
        gap: 8px;
    }
    
    #social .social-main > * {
        flex-shrink: 0;
    }
    
    #social .social-main .views {
        float: none !important;
        line-height: normal !important;
        font-size: 12px !important;
    }
    
    #social .social-main .clear {
        display: none;
    }
}

