/*
Theme Name:     Foxiz
Theme URI:      https://foxiz.themeruby.com
Author:         Theme-Ruby
Author URI:     https://themeforest.net/user/theme-ruby/
Description:    Foxiz - WordPress Newspaper News and Magazine Theme
Requires at least: 6.0
Requires PHP:   7.4
Text Domain:    foxiz
Version:        2.6.5
Tags:           custom-background, custom-menu, featured-images, theme-options, custom-colors, translation-ready, threaded-comments, translation-ready
License:        Themeforest Licence
License URI:    https://themeforest.net/licenses/standard
*/

/* --------------------------------------------------------------------------
 * Restored single-post sidebar — polished layout
 * -------------------------------------------------------------------------- */
.foxiz-restored-about,
.foxiz-restored-categories,
.foxiz-restored-tags,
.foxiz-restored-author {
    margin-bottom: 32px;
}

.foxiz-restored-panel {
    background: var(--sub-color, #f7f8f9);
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 12px;
    padding: 22px;
}

.foxiz-restored-widget-body p,
.foxiz-restored-author-copy p {
    margin: 10px 0 0;
    color: #60646b;
    font-size: 14px;
    line-height: 1.72;
}

/* About */
.foxiz-restored-widget-body {
    text-align: center;
}
.foxiz-restored-logo {
    display: flex;
    justify-content: center;
    margin: 0 0 18px;
}
.foxiz-restored-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 118px;
    height: 118px;
    padding: 18px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}
.foxiz-restored-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.foxiz-restored-site-name {
    color: #1d1f23;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.3;
    text-align: center;
}
.foxiz-restored-widget-body p {
    max-width: 270px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Categories */
.foxiz-restored-category-panel {
    padding: 8px 20px;
}
.foxiz-restored-list,
.foxiz-restored-list .children {
    list-style: none;
    margin: 0;
    padding: 0;
}
.foxiz-restored-list li {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}
.foxiz-restored-list > li + li {
    border-top: 1px solid rgba(0, 0, 0, .07);
}
.foxiz-restored-list li > a {
    display: block;
    padding: 12px 40px 12px 0;
    color: #26292e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}
.foxiz-restored-list li > a:hover {
    color: var(--g-color, #2b8aa6);
    transform: translateX(2px);
}
.foxiz-restored-count {
    position: absolute;
    top: 9px;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    color: #565b62;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
.foxiz-restored-list .children {
    margin: 0 0 8px 12px;
    padding: 0 0 0 14px;
    border-left: 2px solid rgba(43, 138, 166, .14);
}
.foxiz-restored-list .children li > a {
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 12.5px;
    font-weight: 500;
}
.foxiz-restored-list .children .foxiz-restored-count {
    top: 6px;
}

/* Tags */
.foxiz-restored-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.foxiz-restored-tag-cloud a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 11px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 999px;
    background: #fff;
    color: #4d5258;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.1;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.foxiz-restored-tag-cloud a:hover {
    transform: translateY(-1px);
    border-color: currentColor;
    color: var(--g-color, #2b8aa6);
}

/* Author */
.foxiz-restored-author-card {
    display: block;
}
.foxiz-restored-author-head {
    display: flex;
    align-items: center;
    gap: 14px;
}
.foxiz-restored-avatar {
    flex: 0 0 66px;
}
.foxiz-restored-avatar img {
    display: block;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .10);
}
.foxiz-restored-author-meta {
    min-width: 0;
}
.foxiz-restored-author-label {
    display: block;
    margin-bottom: 4px;
    color: #8a8e94;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}
.foxiz-restored-author-name {
    display: inline-block;
    color: #1d1f23;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.3;
    text-decoration: none;
}
.foxiz-restored-author-copy {
    min-width: 0;
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, .07);
}
.foxiz-restored-author-copy p {
    margin-top: 0;
}
.foxiz-restored-author-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    color: #26292e;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.foxiz-restored-author-link:hover {
    color: var(--g-color, #2b8aa6);
}

@media (max-width: 767px) {
    .foxiz-restored-about,
    .foxiz-restored-categories,
    .foxiz-restored-tags,
    .foxiz-restored-author {
        margin-bottom: 26px;
    }
    .foxiz-restored-panel {
        padding: 18px;
    }
    .foxiz-restored-category-panel {
        padding: 6px 16px;
    }
    .foxiz-restored-logo .custom-logo-link {
        width: 108px;
        height: 108px;
        padding: 16px;
    }
}
